Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Renaming projects in Xcode 4

Tags:

xcode4

I must be missing something obvious, but I can't figure out how to rename my project in Xcode 4.

If I remember correctly Xcode 3 had a dedicated menu item for this but there's no such entry in Xcode 4.

like image 405
Ori Avatar asked Mar 24 '11 08:03

Ori


People also ask

Can you rename an Xcode project?

Select the project you want to rename in the “Project Navigator” which can be found on the left side of the Xcode view. On the right-hand side of the window, select the “File Inspector”. The name of your project should be in there under “Identity and Type”, change it to “NEW” and press Enter.

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.


1 Answers

Well, it turned out to be a trivial matter indeed.

All you need to do is click twice slowly on the project root in the project navigator and it then becomes editable. After you rename the project and press 'enter' it will suggest to automatically change all project-name-related entries and will allow you to de-select some of them if you want.

Nice.

like image 103
Ori Avatar answered Sep 20 '22 23:09

Ori