xcode 只需更改 iPhone 应用程序的应用程序可执行文件的名称
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/962607/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Just change the name of the app executable for an iPhone app
提问by Corey Floyd
I have an iPhone app where I will be using it as a template for several apps. I want to change the name of the executable for each individual app (Not the app display name on the phone).
我有一个 iPhone 应用程序,我将把它用作多个应用程序的模板。我想为每个单独的应用程序更改可执行文件的名称(不是手机上的应用程序显示名称)。
I see in the target build settings where I can change the key "Product Name" to the new executable name I want.
我在目标构建设置中看到,我可以将密钥“产品名称”更改为我想要的新可执行文件名称。
Is there anything else I need to change?
还有什么我需要改变的吗?
It seems to compile, just want to make sure I don't get any problems when signing the distribution build or anything else.
它似乎可以编译,只是想确保我在签署发行版或其他任何内容时不会遇到任何问题。
Thanks
谢谢
采纳答案by Corey Floyd
Since Snow Leopard, Xcode now provides a "Project > Rename…" menu item that will rename all aspects of a project, including the executable name.
从 Snow Leopard 开始,Xcode 现在提供了“项目 > 重命名...”菜单项,该菜单项将重命名项目的所有方面,包括可执行文件名称。
回答by Valeriy Van
For xcode 4: [Your target] -> [Build settings] -> [Product name]
对于 xcode 4:[您的目标] -> [构建设置] -> [产品名称]
回答by Chris Suter
You might want to read this, which is vaguely related to what you're asking:
您可能想阅读此内容,它与您要问的内容隐约相关:
http://arustisha.wordpress.com/2009/03/08/on-the-renaming-of-xcode-projects/
http://arustisha.wordpress.com/2009/03/08/on-the-renaming-of-xcode-projects/
回答by Rog
Prior to Xcode 4: If you have set your product name in the info.plist file you should change it there. You will obviously need to generate a new code signing certificate for all of your build targets that you want to run on the phone itself.
在 Xcode 4 之前:如果您在 info.plist 文件中设置了您的产品名称,您应该在那里更改它。显然,您需要为要在手机上运行的所有构建目标生成新的代码签名证书。