Use xcode to modify the IOS project name and path name

Source: Internet
Author: User
1. Use xcode to modify the IOS project name and path name

 

Yes, good; wrong, correct. ------ Preface

System 10.7 lions

Development Platform xcode 4.5.2

Old project name myproject-iPad

After modification, the new project name fjsk-iPad


Click project to enter


You can see the identity on the right. Change the project name to fjsk-iPad and click Enter.


Click rename. A dialog box is displayed, prompting you whether to create a copy. Neither disable nor enable


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


However, the name of the folder has not changed. Let's try to modify it.


Click "myproject-iPad" and change the name:


After the change, return to xcode and find


The classes in it are no longer referenced. What should I do?


Change the group name on the Right To fjsk-iPad and click Enter. In addition, there is a myproject-iPad under the path below, and click the rectangle on the right.


Select the fjsk-iPad folder and click choose.


You can see that you also need to select the info. plist file on the right, click to select:


After adding the file, you must modify the following content:


Change the following prefix header path: myproject-iPad/FjSk-iPad-Prefix.pch to $ (srcroot)/fjsk-iPad/FjSk-iPad-Prefix.pch:


As you can see, run the program. (The SVN information disappears before, and the new SVN information can be generated ). But we still see that the outermost directory is like this.


How to change it? Create the folder fjsk-iPad under the document and copy the two files to the fjsk-iPad folder,


Then, open the project and compile and run the program. If an error is reported, temporarily close the program or clean the program. Then open the program.
However, some SVN information contained in the project is available (and cannot be generated), but it is believed that this will not affect 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.