Changed Project Name in Xcode Causing Naming Error

Changed project name in Xcode causing naming error

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.

Xcode - renaming project causes problem

In 3.2.1 on Snow Leopard, there is a "Project->Rename..." menu item that works like a charm. I think it was introduced in 3.2. Shame that it's Snow Leopard only.

Error caused by changing IOS project name xcode

Select Manage Scheme

Sample Image

Unchecked All the Show And Delete All the Scheme by Pressing Minus Sign.

Sample Image

After Deleting All The Scheme, Select Project-->Select Target-->Build Setting

Change the Product Name and also delete the Test in Target
Sample Image

Now Select New Scheme and Press OK

Sample Image

Sample Image

and run the app.

Project Crashes After Rename

If your Xcode project is corrupted, you can do the following,

  • In 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 the previous project name which you used and manually rename
    it to the new name.
  • Save it after changing and then reopen the project.

The reason is because your project.pbxproj file which stores all details related to the project got corrupted which causes the Xcode to not able to parse it and hence it crashes. Ideally this shouldn't happen while renaming, but in your case somehow it got corrupted. –

Change the name of a project in Xcode?

Click on the project title then hit enter and you will be able to change the name of the project as shown.

this

Files in Xcode not working (names in red)

If files marked in red, they are "not found" by Xcode.

You either moved or deleted them within File Finder, outside Xcode.
Delete the red marked files within XCode, then add them again to XCode.

This will solve your problem.



Related Topics



Leave a reply



Submit