Changed project name in Xcode causing naming error

后端 未结 6 2207
遇见更好的自我
遇见更好的自我 2020-11-30 02:15

My old name consisted of a camel case type name similar to this

MyApp

I then changed it to

Myapp \'notice the A is

6条回答
  •  青春惊慌失措
    2020-11-30 02:19

    Check the product name in build settings and make sure everywhere it is Myapp. If that is done,

    • 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.

提交回复
热议问题