[ios] How to change the name of an iOS app?

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.

This question is related to ios xcode

The answer is


In Xcode 4 search for "Product Name" under "Build Settings" tab of the target.


I saw many ways to change your app name on homescreen, and i don't think the necessity of edit your .plist file or changing Build Settings of target is justified.

By default in Xcode 7.2 you even don't have 'bundle display name' in your plist file.

And by default, your 'Product name' in 'Build settings' tab of your target is equal to $(TARGET_NAME). IMHO it's convenient and didn't mean to change.

So you can simply change your Target name like hallski said in his comment for accepted answer. I made pic for it: enter image description here


I am using this script after I rename my iOS Project. It helps to change the directories name and make the names in sync.

http://github.com/ytbryan/rename

NOTE: you will need to manually change the scheme's name.


In Target>Build Setting>Product name field you can edit that field here.


Using Javier's approach to rename my app works perfectly. There is just one small bit missing in the end that I wanted add.

I still ended up getting a Mach-O Linker Error after a Clean and Rebuild. To resolve this; select yourProject(in the Project Navigator) > under Targets select yourProjectTests(the test target) > under the General tab, update the Host Application's value to the newly renamed project.


  1. Select Target

    Target selected in Xcode sidebar.

  2. Select Info

    Info tab selected.

  3. Insert Bundle Display Name and set App Title

    Dropdown showing Application Category highlighted.


A note on the bundle display name -- this is the right way to change the name in your app menu, but you'll likely have to reset content and settings in your iOS simulator before you see the change actually take effect.


You can modify the Product Name without changing your Project Name (especially the directory).

Build Settings > search the keyword "product name" > update values


In Xcode 4 click on project name to start renaming.


In Target>Build Setting>Product name field you can edit that field here.


Its very easy to change in XCode 8, enter the app name in the "Display Name" field in Project Target -> General Identity section.

enter image description here


<key>CFBundleDisplayName</key>
<string>Your App Name</string>

In new versions of Xcode (Xcode 5 too) to change the name of the project follow this 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.


This is how I changed in Xcode 4:

  1. Click on your Target file (First Main file of the application).
  2. Go to Build Settings.
  3. Scroll down you will find a bar called "Packaging".
  4. Under Packaging you will see Product Name, you can change project name.

I saw many ways to change your app name on homescreen, and i don't think the necessity of edit your .plist file or changing Build Settings of target is justified.

By default in Xcode 7.2 you even don't have 'bundle display name' in your plist file.

And by default, your 'Product name' in 'Build settings' tab of your target is equal to $(TARGET_NAME). IMHO it's convenient and didn't mean to change.

So you can simply change your Target name like hallski said in his comment for accepted answer. I made pic for it: enter image description here


A note on the bundle display name -- this is the right way to change the name in your app menu, but you'll likely have to reset content and settings in your iOS simulator before you see the change actually take effect.


Easiest way: select the TARGET name, double click on it, rename. You'll see your app's new name underneath the icon on your device or Simulator.


From Xcode 4.2 and onwards, you can use one more option. Just click once on .proj file name at the top in left navigation pane and it will be available for renaming.Rename it and the whole project will get renamed and not only the target.


  1. Select Target

    Target selected in Xcode sidebar.

  2. Select Info

    Info tab selected.

  3. Insert Bundle Display Name and set App Title

    Dropdown showing Application Category highlighted.


Xcode 7/8? It's in the plist that your target uses

enter image description here


For Xcode 10.2:

Although this question has many answers but I wanted to explain the whole concept in detail so that everyone can apply this knowledge to further or previous versions of Xcode too.

Every Xcode project consists of one or more targets. According to apple, A target specifies a product to build and contains the instructions for building the product from a set of files in a project or workspace. So every target is a product (app) on its own.

Steps to change the name:

Step 1: Go to the Targets and open the Info tab of the target whose name you want to change.

Step 2: View the Bundle name key under the Custom iOS Target Properties that is set to the default property of $(PRODUCT_NAME).

enter image description here

Step 3: You can either change the Bundle name directly (not recommended) or if you open the Build Settings tab then on searching for Product Name under Setting you will see that Product Name is set to $(TARGET_NAME).

enter image description here

Step 3A: You can change the Product Name or you can also change the Target Name by double clicking on the target.

enter image description here

So changing the Product Name (App Name) or Target Name both will result into similar results. But if you only want to change the App Name and want to keep using the same Target Name then only change the Product Name.


In Xcode 3.2 just select the Project entry in the Groups & Files panel, then select the menu item Project -> Rename… Worked for me.


Step 1 - Rename the project

Click on the project you want to rename in the "Project navigator" on the left of the Xcode view.
On the right select the "File inspector" and the name of your project should be in there under "Identity and Type", change it to the new name.
Click "Rename" in a dropdown menu

Step 2 - Rename the Scheme

In the top bar (near "Stop" button), there is a scheme for your OLD product, click on it, then go to "Manage schemes"
Click on the OLD name in the scheme, and it will become editable, change the name

Step 3 - Rename the folder with your assets

Quit Xcode
In the correctly named master folder, there is a newly named xcodeproj file with the the wrongly named OLD folder. Rename the OLD folder to your new name
Reopen the project, you will see a warning: "The folder OLD does not exist", dismiss the warning
In the "Project navigator" on the left, click the top level OLD folder name
In Utilities pane under "Identity and type" you will see the "Name" entry, change this from the OLD to the new name
Just below there is a "Location" entry. Click on a folder with the OLD name and chose the newly renamed folder

Step 4 - Rename the Build plist data

Click on the project in the "Project navigator" on the left, in the main panel select "Build Settings"
Search for "plist" in this section
Under packaging, you will see Info.plist, and Product bundle identifier
Rename the top entry in Info.plist
Do the same for Product Identifier

Finally, you are done and can rebuild (Command + Shift + K to clean, Command + B to build)

When using CocoaPods After step 2:

Quit XCode.
In the master folder, rename OLD.xcworkspace to NEW.xcworkspace.

After step 4:

In XCode: choose and edit Podfile from the project navigator. You should see a target clause with the OLD name. Change it to NEW.
Quit XCode.
In the project folder, delete the OLD.podspec file.
rm -rf Pods/
Run pod install.
Open XCode.
Click on your project name in the project navigator.
In the main pane, switch to the Build Phases tab.
Under Link Binary With Libraries, look for libPods-OLD.a and delete it.
If you have an objective-c Bridging header go to Build settings and change the location of the header from OLD/OLD-Bridging-Header.h to NEW/NEW-Bridging-Header.h
Clean and run.

For sake of gathering all relevant information in one place, here is the official answer to this question - and it is the only one that worked for me on Xcode 5.1.1

Just use the Identity and Type pane in Xcode.

Use Identity and Type pane in Xcode


For changing application name only (that will display along with app icon) in xcode 4 or later:

Click on your project file icon from Groups & Files panel, choose Target -> Build Settings -> Packaging -> Product Name. Click on the row, a pop-up will come, type your new app name here.

For changing Project name only (that will display along with project icon) in xcode 4 or later:

Click on your project file icon from Groups & Files panel, choose Project(above targets) from right pane, just see at the far right pane(it will be visible only if you have enabled "Hide or show utilities").Look for project name.Edit it to new name you want to give your project.

Delete your app from simulator/device, clean and run.Changes should reflect.

That's it


This is how I changed in Xcode 4:

  1. Click on your Target file (First Main file of the application).
  2. Go to Build Settings.
  3. Scroll down you will find a bar called "Packaging".
  4. Under Packaging you will see Product Name, you can change project name.

select project navigator > select Target > Identity > Display Name > Name


Xcode 7/8? It's in the plist that your target uses

enter image description here


Project Navigator>General>Display Name

enter image description here


For Xcode 10.2:

Although this question has many answers but I wanted to explain the whole concept in detail so that everyone can apply this knowledge to further or previous versions of Xcode too.

Every Xcode project consists of one or more targets. According to apple, A target specifies a product to build and contains the instructions for building the product from a set of files in a project or workspace. So every target is a product (app) on its own.

Steps to change the name:

Step 1: Go to the Targets and open the Info tab of the target whose name you want to change.

Step 2: View the Bundle name key under the Custom iOS Target Properties that is set to the default property of $(PRODUCT_NAME).

enter image description here

Step 3: You can either change the Bundle name directly (not recommended) or if you open the Build Settings tab then on searching for Product Name under Setting you will see that Product Name is set to $(TARGET_NAME).

enter image description here

Step 3A: You can change the Product Name or you can also change the Target Name by double clicking on the target.

enter image description here

So changing the Product Name (App Name) or Target Name both will result into similar results. But if you only want to change the App Name and want to keep using the same Target Name then only change the Product Name.


The best way I like in xcode5 is to change product name in building settings. Search "product name" in "building settings", and change it.

enter image description here


If you want to change display name only then you can directly change from property file(plist) of app.

You can add a new row with the following key : bundle display name

Here is an example for this

enter image description here

When you use this the app name which you have given with this key will be display.

So you can do this simply.


Target>Build Setting>Product name


If you wanna change the name, that will be displayed on your screen, right under your icon, in Xcode 4, go to Targets->info->Bundle Display Name and change it to whatever you want.


You can change from info.plist having attribute "Bundle Name" .


The link below works for Xcode 6, especially if you are getting an error after trying to rename your project. Basically, just try building a new scheme of your app.

https://stackoverflow.com/a/27572164/4114835


If you need to change the name of the Application as it appears on the iPhone's home screen, you need to do it in the Target configuration, not the project configuration.

  1. Expand the Targets group in Xcode, then single-click the item under that. It should share the name of your project, which is also the default name of the application that gets generated.

  2. Press command-I to bring up the Info window, then navigate to the Build tag.

  3. Set the Configuration drop-down to read All Configurations.

  4. Look for a setting called Product Name under the Packaging heading.

  5. Change that value to the name you want for your compiled applications and, in the immortal words of Bugs Bunny: Viola! Do a clean then build and your application will take on the new name.


If you want to change display name only then you can directly change from property file(plist) of app.

You can add a new row with the following key : bundle display name

Here is an example for this

enter image description here

When you use this the app name which you have given with this key will be display.

So you can do this simply.


For sake of gathering all relevant information in one place, here is the official answer to this question - and it is the only one that worked for me on Xcode 5.1.1

Just use the Identity and Type pane in Xcode.

Use Identity and Type pane in Xcode


Using Javier's approach to rename my app works perfectly. There is just one small bit missing in the end that I wanted add.

I still ended up getting a Mach-O Linker Error after a Clean and Rebuild. To resolve this; select yourProject(in the Project Navigator) > under Targets select yourProjectTests(the test target) > under the General tab, update the Host Application's value to the newly renamed project.


If you need to change the name of the Application as it appears on the iPhone's home screen, you need to do it in the Target configuration, not the project configuration.

  1. Expand the Targets group in Xcode, then single-click the item under that. It should share the name of your project, which is also the default name of the application that gets generated.

  2. Press command-I to bring up the Info window, then navigate to the Build tag.

  3. Set the Configuration drop-down to read All Configurations.

  4. Look for a setting called Product Name under the Packaging heading.

  5. Change that value to the name you want for your compiled applications and, in the immortal words of Bugs Bunny: Viola! Do a clean then build and your application will take on the new name.


From Xcode 4.2 and onwards, you can use one more option. Just click once on .proj file name at the top in left navigation pane and it will be available for renaming.Rename it and the whole project will get renamed and not only the target.


I think there is a bit of confusion:

  • you want to change the project name or
  • you want to change the App name on the iOS dashboard ?

usually is enough to change the latter, adding/modifying the BUNDLE DISLAY NAME key in plist.

Is better to leave project name untouched, but may be changed

Note that Bundle display Name CAN contain spaces and special chars, but project NOT. Doing so some cmd line tools will fails due to filename path rules.

And even more Bundle Display name can be localized.

So unless you are in early stage and need to change INTERNAL project name, go on using Bundle Display Name key.


In Xcode 4 search for "Product Name" under "Build Settings" tab of the target.


<key>CFBundleDisplayName</key>
<string>Your App Name</string>

In Xcode 4 click on project name to start renaming.


In Xcode 3.2 just select the Project entry in the Groups & Files panel, then select the menu item Project -> Rename… Worked for me.


I am using this script after I rename my iOS Project. It helps to change the directories name and make the names in sync.

http://github.com/ytbryan/rename

NOTE: you will need to manually change the scheme's name.


You change the bundle display name in the info.plist. It's as simple as that.

Changing the 'bundle display name' (as opposed to 'bundle name') is the only way to include characters like '+' in your applications name. Including special characters in the project name will cause an error when uploading to the app store!


Step 1 - Rename the project

Click on the project you want to rename in the "Project navigator" on the left of the Xcode view.
On the right select the "File inspector" and the name of your project should be in there under "Identity and Type", change it to the new name.
Click "Rename" in a dropdown menu

Step 2 - Rename the Scheme

In the top bar (near "Stop" button), there is a scheme for your OLD product, click on it, then go to "Manage schemes"
Click on the OLD name in the scheme, and it will become editable, change the name

Step 3 - Rename the folder with your assets

Quit Xcode
In the correctly named master folder, there is a newly named xcodeproj file with the the wrongly named OLD folder. Rename the OLD folder to your new name
Reopen the project, you will see a warning: "The folder OLD does not exist", dismiss the warning
In the "Project navigator" on the left, click the top level OLD folder name
In Utilities pane under "Identity and type" you will see the "Name" entry, change this from the OLD to the new name
Just below there is a "Location" entry. Click on a folder with the OLD name and chose the newly renamed folder

Step 4 - Rename the Build plist data

Click on the project in the "Project navigator" on the left, in the main panel select "Build Settings"
Search for "plist" in this section
Under packaging, you will see Info.plist, and Product bundle identifier
Rename the top entry in Info.plist
Do the same for Product Identifier

Finally, you are done and can rebuild (Command + Shift + K to clean, Command + B to build)

When using CocoaPods After step 2:

Quit XCode.
In the master folder, rename OLD.xcworkspace to NEW.xcworkspace.

After step 4:

In XCode: choose and edit Podfile from the project navigator. You should see a target clause with the OLD name. Change it to NEW.
Quit XCode.
In the project folder, delete the OLD.podspec file.
rm -rf Pods/
Run pod install.
Open XCode.
Click on your project name in the project navigator.
In the main pane, switch to the Build Phases tab.
Under Link Binary With Libraries, look for libPods-OLD.a and delete it.
If you have an objective-c Bridging header go to Build settings and change the location of the header from OLD/OLD-Bridging-Header.h to NEW/NEW-Bridging-Header.h
Clean and run.

You change the bundle display name in the info.plist. It's as simple as that.

Changing the 'bundle display name' (as opposed to 'bundle name') is the only way to include characters like '+' in your applications name. Including special characters in the project name will cause an error when uploading to the app store!


For Xcode 11, if you want to change the App Display Name then simply go to plist and simply replace value of CFBundleDisplayName

<key>CFBundleDisplayName</key>
<string>Your App Name</string>

There are

  • Product name ($(PRODUCT_NAME)): defaults to Target name. This is useful for scheme to select the right target
  • Bundle display name (CFBundleDisplayName): defaults to Product name. This is what is displayed to your iOS user

For changing application name only (that will display along with app icon) in xcode 4 or later:

Click on your project file icon from Groups & Files panel, choose Target -> Build Settings -> Packaging -> Product Name. Click on the row, a pop-up will come, type your new app name here.

For changing Project name only (that will display along with project icon) in xcode 4 or later:

Click on your project file icon from Groups & Files panel, choose Project(above targets) from right pane, just see at the far right pane(it will be visible only if you have enabled "Hide or show utilities").Look for project name.Edit it to new name you want to give your project.

Delete your app from simulator/device, clean and run.Changes should reflect.

That's it


  1. Select the top most line to the left (with you project name, number of targets, etc).
  2. Select the target you wish to rename.
  3. Click on the name of the target again.
  4. Type the new name.
  5. Press enter.

You can modify the Product Name without changing your Project Name (especially the directory).

Build Settings > search the keyword "product name" > update values


I think there is a bit of confusion:

  • you want to change the project name or
  • you want to change the App name on the iOS dashboard ?

usually is enough to change the latter, adding/modifying the BUNDLE DISLAY NAME key in plist.

Is better to leave project name untouched, but may be changed

Note that Bundle display Name CAN contain spaces and special chars, but project NOT. Doing so some cmd line tools will fails due to filename path rules.

And even more Bundle Display name can be localized.

So unless you are in early stage and need to change INTERNAL project name, go on using Bundle Display Name key.


Also: your target name may be the same as your app name - note that changing the target name does not change the app name - only the change in the target properties described below - will change the app name.


select project navigator > select Target > Identity > Display Name > Name


There are

  • Product name ($(PRODUCT_NAME)): defaults to Target name. This is useful for scheme to select the right target
  • Bundle display name (CFBundleDisplayName): defaults to Product name. This is what is displayed to your iOS user

Its very easy to change in XCode 8, enter the app name in the "Display Name" field in Project Target -> General Identity section.

enter image description here


Easiest way: select the TARGET name, double click on it, rename. You'll see your app's new name underneath the icon on your device or Simulator.


You can change from info.plist having attribute "Bundle Name" .


The best way I like in xcode5 is to change product name in building settings. Search "product name" in "building settings", and change it.

enter image description here


Project Navigator>General>Display Name

enter image description here


  1. Select the top most line to the left (with you project name, number of targets, etc).
  2. Select the target you wish to rename.
  3. Click on the name of the target again.
  4. Type the new name.
  5. Press enter.

Also: your target name may be the same as your app name - note that changing the target name does not change the app name - only the change in the target properties described below - will change the app name.


Target>Build Setting>Product name


In new versions of Xcode (Xcode 5 too) to change the name of the project follow this 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.


If you wanna change the name, that will be displayed on your screen, right under your icon, in Xcode 4, go to Targets->info->Bundle Display Name and change it to whatever you want.


For Xcode 11, if you want to change the App Display Name then simply go to plist and simply replace value of CFBundleDisplayName

<key>CFBundleDisplayName</key>
<string>Your App Name</string>

Examples related to ios

Adding a UISegmentedControl to UITableView Crop image to specified size and picture location Undefined Symbols error when integrating Apptentive iOS SDK via Cocoapods Keep placeholder text in UITextField on input in IOS Accessing AppDelegate from framework? Autoresize View When SubViews are Added Warp \ bend effect on a UIView? Speech input for visually impaired users without the need to tap the screen make UITableViewCell selectable only while editing Xcode 12, building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

Examples related to xcode

Undefined Symbols error when integrating Apptentive iOS SDK via Cocoapods Xcode 12, building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 iPhone is not available. Please reconnect the device Make a VStack fill the width of the screen in SwiftUI error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65 The iOS Simulator deployment targets is set to 7.0, but the range of supported deployment target version for this platform is 8.0 to 12.1 Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools) Xcode 10: A valid provisioning profile for this executable was not found Xcode 10, Command CodeSign failed with a nonzero exit code