CoreData: annotation: Failed to load optimized model at path '/Applications/Xcode-9.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPackaging.framework/Versions/A/Resources/XRPackageModel.momd/XRPackageModel 9.0.omo'
instruments[1071]: Waiting for device to boot...
2017-09-21 07:24:07.852 instruments[1071:7816] [MT] iOSSimulator: Could not launch simulator: -10825
2017-09-21 07:24:07.852 instruments[1071:7816] Error encountered while starting session for "iPhone 7 (11.0)" (0D045C34-F3A0-4320-AF2D-C327CE4CEB04): Error Domain=NSOSStatusErrorDomain Code=-10825 "kLSIncompatibleSystemVersionErr: The app cannot run on the current OS version"
Instruments Usage Error: No template (-t) specified
instruments, version 9.0 (63198)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
and later on when I attempt to run tests on the same simulator I receive the following error:
[07:29:22]: Ignoring 'iPhone 7 (11.0) [', couldn’t find matching simulator
[07:29:22]: Couldn't find any matching simulators for '["iPhone 7 (11.0) ["]' - falling back to default simulator
[07:29:22]: Found simulator "iPhone 5 (10.3)"
Another interesting fact, the devices listed when passing an invalid device does not contain an iPhone 5 (10.3) but does contain an iPhone 5 (10.3.1) so I’m not sure where xcrun and xcodebuild are looking for these devices but it doesn’t seem to be the correct location.
Can someone help me find out what I’m doing wrong here?
Hi DanToml thanks for the response. I tried switching to xcrun simctl boot "iPhone 7 (11.0) [" and we are still seeing Invalid device: iPhone 7 (11.0) [
Thanks
Alright, it looks like they did update, so the Mac OS portion of the error should be gone using xcrun instruments. That being said I still get errors when trying to use scrub simctl boot. For the moment I’m planning to remove both and hope exit 65’s don’t come back.
That being said, now that the Mac OS version is correct I’m onto new problems. Looks like scan from fast lane is having issues finding a specific version of a simulator with Xcode 9. Open task is here for anyone interested.