在Xcode中更改了项目名称,导致命名错误 [英] Changed project name in Xcode causing naming error
问题描述
我的旧名称包含类似于此的驼峰案类型名称
My old name consisted of a camel case type name similar to this
MyApp
然后我将其更改为
Myapp '注意A现在是非上限'
Myapp 'notice the A is now non-caps'
我通过在导航器菜单中单击 MyApp
名称并更改它来更改此项,然后出现了一个帮助框,要求我进行系统范围的更改我单击是!
I changed this by clicking MyApp
name in the navigator menu and changing it, up came a help box asking me to do system wide changes I clicked YES!
但是现在当我构建这个应用程序时,它说我的应用程序的名称是:
but now when I build this application its saying the name of my app is:
Myapp-temp-casesensitive-rename
我现在想知道如何摆脱-temp-caseinsensitive-rename部分?
I am now wondering how do I get rid of the -temp-caseinsensitive-rename portion?
推荐答案
检查构建设置中的产品名称,确保它是Myapp的所有位置。如果这样做,
Check the product name in build settings and make sure everywhere it is Myapp. If that is done,
- 关闭你的项目 - >转到查找器。
- 右键单击您的.xcodeproject文件并单击show package
contents。 - 然后右键单击您的project.pbxproj并在某个文本
编辑器中打开它。 - 然后搜索Myapp-temp-caseinsensitive-rename并手动重命名
it。 - 更改后保存,然后重新打开项目。
- Close your project -> go to finder.
- Right click on your .xcodeproject file and click on show package contents.
- Then right click on your project.pbxproj and open it in some text editor.
- Then search for Myapp-temp-caseinsensitive-rename and manually rename it.
- Save it after changing and then reopen the project.
确保在执行此操作之前已备份项目。
Make sure you have taken a back up of your project before doing this.
这篇关于在Xcode中更改了项目名称,导致命名错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!