前几天我用一个愚蠢的开发代码开始了一个iPhone项目,现在我想改变这个项目的名称,因为它快要完成了。我该怎么做呢?
当前回答
在Xcode 4中点击项目名称开始重命名。
其他回答
最简单的方法:选择TARGET名称,双击它,然后重命名。
你将在设备或模拟器的图标下方看到应用程序的新名称。
在Xcode 4中,在目标的“Build Settings”标签下搜索“Product Name”。
在Xcode 8中很容易改变。在Project Target→General Identity部分的“Display name”字段中输入应用程序名称。
在新版本的Xcode (Xcode 5也是)中,要更改项目名称,请遵循以下简单(尽可能详细)的步骤:
注意:在这个例子中,我将把一个假设的“样本”名称改为“测试”名称。
Click twice slowly on the project root in the project navigator and then it becomes editable. Rename the project. After pressing Enter the assistant will suggest you to automatically change all project-name-related entries and will allow you to de-select some of them, if you want. Press 'RENAME' and Xcode will do the rest. In the meanwhile Xcode may ask you about the option of making a snapshot of the project (it is very recommendable to do so). In addition to renaming the project, you may want to rename the scheme so that it matches your new project name. Repeat similar steps like 1 and 2, and press OK. That's it.
另一个场景…
前面的解释与更改项目名称有关,但您可能只需要更改主屏幕应用程序图标下方的显示名称。以下是步骤:
在“支持文件”组中找到信息。Plist(或相关)文件 找到“Bundle display name”键并将值更改为新名称。 从模拟器或任何其他测试设备中删除“旧”应用程序。 再次清理并重新构建应用程序。 就是这样。现在你将在主屏幕上看到新的应用程序名称。
在目标→构建设置→产品名称字段中,您可以在这里编辑该字段。
推荐文章
- Xcode 4挂在“附加到(应用程序名称)”
- 为什么单元测试中的代码不能找到包资源?
- CFNetwork SSLHandshake iOS 9失败
- 请求失败:不可接受的内容类型:文本/html使用AFNetworking 2.0
- 缺少推荐的图标文件-该包不包含iPhone / iPod Touch的应用程序图标,像素为“120x120”,png格式
- 以编程方式创建segue
- Xcode 10的对象库去哪了?
- Xcode 10的UI元素在哪里?
- Xcode构建失败“架构x86_64未定义的符号”
- 如何使用Xcode创建。ipa文件?
- 我可以在没有“构建和运行”的情况下启动iPhone模拟器吗?
- 动态改变UILabel的字体大小
- Xcode 4 -在新的Macintosh安装上的配置文件上“没有找到有效的签名标识”错误
- Xcode +删除所有断点
- 在iPhone上确定用户是否启用了推送通知