Re: xcodebuild sdk version mismatch
Re: xcodebuild sdk version mismatch
- Subject: Re: xcodebuild sdk version mismatch
- From: Damian Carrillo <email@hidden>
- Date: Sat, 21 Dec 2013 12:58:48 -0600
Thanks Joar, it worked like a charm. I hadn’t realized the xcodebuild destination had a one-to-one correspondence with the items in the dropdown menu to the right of the scheme selector in Xcode.
On Dec 21, 2013, at 12:12 AM, Joar Wingfors <email@hidden> wrote:
> 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