Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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).

like image 575
William Jockusch Avatar asked Mar 22 '26 20:03

William Jockusch


1 Answers

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!

like image 184
Goles Avatar answered Mar 24 '26 11:03

Goles



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!