user-123
user-123

Reputation: 884

Including other frameworks in an own framework

I am building a framework using the tutorial described in here. My framework uses some third party frameworks.

When I am using this framework in a demo project, I get linker errors that symbols cannot be found for architecture etc. Probably the reason, is because in the demo project I should also link against those third party frameworks.

Now, I don't want to reveal to the users which frameworks/libraries I am using.

So my goal is:

  1. Adding those third party frameworks embedded inside my own framework without the need to link them again in the demo project.

  2. If the user tries to use one of my third party frameworks in his own project, there should not be duplicate symbols errors.

Is it possible?

P.S. The new Apple's iOS 8 frameworks do solve all my problems (I guess because they are linked dynamically), but unfortunately, they are not an option.

Thank you very much!

Upvotes: 2

Views: 911

Answers (1)

Kenshin
Kenshin

Reputation: 1030

Include your third parity frameworks path in LIBRARY_SEARCH_PATH

Upvotes: 1

Related Questions