IOS development xcode modify project name

Source: Internet
Author: User

When I started iPhone Development recently, I encountered a small problem, that is, how to modify the name of my project. All Versions earlier than xcode3.2 must be manually modified.Xcode Rename changes under the project.

Next I will explain howXcode Modify the configuration in version 3.1.

  1. InXcode Close the project you want to modify. It is best to close it first.Xcode .
  2. Copy your project and copy and paste the project to get a copy folder.
  3. Modify the name of the copy folder, that is, the name of the project you want.
  4. Open the folder, find the file with the suffix ". xcodeproject", and rename it.
  5. Delete the "build" folder and all files in it.
  6. Then open the file with the suffix ". xcodeproject", which is the same as the previous project.
  7. InXcode In the "groups & Files" list on the left, find the file named "*-info. plist" and change its name.
  8. Modify the name of the file with the suffix * _ prefix. PCH.
  9. Expand the "targets" group, double-click the target file name, and modify its name in the "General"-tab. In the "build" tab, modify the project name (for all configurations). If the project name is changed, the file name suffixed with. app is automatically modified. In the build tab, modify "*-info. plist" and * _ prefix. PCH (prefix header value ).
  10. InXcode Clean all targets.
  11. Finally, build and go. In this way, the project name is modified.
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.