Create universal framework with static library

断了今生、忘了曾经 提交于 2019-12-06 15:58:06

问题


I have created a framework which contains a static library inside:

The frameworks works in device, but simulator is started giving errors. Then i try to make the universal framework using script given here:

https://medium.com/@nishantnitb/writing-custom-universal-framework-in-xcode-9-and-ios-11-7a63a2ce024a

Now i can able to see universal framework:

But still not able to run in simulator, this framework is working in real device. It is giving error _OBJC_CLASS_$someclass", referenced from: in simulator.

Should i need to make universal to static library as well?If yes how can i add in my universal frameworks.

I hope i am able to explain my requirement. correct me if i am doing wrong.

Thanks in advance!!!

I Got the problem above, my framework in universal but my static library is not universal.

I am trying to make my static lib universal but not getting success. Any one know how to make both(my framework and static lib)universal

来源:https://stackoverflow.com/questions/51654530/create-universal-framework-with-static-library

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