Change name of iPhone app in Xcode 4

前端 未结 11 471
误落风尘
误落风尘 2020-12-04 05:28

I want to change the name which is displayed below the app icon on the iPhone screen. I use Xcode 4 and I have one target with keys:

  • Bundle display name : ${PR
相关标签:
11条回答
  • 2020-12-04 06:06

    You want to change the Bundle Display Name in your project.plist.

    Bundle display name : ${PRODUCT_NAME}   
    

    should be changed to

    Bundle display name : MySuperApp
    

    This changes the label of the icon in iOS without actually changing the app identifiers. If you just change the bundle display name, you won't need to set up a new app id and provisioning profiles.

    0 讨论(0)
  • 2020-12-04 06:07

    Change it in the build tab of the targets settings page

    As clarification: select targets, select the target you are building, get info, select the build tab, write 'product name' in the search box, and change it there.

    0 讨论(0)
  • 2020-12-04 06:07

    To change the name of the app if it has been customized:

    Project info -> Targets (click on app icon entry) -> Build Settings -> Product Name

    0 讨论(0)
  • 2020-12-04 06:08

    Making the product name change: Double click the name right under "Targets" and modify the target name to whatever you want.

    Checking if the change has been made: Click on "Target" and on the right hand side search for "Product Name" under "Build Settings". The displayed value of the product name should reflect your change. If not, double click on that name to make sure it's being set to $(TARGET_NAME).

    0 讨论(0)
  • 2020-12-04 06:09

    One thing that seemed to help when I went through this is in Xcode 4 is that it appeared to be necessary to delete all the schemes. Prior to this it seemed that although the app would be compiled under its new name, it'd be as the old name in the simulator. However, I did do other desperate measures like re-start xcode and delete the app out of the simulator folder so it's hard to be certain that deleting the schemes was the key.

    0 讨论(0)
  • 2020-12-04 06:11

    In recent versions of XCode (I am on 4.3.2 currently), $(PRODUCT_NAME) is set to $(TARGET_NAME) which defaults to the name of the project directory (no don't change the directory name).

    Solution: Click on the file navigator. Click on your blue project icon. Look for the TARGETS list (under the PROJECT list). Hover-click your target; then rename it to your product name.


    Aside: If you are having code-signing problems, I found that deleting, revoking, and regenerating all certificates/keys, and profiles fixed my problem. I tried everything else first!

    0 讨论(0)
提交回复
热议问题