Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the name of an iOS app?

Tags:

xcode

ios

I began an iPhone project the other day with a silly development code name, and now I want to change the name of the project since it's nearly finished.

But I'm not sure how to do this with Xcode, trying the obvious of changing the application's name in the info.plist file, causes the signing process to go wrong (I think...) and my app won't launch giving me a Launcher error.

I guess I could make a new project and copy paste everything over, but it seems so primitive that I'm hoping for a more civilized solution.

like image 232
Robert Gould Avatar asked Oct 27 '08 03:10

Robert Gould


2 Answers

  1. Go to Targets in Xcode.
  2. Build Settings on your project's target (your current development name).
  3. Search for Product Name under Packaging. Change its value to what you want your new project name to be.
like image 115
Giao Avatar answered Sep 22 '22 14:09

Giao


In new versions of Xcode (Xcode 5 too), to change the name of the project, follow these simple (detailed as possible) steps:

Note: In this example I'll change a hypothetical "Sample" name to a "Test" one.

  1. Click twice slowly on the project root in the project navigator and then it becomes editable.

    Enter image description here

  2. Rename the project.

    Enter image description here

  3. After pressing Enter the assistant will suggest you to automatically change all project-name-related entries and will allow you to de-select some of them, if you want.

    Enter image description here

  4. Press 'RENAME' and Xcode will do the rest. In the meanwhile Xcode may ask you about the option of making a snapshot of the project (it is very recommendable to do so).

  5. In addition to renaming the project, you may want to rename the scheme so that it matches your new project name.

    Enter image description here

  6. Repeat similar steps like 1 and 2, and press OK.

    Enter image description here

    enter image description here

  7. That's it.

Another scenario...

The previous explanation was related to changing the project name, but chances are that you only need to change the display name that appears below the app icon in the home screen. These are the steps:

  1. In the "Supporting Files" group locate the info.plist (or related) file

  2. Locate the "Bundle display name" key and change the value to the new name.

    enter image description here

    enter image description here

  3. Delete the "old" app from the simulator or any other testing device.

  4. Clean and rebuild your app again.

  5. That's it. You will now see the new app name in your home screen.

like image 25
Javier Cadiz Avatar answered Sep 22 '22 14:09

Javier Cadiz