Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I rename a project in Xcode 5?

Tags:

xcode

xcode5

How do I rename a project in Xcode 5? What steps do I need to take? In the past this was always a very tricky manual process.

like image 473
uchuugaka Avatar asked Oct 18 '13 06:10

uchuugaka


People also ask

How do I rename an entire Xcode project?

Click on the project you want to rename in the "Project navigator" in the left panel of the Xcode window. In the right panel, select the "File inspector", and the name of your project should be found under "Identity and Type". Change it to your new name.

How do I change the project name and target name in Xcode?

Select the project from the project navigator to open the project editor and see a list of the app's targets. To rename a target, select it, press the Return key, and enter the new name.

How do I rename a project name?

Renaming ProjectsRight-click the root folder of your project and select Refactor | Rename from the context menu or press Shift+F6 . In the dialog that opens, choose the rename strategy. If the project name is the same as the name of its root folder, select Rename directory.


1 Answers

Well, the answer is very very very Apple simple in Xcode 5! In the Project Navigator on the left side, click 2 x slowly and the Project file name will be editable. Type the new name. A sheet will appear with a warning and will list all the items Xcode 5 believes it should change. You can probably trust it, but you should inspect it. The list will include the info.plist and various files, but also all the relevant strings from nib/xib files like MainMenu menus.

Accept the changes and you will get the prompt to save a snapshot of the project. Always make a snapshot when Xcode asks, it will be useful to restore if something does not work.

like image 96
uchuugaka Avatar answered Sep 18 '22 10:09

uchuugaka