How can I wrap two libraries (libA and libB) in Xcode 4 into another library (libCWrapper) and use the wrapper library (libCWrapper) without having to include the headers of libA and libB in my project
Asked
Active
Viewed 1,153 times
1
BBdev
- 4,858
- 2
- 30
- 45
Chris Baxter
- 1,316
- 2
- 14
- 24
1 Answers
0
You cannot avoid having to include headers somehow. That either means altering the header search path, including them in your project, or wrapping the static libraries plus headers in a framework.
Kendall Helmstetter Gelner
- 74,088
- 26
- 126
- 148
-
It sounds like wrapping the static libraries plus headers in a framework might be the best option. but how do it do that ? – Chris Baxter Jun 17 '11 at 08:37
-
The resources for doing so are a bit sketchy, but try starting here: http://stackoverflow.com/questions/4065052/how-to-build-a-framework-or-library-for-other-developers-the-secure-way – Kendall Helmstetter Gelner Jun 17 '11 at 14:58