Don't change the project name. You should be able to without crashing, but the fact that you cannot do so does not matter. You don't need to change it, so don't. Leave the project name alone; it has nothing to do with anything the user ever sees. You want to change the name of the app, which is a completely different thing.
- The name of the app, as shown below the icon on the device, is the
CFBundleDisplayName
setting (Bundle Display Name) in the Info.plist. That's all you need to change (you might need to create it). - The name of the app that users will see in the App Store is different yet again; that is something you will set manually in your browser at iTunes Connect when you submit the app.
I've used shell commands to rename projects a few times, and it worked better than renaming from Xcode itself. Here are the steps (given we want to rename
warnings_test => BestAppEver ) (you may need to install a few extra tools with brew install rename ack ):
Done! All your targets, schemes, files, mentions in comments, identifiers, names, etc. have been renamed. If you
git add . and git status , you should see a lot of renamed: entries (just another sanity check). |
No comments:
Post a Comment