Xcode environment variables and path settings iOS

Source: Internet
Author: User
In general, we are in Xcode configuration contains the project directory head file, all related to the relative path and absolute path, if you only use this project, with the absolute path of the problem is not big, but if you send the project to others, others will change this absolute path, the shortcomings of the absolute path immediately appeared.
So when modifying the library search Paths and Header search Paths this option, use
"$ (srcroot)/current project name/need to include header file Folder"
After copying the string in the double quotes above, you will find that the "$ (srcroot)" will automatically become the directory where the project is currently located.

So that you can, to other people, others do not have to modify the path.


Note: Changing the format can find a good project, see the contents of the Library Search paths

Xcode environment variables and path settings iOS

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.