Create universal framework with static library

2019-04-16 18:28发布

问题:

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