1

I changed my project display name and then changed its name in the project navigator. (same new name for both). I noticed the target name didn't change. Now I'm noticing that I can't find or build the project and my intents are out of scope.

I tried changing the target name itself. It would let me click on it to edit but it wouldn't save it unless its as the old name. I also tried cleaning the build folder and restarting Xcode based on SO advice, but it didn't work.

What do I do?

Tai1
  • 19
  • 4
  • did target name changed? what is the error you're getting? – Suryakant Sharma Oct 09 '20 at 04:47
  • No, the target name didn’t change. I tried to change it under “targets” but it wouldn’t change. – Tai1 Oct 09 '20 at 04:49
  • You should try again changing name from `project navigator`. After you press return key xcode will open a popup and ask confirmation on which are the places you need to change. Select all and press return key. – Suryakant Sharma Oct 09 '20 at 04:53
  • Did that and it led to this. – Tai1 Oct 09 '20 at 04:56
  • can you share the error? – Suryakant Sharma Oct 09 '20 at 05:05
  • Does this answer your question? https://stackoverflow.com/questions/33370175/how-do-i-completely-rename-an-xcode-project-i-e-inclusive-of-folders or [How to change the name of an iOS app?](https://stackoverflow.com/questions/238980/how-to-change-the-name-of-an-ios-app) or – Jessy Oct 09 '20 at 08:29

1 Answers1

1

On left side click project navigator and press enter. enter image description here

rename the project and press enter, xcode will open a popup showing all references of old name. rename and its done.

enter image description here

Dev JD
  • 53
  • 4