[IOS] Mutual references between static library projects

Source: Internet
Author: User

Companies have different SDK,SDK is also a mutual reference, many for the sake of the convenience of direct packaging Static library release

This requires the static libraries to reference each other, the referenced project is Destationkit, the project is Sourcekit

Drag the Destationkit project directly into the Sourcekit project under Xcode6.1 and don't drag it to the project

files, add search paths, and put Destationkit projects directly in Sourcekit for easy management of projects

Under the item, the details

Drag items:

File structure:

Search Path Settings:

"${srcroot}/. /destationkit "

Details

Do not add a search path directly modify CopyFile's subpath can also because the default generated header file structure


Change the Destationkit build phases CopyFile subpath include/$ (product_name) directly to include

You can also change the Sourcekit to include, easy to use. t_t




Precautions:

1. If there is a Destatonkit classification file in Sourcekit, the user will need to add a

For details of-OBJC or-all_load reasons, see:

Http://www.cnblogs.com/flyFreeZn/p/3421520.html

2. If the Sourcekit static library project is dependent on the problem, the solution can be found in:

http://blog.csdn.net/u014274590/article/details/37761429


[IOS] Mutual references between static library projects

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.