Changed project name in Xcode causing naming error

HurkNburkS picture HurkNburkS · Oct 11, 2012 · Viewed 20k times · Source

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

MyApp

I then changed it to

Myapp 'notice the A is now non-caps'

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-caseinsensitive-rename

I am now wondering how do I get rid of the -temp-caseinsensitive-rename portion?

Answer

iDev picture iDev · Oct 11, 2012

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.