I began an iPhone project the other day with a silly development code name, and now I want to change the name of the project since it's nearly finished.
But I'm not sure how to do this with Xcode, trying the obvious of changing the application's name in the info.plist file, causes the signing process to go wrong (I think...) and my app won't launch giving me a Launcher error.
I guess I could make a new project and copy paste everything over, but it seems so primitive that I'm hoping for a more civilized solution.
In Target>Build Setting>Product name field you can edit that field here.
You can modify the
Product Name
without changing yourProject Name
(especially the directory).Build Settings > search the keyword "product name" > update values
Project Navigator>General>Display Name
In new versions of Xcode (Xcode 5 too) to change the name of the project follow this simple (detailed as possible) steps:
Note: In this example I'll change a hypothetical "Sample" name to a "Test" one.
Click twice slowly on the project root in the project navigator and then it becomes editable.
Rename the project.
After pressing 'ENTER' the assistant will suggest you to automatically change all project-name-related entries and will allow you to de-select some of them, if you want.
Press 'RENAME' and Xcode will do the rest. In the meanwhile Xcode may ask you about the option of making a snapshot of the project (it is very recommendable to do so).
In addition to renaming the project, you may want to rename the scheme so that it matches your new project name.
Repeat similar steps like 1 and 2, and press OK.
That's it.
Another scenario ... The previous explanation was related to changing the project name, but chances are that you only need to change the display name that appears below the app icon in the home screen. These are the steps:
In the "Supporting Files" group locate the info.plist (or related) file
Locate the "Bundle display name" key and change the value to the new name.
Delete the "old" app from the simulator or any other testing device.
Clean and Rebuild your app again.
That's it, you will now see the new app name in your home screen.
In Xcode 3.2 just select the Project entry in the Groups & Files panel, then select the menu item Project -> Rename… Worked for me.
Its very easy to change in XCode 8, enter the app name in the "Display Name" field in Project Target -> General Identity section.