Re: xcodebuild sdk version mismatch
Re: xcodebuild sdk version mismatch
- Subject: Re: xcodebuild sdk version mismatch
- From: Joar Wingfors <email@hidden>
- Date: Fri, 20 Dec 2013 22:12:50 -0800
Damian,
You need to use the "-destination" parameter to specify which iOS Simulator to use. See the xcodebuild man page for details, including examples of command line invocations at the end.
Joar
On 20 dec 2013, at 15:35, Damian Carrillo <email@hidden> wrote:
> 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
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden