XCode 4.2 重命名目标
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8681562/
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
XCode 4.2 Rename Target
提问by craig1231
I am trying to create a LITE version of my iPhone app by using different targets. So I have duplicated the release target 'Checklists' and it will name it 'Checklists copy'. I have managed to change the name of the actual .app that is created but not the target name. Any ideas?
我正在尝试使用不同的目标来创建我的 iPhone 应用程序的 LITE 版本。所以我复制了发布目标“清单”,并将其命名为“清单副本”。我设法更改了创建的实际 .app 的名称,但没有更改目标名称。有任何想法吗?
回答by Michael Merickel
So the .app is named via the product name. The target name is an identifier for the build settings, which are actually built using a scheme. The name you see when selecting what to build is a scheme, and you can rename those by clicking on the bar and going to "manage schemes".
所以 .app 是通过产品名称命名的。目标名称是构建设置的标识符,这些设置实际上是使用方案构建的。您在选择要构建的内容时看到的名称是一个方案,您可以通过单击栏并转到“管理方案”来重命名这些名称。
To rename the target you just click on the name and it will turn into an edit box.
要重命名目标,只需单击名称,它就会变成一个编辑框。