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

Source: Internet
Author: User

Http://blog.sina.com.cn/s/blog_a42013280101blxo.html

Right, good, 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 the item to enter


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


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


As you can see, many related names have changed after the change:


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


Click on the Myproject-ipad, change the name:


When you're done, go back to Xcode and find


The class in the inside has not been quoted, how to do?


Change the group name on the right to Fjsk-ipad, click the Enter key, and you can see that there is a myproject-ipad below the path and click on the right rectangle.


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


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


Once you've added it, you'll also want to modify a 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 try it (the previous SVN information disappears, the new SVN information can be generated). But we still see the outermost directory as such.


How to change it? Very simple, under "Documents" Create Folder "Fjsk-ipad", and then copy the above two files to the "Fjsk-ipad" folder,


Then, open the project, compile and run, so you can, if the error, temporarily close the program, or clean. And then open the program.
It's done, but some of the SVN information that comes with the project is wood (and cannot be generated), but I believe it will have no effect on users who use versions.

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

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.