33

I created a project and I fully developed it.

I need to change the name of the project and targets. is there an easy way to do that or should I just create a new project and copy all the items in there?

Thanks

user1415780
  • 1,153
  • 5
  • 16
  • 33

1 Answers1

60

You can change the project name by clicking on the project name at the top of the left sidebar and then entering a new name under the Identity on the right sidebar and finally pressing Return.

El Tomato
  • 6,479
  • 6
  • 46
  • 75
  • 17
    Changing the target name is just as simple. Click on the project name at the top left, then select a target name on the right pane followed by pressing "Enter". Type in the new name. – rmaddy Feb 26 '13 at 20:07
  • 7
    Note that in Xcode 5, the center editor pane's menu bar (where you see General, Capabilities, Info, etc) has a little "play" triangle icon that shows/hides the Projects and Targets List pane. You have to click that to open it, then you can long-click an item to change its name. – Alan Mar 19 '14 at 00:22
  • 3
    Something else worth mentioning is that after doing this I had to recreate the schemes (Edit Schemes->Autocreate Schemes Now) – ChrisH Aug 26 '14 at 16:28
  • 4
    @Alan, in Xcode 6, this was changed to a square icon, with a bolded line on the left side. – benjammin Oct 05 '14 at 19:50
  • I was switching between Windows and OSX a lot and I accidentally pressed ALT-Tab in the target name for my app and Xcode made the target name blank. It wouldn't let me rename it after that. Very frustrating. – Bron Davies Aug 04 '15 at 21:15
  • Something else to mention : go to your (project-name)-info.plist file and Change the "Bundle Display Name" value to the new project name – Saeed Oct 05 '16 at 17:45