I am using the SenTestingKit to Unit Test, but I get the following message
Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
How can I do this?
You need to have a Host Application
Note that the image is pointing to the
General
tab of Test target's configurations.
Logic tests only work on the simulator, you need to switch to the simulator, i.e.
Logic tests require a special unit test launcher which is not installed on actual devices.
If you want to run your tests on an actual device you can convert to application unit tests. These are essentially the same but you application gets launched first (as a 'host') and your tests get run along side them. This means your tests can run on any device that your application supports. The only disadvantage is that your actual app will be running which can interfere with your test, especially if you use a lot of notifications.
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