Renaming a project in Xcode 3.x
This seems like it ought to be a simple process provided by Xcode but it is not. Here is how to do it.
1. Copy and rename the project folder
2. Inside the new project folder rename the files ending in .pch and .xcodeproj
3. Right click on .xcodeproj file (it is actually a folder) and select show contents. In the contents folder there should be a file ending in .pbxproj. Open This file in you favorite editor and replace all instances of the old project name with the new project name.
4. Delete the build folder
5. Open the Renamed Xcode project and right click (Control click) on the Target from the groups and files list. Select Info to open the properties panel.
6. Click on the build tab the select packaging from the collection pop up menu
7. Change the value in the product name build setting to the new name.
8. Do Build Clean all Targets.
Changing the executable name
1. Open the Xcode project and right click (Control click) on the Target from the groups and files list. Select Info to open the properties panel.
2. Click on the build tab the select packaging from the collection pop up menu
3. Change the value in the product name build setting to the new name.
4. Do Build Clean all Targets.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.