How to properly rename XCode 6 product name and bundles

本秂侑毒 提交于 2019-12-24 02:09:51

问题


I usually do not know the final name of the app I am building, so I start by creating an Xcode 6 project with a internal name - like "Hercules" or something.

Now that I am ready to distribute to the app store I need to rename my project and the two targets (iOS, Mac) bundle name and identifiers.

While I managed to do this, I have a project that cannot run, build, or anything (everything is grayed out).

What is the proper way to do I need?


回答1:


There probably is no "best" answer as each team will want to handle the situation differently. You can either fix the build problems caused by changing the names (in which case you have your solution) or revert back to a buildable version of your project under the codename and change the "bundle display name" in the info.plist for the targets.




回答2:


You can also "manage" your build schemes and rename the scheme there which will change the name in other places in Xcode.



来源:https://stackoverflow.com/questions/28815298/how-to-properly-rename-xcode-6-product-name-and-bundles

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!