前几天我用一个愚蠢的开发代码开始了一个iPhone项目,现在我想改变这个项目的名称,因为它快要完成了。我该怎么做呢?


当前回答

项目导航器→常规→显示名称

其他回答

选择目标 选择信息 插入Bundle Display Name并设置App Title

在目标→构建设置→产品名称字段中,您可以在这里编辑该字段。

下面的链接适用于Xcode 6,特别是当你在尝试重命名项目后出现错误时。基本上,你只需要为你的应用构建一个新方案。

https://stackoverflow.com/a/27572164/4114835

为了把所有相关信息集中在一个地方,这里是这个问题的官方答案——这是唯一一个在Xcode 5.1.1上对我有效的答案

只需使用Xcode中的标识和类型面板。

如果您需要在iPhone主屏幕上更改应用程序的名称,则需要在Target配置中进行,而不是在项目配置中进行。

Expand the Targets group in Xcode, and then single-click the item under that. It should share the name of your project, which is also the default name of the application that gets generated. Press Command + I to bring up the Info window, and then navigate to the Build tag. Set the Configuration drop-down to read All Configurations. Look for a setting called Product Name under the Packaging heading. Change that value to the name you want for your compiled applications and, in the immortal words of Bugs Bunny: Voilà! Do a clean and a build. Your application will take on the new name.