In new versions of Xcode, to change the name of the project follow these 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.
Another, very similar version of the above, by an excellent programmer. Responsible for Swift Radio . can be found here.