前几天我用一个愚蠢的开发代码开始了一个iPhone项目,现在我想改变这个项目的名称,因为它快要完成了。我该怎么做呢?
当前回答
在Xcode 4或更高版本中,仅更改应用程序名称(将与应用程序图标一起显示):
在“组和文件”面板中单击项目文件图标,选择“目标”→“生成设置”→“包装”→“产品名称”。单击该行。快闪店会来的。在这里输入您的新应用程序名称。
在Xcode 4或更高版本中,仅更改项目名称(将与项目图标一起显示):
在Groups & Files面板中点击你的项目文件图标,从右边面板中选择project(在目标上面)。看看最右边的窗格(只有启用了“隐藏或显示实用程序”,它才可见)。查找项目名称。将其编辑为您想要赋予项目的新名称。
从模拟器/设备中删除应用程序,清理并运行。变化应该反映。
就是这样。
其他回答
如果您需要在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.
在Xcode中打开目标。 在项目的目标(您当前的开发名称)上构建设置。 在包装下搜索产品名称。将其值更改为您想要的新项目名称。
在Xcode 4中,在目标的“Build Settings”标签下搜索“Product Name”。
在Xcode 4中点击项目名称开始重命名。
在Xcode 3.2中,只需要在Groups & Files面板中选择Project条目,然后选择菜单项Project→Rename…
推荐文章
- 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上确定用户是否启用了推送通知