1

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

BBdev
  • 4,722
  • 2
  • 29
  • 44
Chris Baxter
  • 1,266
  • 2
  • 14
  • 23

1 Answers1

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
  • 73,251
  • 26
  • 123
  • 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