简体   繁体   中英

Xcode — embed one static library inside another one?

Is it possible to do this in such a way that the parent project does not need any settings that refer to the sub-library -- only to the parent library?

(For example, I want header search paths to be picked up automatically).

I think you are looking for a Framework, not actually a static library ( You will always need the symbol references aka headers when you use static libraries )

The solution that Apple gave us, is Frameworks.

You can checkout this GitHub project which contains an Xcode 4 template for creating iOS frameworks again.

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM