Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Standard way to rename xcode project

Tags:

xcode

After I create a project name for example Proj11, I'd like to change the name to Proj12. So I use Project->Rename, then the name of the project to Proj12 But the project still contains several folders name Prlj11, and after I change the folders' name, the project can't been loaded. So what is the standard way to rename my project as well as folder name.

like image 728
mqasll Avatar asked Mar 26 '13 01:03

mqasll


People also ask

How do I completely rename an 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.


2 Answers

Click on the project folder (blue folder with your app name on the top of the project navigator). Pull up the utilities (right pane), then file inspector. Your project name is there, change it to whatever you want. Then it will ask to save, keep all the files it selected for you selected, then press rename

like image 138
William Falcon Avatar answered Jan 01 '23 22:01

William Falcon


The best answer I found was on the apple developer site. Imagine that? You can follow the link below, but essentially it is:

1) click on the target in xcode, on the right in "Identify and Type" under name change the name and press the ENTER button on your keyboard.

2)a window will appear confirming the change and what it will change. Once you confirm it will make the changes.

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

OR ANOTHER WAY AND EVEN EASIER:

left-click on the name project and rename. As soon as you rename it will ask you if you want to rename:

enter image description here

enter image description here

like image 30
ConfusedDeer Avatar answered Jan 01 '23 22:01

ConfusedDeer