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.
From Xcode 4.2 and onwards, you can use one more option. Just click once on .proj file name at the top in left navigation pane and it will be available for renaming.Rename it and the whole project will get renamed and not only the target.
Hope this helps
A note on the bundle display name -- this is the right way to change the name in your app menu, but you'll likely have to reset content and settings in your iOS simulator before you see the change actually take effect.
There are
Product name
($(PRODUCT_NAME)
): defaults toTarget name
. This is useful forscheme
to select the right targetBundle display name
(CFBundleDisplayName
): defaults toProduct name
. This is what is displayed to your iOS userTargets
inXcode
Get Info
on your project's target (your current development name)Product Name
underPackaging
. Change the value of what you want the your new project name to be.This is how I changed in Xcode 4:
If you want to change display name only then you can directly change from property file(plist) of app.
You can add a new row with the following key : bundle display name
Here is an example for this
When you use this the app name which you have given with this key will be display.
So you can do this simply.