Standard way to rename an xcode project

After creating the project name, for example Proj11, I would like to change the name to Proj12. Therefore, I use Project-> Rename, and then the project name for Proj12. But the project still contains several folders with the name Prlj11, and after changing the name of the folder the project cannot be loaded. So what is the standard way to rename my project as well as the name of the folder.

+6
source share
3 answers

Click the project folder (the blue folder with the name of your application at the top of the project navigator). Lift the utilities (right panel), then the file inspector. The name of your project is, change it to whatever you want. Then it will ask you to save, save all the files you have selected for you, and then click rename

+16
source

The best answer I found was on the Apple developer site. Imagine this? You can follow the link below, but basically this:

1) click on the target in xcode, on the right in β€œIdentify and print” under the name, change the name and press the ENTER button on the keyboard.

2) a window appears confirming the change and what it will change. After confirmation, he will make the changes.

https://developer.apple.com/library/ios/qa/qa1625/_index.html

OR ANOTHER WAY AND EVEN EASY:

left-click on the project name and rename it. Once you rename it, you ask if you want to rename:

enter image description here

enter image description here

+1
source

The folders that you see in Xcode navigators are not the actual folder / directories, these are virtual folders only for grouping your files.

And the folders that you see in Finder, the path that you manually set for the project, you need to rename them manually.

0
source

All Articles