Renaming Project in Xcode the Simple Way
Monday, February 15, 2010 at 10:43AM
Ten simple steps to renaming your Xcode project in Xcode 3.2.1 without mucking with your xcodeproj file.
1) Projects->Rename

2) With the project renamed, now rename your AppDelegate using Refactor. Go into your AppDelegate class, place your cursor in the class name, and right click to select Refactor. Enter the new class name in the Refactor dialog box.

3) Now we are left with a few things to rename: your app name, info.plist file and your precompiled header (.pch). For your pch file, you can simply rename it directly in Xcode.
4) Next, go to Targets. Go ahead and change your target name to your new app name.
5) After that, right click on your select Get info.

6) Update your precompile header file in build settings.

7) Update your info.plist in build settings.

8) Go to Build -> Clean All Targets.
9) Build your project.
10) (Optional) Don't forget to change your bundle identifier in your info.plist as appropriate.
Boon Chew |
2 Comments |
Reader Comments (2)
I don't have the "Rename..." option in Xcode 3.1.4. What version are you using?
@Sean, I am using v3.2.1 on Snow Leopard.