Include an iOS Framework into another one

会有一股神秘感。 提交于 2019-12-11 05:06:04

问题


The problem is that when I create a framework for iOS, that uses a different framework, I have to also include the second framework in my application.

What I want to try is to compile the second framework into the new one that uses it. so it's all one package. Is this even possible?

If so, how?


回答1:


It's possible but strongly recommended against. If two frameworks both include another framework in this manner, you wouldn't be able to use both in the same project as the symbols would conflict. https://stackoverflow.com/a/14197817/72176

If the second framework is licensed in a way that it can't be given away separately with your framework, I'd be very surprised if you were permitted to distribute it as part of your framework either.



来源:https://stackoverflow.com/questions/19155986/include-an-ios-framework-into-another-one

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