Create a single iOS static library file that includes the framework it depends on

孤街醉人 提交于 2019-12-13 04:34:24

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!