We run xcodebuild on our CI system (jenkins, setup as slave on mac mini). We coped with this without problems last year. However, since we upgraded to Xcode 6.1.1, the build was unstable. About 50% of our builds fail, reporting:
Testing failed:
testXYZ encountered an error (Test process crashed)
An error test is different each time, so it seems to us that this is a problem with the tools, and not so much our tests.
To be complete, this is the command we use to run our tests:
xcodebuild -verbose -workspace our.xcworkspace \
-scheme OurScheme \
-destination="platform=iOS Simulator,name=iPhone Retina (4-inch),OS=7.1" \
-configuration Debug \
-sdk iphonesimulator ONLY_ACTIVE_ARCH=YES clean build test
Running a process manually on a CI machine seems less dodgy. Are there any new requirements since Xcode 6 is missing us?
================ EDIT
"destination":
-destination="platform=iOS Simulator,name=iPhone Retina (4-inch),OS=7.1"
-destination "platform=iOS Simulator,name=iPhone 4s,OS=7.1"
:
- , . , (iPhone 4s, iOS 7.0.3 ).
- iPhone 4s. -, Xcode 5 6. , , Window > Devices.
7.0.3, 7.1 .