So you started your app with some silly name and it actually grew into a good project. Now how should we change this name into something more meaningful without Xcode going bonkers over some weird compiler error? Luckily, Xcode has a provision for that. Using Xcode 4.x, we can just do a simple thing and make the whole thing work like a charm. Before doing anything, you have to decide if you just want to change the name as it appears on the iPhone screen or if you really want to change the entire naming structure. If you just want to change the name as it appears to a user, you can change the name of your bundle and you will be all set!
To just change the display name, do the following:
- Expand the “Supporting Files” directory in your Navigator Bar
- Select the “YourAppName-info.plist” file
- You will see an option called “Bundle Display Name”. Just double click on default “${PRODUCT_NAME}” and name it whatever you want.
- Run the app on the emulator or your device, and you will see the new name.
Now if you really want to change the naming structure, simply double click (slowly) on your project name in the Navigator Bar. When you change the name of your project, Xcode will ask you to confirm which files to change (it will usually be all of the ones necessary). Just confirm it and you will be good to go.
————————————————————————————————-