问题
I have a large framework (in my case, opencv2.framework and >300 MB) that my iOS static library depends on. Currently, projects that depend on my static library also need to link the framework. Is it possible to create a single static library that includes the framework in the same .a file? Additionally, can the size of the library be reduced to only contain what it needs so my app is not >300 MB?
If it matters, I'm actually going to use this static library in an iOS binding project, so that it can be consumed by a Xamarin.iOS app.
来源:https://stackoverflow.com/questions/54729281/create-a-single-ios-static-library-file-that-includes-the-framework-it-depends-o