Hi All: We've added Unit tests to our iOS project and want them to run when the build completes. We're having problems trying to run the tests.
So we have a Xcode step in our Jenkins configuration. The custom build options are: -destination 'platform=iOS Simulator,name=iPhone 6' test. At the end of the build, which is successful, we get the following error: xcodebuild: error: Failed to build workspace xxxxxx with scheme xxxxxx. Reason: A build only device cannot be used to run this target. Build step 'Xcode' marked build as failure Recording test results ERROR: Publisher 'Publish JUnit test result report' failed: No test report files were found. Configuration error? Build step 'Upload to HockeyApp' marked build as failure There is a device connected to the computer running Jenkins if that is of any importance. Is there anything else we need to do to get our unit tests to run? Is there a current URL describing the process? The one I read on wiki.jenkins... referred to iOS 4.1, a little old. Thanks in advance for your time. Best Regards John -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/48752ebe-ede7-468f-941b-a443bd584db6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.