[IOS] Mutual reference between static library projects, ios static

Source: Internet
Author: User

[IOS] Mutual reference between static library projects, ios static

The company has different sdks, And the sdks are also referenced by each other. Many static libraries are directly packaged and released for ease of use.

This requires mutual reference between static libraries. The referenced project is DestationKit and the project is SourceKit.

Drag the DestationKit project under Xcode6.1 to the SourceKit project. Do not drag it to the project.

To facilitate project management, directly put the DestationKit project in SourceKit

Project, details

Drag project:

File structure:

Search Path settings:

"$ {SRCROOT}/../DestationKit"

Details

You can directly modify the subpath of copyfile without adding a search path. The structure of the header file is also generated by default.


Change copyfile subpath include/$ (PRODUCT_NAME) of destationKit build phases to include.

You can also change sourceKit to include for ease of use. T_T




Note:

1. If the SourceKit contains a DestatonKit classification file, you must add

-For details about the ObjC or-all_load causes, see:

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

2. If the dependency problem is reported in the sourceKit static library project, see:

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


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.