I am about to submit an app to the Mac App Store, however the name of my application conflicts with another application in their system. So I picked another name and I tried to change the name of my application by going into the build settings under the "Packaging" section and "Product Name" row. I cleaned all targets and rebuilt the application, but the name displayed in the menu bar and bundle was the old name.
What I am missing? How do I change the name of an application without having to recreate another project?
Thanks a bunch.
Make sure you are editing the Product Name of the target not the Project. So the menu Project->Edit Active Target "targetname"
not Project->Edit Project Settings
. Or right-click on the target in the group list and choose Get Info
.
Note that you will have to edit MainMenu.xib to show the correct app name in the About, Quit, and Help menu items.
来源:https://stackoverflow.com/questions/4420115/how-to-change-the-name-of-a-mac-application-in-the-build-settings