How to change Xcode Project name

前端 未结 18 1475
情深已故
情深已故 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:04

    Here is Apple's step by step visual guide to change name of Xcode project.

    To change name of workspace just rename it.

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

    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

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

    Select the project in the Project Navigator (Command+1) and open the File Inspector in the right sidebar (Command+option+1).

    There, change the Project Name.

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

    Image explains everything

    click on you project in project explorer and again click on your project on right side and there you can see project name as shown in the figure

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

    Simple step

    1.Select the project target left side on top of all folders and files 2.Single click on the project again it will allow you to change the name 3.type as u want the name of the project and the name of the app 4.Press enter. it will ask to change every where accept it 5.same procedure do on the folder as well all place the name will be changed. i did it today

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

    ohho's answer is perfect:

    For Xcode 4 or later:

    Open a project

    Select Project Navigator

    Highlight project name

    Single click on project name

    BUT, if you only do this, once you try to debug on a new device, you will find an error:

    file not found: /Users/someuser/Library/Developer/Xcode/DerivedData/OLDNAME-akbwbarcniqxytctbebckkelkbxs/Build/Products/Debug-iphonesimulator/OLDNAME.app/OLDNAME

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Then you need to do one more step:

    • Select target on the left panel
    • Choose the oldnameTests in Targets
    • Select the Build Settings Panel
    • Search for "TEST_HOST" and change the old value to the new.

    Good Luck and Have Fun

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