Hello,
I have added a new integration testing target that uses XCTest to an older iOS project. I can run this target successfully through Xcode with a scheme named MyApp-Integration. When I try to run it from the command line, it seems to be picking the wrong simulator version to run against, even when I specify the SDK version. For example, my shell command looks like the following…:
xcrun xcodebuild -scheme MyApp-Integration -sdk iphonesimulator7.0 test
…and the output is the following:
2013-12-20 17:28:57.517 sim[26757:303] /Applications/Xcode.app/Contents/Developer/Platforms /iPhoneSimulator.platform/usr/bin/sim: Dead bootstrap subset. 2013-12-20 17:28:57.904 sim[26757:303] /Applications/Xcode.app/Contents/Developer/Platforms /iPhoneSimulator.platform/usr/bin/sim: Did not find an executable file at the path: '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer /SDKs/iPhoneSimulator6.1.sdk/Developer/usr/bin/xctest’
Am I missing something, or is the machinery not respecting my -sdk flag?
Thanks for any help you can provide,
Damian |