iOS9: Using dynamic framework with Simulator and Device

Viewed 4115

I created a dynamic cocoa framework that I would like to use across my apps.

After I build the framework for an actual device, I bring it over to an app. I can only run the app on that device.

When I try to run it on a simulator, framework files are not recognized. I get error messages: 'ViewController' is unavailable: cannot find swift for declaration for this class

I tried building the framework for an iPhone 6 simulator and running the app on an iPhone 6 simulator, but the same problem persists.

How can I create/build a single framework that I can bring into any app and be able to use it on a simulator and a device?

1 Answers
Related