XCODE5 Modify the project name:
Target: Change the project name XCD4 to XCD5.
First, the result graph: = = "
1. Click on the project name two times in the navigation area on the left, two times the time interval is slightly longer, the project name will become editable state.
after changing the name to XCD5, press ENTER to pop up a dialog box, this time rest assured that the click Rename is good, in the subsequent Popup dialog box click Enable, OK, the first step is completed .
2. Click Product==>scheme==>manage Schemes to modify the schemes property of the project in the window that appears.
also double-click XCD4, two times the interval is slightly longer, to be activated after the change name is XCD5, after the modification, click on the blank Space and then click OK to confirm .
After the modification succeeds, it looks like this:
3. Right-Fame the XCD4 filegroup in the navigation area, check the show in Finder, and modify XCD4 to XCD5 in the popup finder.
Back to the Xcode interface, XCD4 the following files into red, so check the XCD4 filegroup, modify his Name property in the inspector to XCD5, then click on a small folder image under Location, Select the folder that you just modified to XCD5 under Finder. The red text disappears.
4. Modify the xcd4tests to xcd5tests in the same way. Select the xcd4tests.m file under the Xcd5tests filegroup, and on the @interface line, select the Xcd4tests right-click Refactor==>rename.
If the popup box says that the xcd4tests.m file cannot be found, turn off the project and turn it back on.
Then click Preview and save again.
By the way, modify the Name property under XCD4TESTS.M and change it to XCD5TESTS.M.
5. Run the project with prompt error and cannot find the prefix.pch file.
Click on the item, then click Building Settings, modify the Prefix header path and change xcd4/xcd5-prefix.pch to xcd5/xcd5-prefix.pch.
6. Compile again, prompt error, said to find Info.plist file, click Building settings==>packaging, modify info.plist file path, will xcd4/ Xcd5-info.plist modified into xcd5/xcd5-info.plist.
Compile again, test pass, and you are done.
Turn from:http://www.cnblogs.com/tbfirstone/p/3601541.html.
IOS: Modifying project names