Use Xcode to modify the iOS project project name and path name

Source: Internet
Author: User
Tags svn


My cargo 876 is this to change the success, because it is in the dare to eat the basis of the change of La La

(My practice is to follow the steps below to change the name of the project successfully, directly modify the Xcode home page bundle identifier value for their desired)

The following figure:



Reproduced from: http://blog.sina.com.cn/s/blog_a42013280101blxo.html

Right, right, wrong, correct. ------Preface

System 10.7 Lions

Development platform Xcode 4.5.2

Old project name Myproject-ipad

New project name Fjsk-ipad after modification


Click on item, enter


You can see the right identity, modify project name to: Fjsk-ipad, click Enter to appear


Click Rename, and a dialog box prompts you to create a copy. Disable and enable are all okay.


You can see that after the change, many of the related names have changed:


However, the name of the outside folder has not changed, and we try to modify it to see


Click on the image above Myproject-ipad, change the name:


After the change, I returned to Xcode and found


The inside of the class has not been referenced, how to do.


Change the group name on the right to Fjsk-ipad and click Enter, and you can see a myproject-ipad under the path below, click on the right side of the rectangle


Select Fjsk-ipad folder, click Choose, you can see the normal


You can see the right also need to select the Info.plist file, click to select:


After you add it, you also need to modify one place:


Change the following Prefix header path: myproject-ipad/fjsk-ipad-prefix.pch to $ (srcroot)/FJSK-IPAD/FJSK-IPAD-PREFIX.PCH:


You can see this, run the program to try it (the previous SVN information disappeared, new SVN information can be generated). But we still see the outermost directory as such.


How to change it. Simply create the folder "Fjsk-ipad" under "Documents" and copy the top two files to the "Fjsk-ipad" folder, as shown in the figure:


Then, open the project, compile the run, so that you can, if the error, the temporary closure of the program, or clean. Open the program again.
It's done, but some of the SVN information from the project has been built (and cannot be generated), but it is believed to have no effect on users who use versions.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.