Cross-posting from here, from the issue I created on the github project jverkoey/iOS-Framework. It seems to get you 90% of the way, in regards to making a nice .framework for iOS to distribute to third-parties.
But what if you're distributing other third-party SDKs in your .framework? Is there a way to include .a, .framework, and other .dylib files that these other third-party SDKs have, directly into your .framework?
Is it possible to have other third-party frameworks wrapped by the framework that you create, as outlined in this project that may have things like:
- .a files
- other .framework files
- other .dylib files
So that devs using your framework, wouldn't have to manually add .a, .framework, and .dylib files from the third-party libraries your framework wraps?
I'd love to be schooled in why this is not possible, if so, for each of those files.
Resources:
- https://stackoverflow.com/a/4733885/5716 regarding .dylib files is true?
- https://stackoverflow.com/a/8170851/5716 regarding .a files, possible? Sane?
- ObjC: How to compile static library that includes optional classes that depend on a third party library regarding other static libraries in yours, ugh