3

I'm trying to change my app name which is displayed with icon on my device's home screen in iOS. Every post says this can be done by changing string in "Bundle display name" in App's Info.list file. But it didn't work for me. I've changed my "project name","target name" and "This Bundle display name". None of these helped me.

When I check the bundle display name on running app with following code it shows the updated name. But the app name is still remained.

NSLog(@"APP NAME : %@",[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDisplayName"]);

BTW, My app has been created around 4-5 years ago and I've been trying to change the app name recently.

Can you guys help me? It doesn't matter any possible solution or suggestion. Please let me know if you guys need more information.

Thanks.

Tommy
  • 159
  • 3
  • 19
  • Did you check the plist file if you have in some place the old name? And check also in the project properties . – Lorenzo Oct 07 '15 at 09:55
  • @Lorenzo Yeah, I tried to search with my old app name in "plist" or "build setting" But I was not able to find it. That's very weird I can't find my old app name but the app name show as old name. Where came it from?? – Tommy Oct 07 '15 at 10:34

4 Answers4

5

You can change the name of the App displaying in Home Screen by changing the Bundle Display Name in Info.plist or if you need to change the Build product name then change

Target -> Build Settings -> Packaging -> Product Name.

abintom
  • 1,008
  • 7
  • 6
  • Are you saying The Product Name under Target -> Build Settings -> Packaging -> Product Name? If it is.. I've already changed it but it didn't work. ;( – Tommy Oct 07 '15 at 09:58
  • Are you sure you are running the same target which you have edited? – abintom Oct 07 '15 at 10:01
  • Yes, I have only 2 targets. One is App target and the other one is Unit Test Target. – Tommy Oct 07 '15 at 10:02
  • 1
    @Tommy Uninstall app from device or clear simulator if you'r using it and clear the project (In Xcode, `Product menu -> Clean`) – psci Oct 07 '15 at 10:04
  • Did you try changing Bundle name in info.plist of your project? – abintom Oct 07 '15 at 10:05
  • 1
    Check this link https://developer.apple.com/library/ios/qa/qa1823/_index.html . The procedure is to change Bundle Display Name to change display name and product name to change the product output name – abintom Oct 07 '15 at 10:08
  • @psci I did it in the past but it didn't help me. – Tommy Oct 07 '15 at 10:09
  • @abyt07 Yeah, I tried to change Bundle name in info.plist of my project. – Tommy Oct 07 '15 at 10:10
  • @abyt07 I did it before ask this to here. But thank you very much for it. – Tommy Oct 07 '15 at 10:11
  • Just try removing the Derived data and reseting the Simulator. It may be some issue in replacing the new compiled build in Simulator. – abintom Oct 07 '15 at 10:13
  • @abyt07 I'm testing on my device. :( – Tommy Oct 07 '15 at 10:15
1

Refer below image: enter image description here

Suppose that if you want to install same app again with different name then change bundle id.

Gobi M
  • 3,243
  • 5
  • 32
  • 47
  • Thanks I also changed Product Name where exactly same place with the picture you've attached. But it didn't help. But Thank you very much for your time and attention! – Tommy Oct 07 '15 at 10:32
  • May i know the Xcode version the project created? (BTW, My app has been created around 4-5 years). I am using this from xcode 4.0 to Xcode 7 and it works well – Gobi M Oct 07 '15 at 10:37
  • I guess it was Xcode 4.x or something. I've developed it with iOS4SDK and sure I've updating since I've first released it. Do you need exact Xcode number? Do you know how to check it? – Tommy Oct 07 '15 at 10:39
0

Info.plist-> Bundle name replace completely with your desired it works when you run the app.

Uma Madhavi
  • 4,851
  • 5
  • 38
  • 73
  • Thanks, But it didn't help. I guess my project setting is somehow broken. Changing app name works well when I try to change app name with the project which is just created by the latest Xcode but mine was created around 4-5 years ago. I wonder this caused some problem. – Tommy Oct 07 '15 at 10:20
  • 1
    I got same old app name. But when I try to search with the old app name on "Build setting" search field, I can't find any matches keyword with old app name. It's really weird. Where the old app name is coming from?? – Tommy Oct 07 '15 at 10:23
-1

This is how I do it in Xcode7:

  1. Click tour project in Project navigator

enter image description here

  1. Open the utilities tab (on the right side) and change the name

enter image description here

  1. Wizzard will appear

enter image description here

  1. Click rename. Done.

It's always a good practice to make backup somehow (git or project snap shoot) before renaming project :)

psci
  • 903
  • 9
  • 18
  • These steps not required to change only the display name, simply change the build settings as suggested in other solutions. – Gobi M Oct 07 '15 at 10:25
  • @psci Thank you for the very kind explanation. But I already did it when I change my project name. – Tommy Oct 07 '15 at 10:31
  • @GobiM you can always uncheck option you don't want to rename in wizard. – psci Oct 07 '15 at 10:40
  • This method will make things **stop working** if there exists a bridging header file already, because it changes the app name completely! – TonyW Dec 16 '15 at 01:48