How to change Xcode Project name

前端 未结 18 1477
情深已故
情深已故 2020-12-02 05:32

I have developed my app in Xcode for iPhone, in start I have just named it without secnec now I want to change my app name I have replace my old app name with new one as I h

相关标签:
18条回答
  • 2020-12-02 06:29

    For Xcode 4 or later:

    • Open a project
    • Select Project Navigator
    • Highlight project name
    • Single click on project name

      enter image description here

    For Xcode 3:

    • Open a project > Menu > Project > Rename ...
    0 讨论(0)
  • 2020-12-02 06:29

    Goto youname-Info.plist

    Change Both

    Bundle name and Bundle display name to your preferred file name.

    Done.

    0 讨论(0)
  • 2020-12-02 06:29

    in xcode 4.4, you have to click on the project at the top of the navigator (left panel). Then click twice on the target in the second column to highlight the target name. Then you can change the product name. You will also need to modify the archive name when you go to create an archive. To do this, you must edit the scheme, click on Release, and then change the archive name.

    0 讨论(0)
  • 2020-12-02 06:30

    I am using xcode 4.3.1 and tried to change product name as Quakeboy said above in the bundle setting, but it led to reading error. I was stuck in this error for an hour and now it is working well. I simply made the product name blank then retype the older name that I had before. building succeeded again!

    Note to anyone who like to change project name : you don't have to change the project file name the bundle display name will be display to users so just don't hang out with this issue too much. can be wasting time.

    0 讨论(0)
  • 2020-12-02 06:30

    I tried ohho's answer and it didn't work but found another solution. You can open your Info.plist file and go where it says' "Bundle Name" and change to your new name that will be shown in your launcher. I hope this wrks

    0 讨论(0)
  • 2020-12-02 06:31

    I tried by changing the Project name in Project Navigator, but you need to follow through with the all the step outlined here!!!. I did not follow the second step and this broke my app, had to rework a older version which took two days, see my SO post here.

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