I want to run XCTests
on a device which is written for framework project. XCTests
allows you to run on a device for an application, but if I also try it for a framework,it shows an error:
Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
I saw other posts mentioning the same but they were related to application projects. With latest XCTests
you can easily run your unit test cases written for a application on a device, but it's not allowed in a framework/library project.
Is there any way to make it run on a device? I am using some frameworks within project which are not available for simulator. Thanks!
Create a simple app that does nothing but link in your framework. Use it as your test host.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With