Re: how to specify xcodebuild destination?
Re: how to specify xcodebuild destination?
- Subject: Re: how to specify xcodebuild destination?
- From: Ronald Oussoren <email@hidden>
- Date: Thu, 06 Dec 2012 17:08:19 +0100
On 6 Dec, 2012, at 16:07, Jean-Denis MUYS <email@hidden> wrote:
>
> On 6 déc. 2012, at 16:03, Fritz Anderson <email@hidden>
> wrote:
>
>> On 6 Dec 2012, at 3:05 AM, Jean-Denis MUYS <email@hidden> wrote:
>>
>>> The scheme editor currently shows the following available destinations:
>>>
>>> - iOS Device
>>> - iPad 5.1 Simulator
>>> - iPad 6.0 Simulator
>>> - iPad 6.1 Simulator
>>>
>>> Hmmm… Maybe this suggests that "destination" is a "Run" parameter, not a "Build" parameter.
>>>
>>> If you think I am confused, you are probably correct.
>>>
>>> So then, if I want to build "for the device" or "for the simulator", how should I proceed?
>>
>> This is untried, but the next thing I'd investigate is the -sdk option. Run "xcodebuild -showsdks" to see the options.
>>
>> — F
>>
>
> I did that, and it's enough: specifying the SDK will build the correct architecture(s).
>
> Last problem to solve: how to specify "latest SDK" as opposed to "iphoneos6.1"…
Leave of the version? On my machine 'xcodebuild -sdk macosx Path' shows the SDK path for the most recent OSX release. I'd be surprised if that didn't work for iphoneos as well.
Ronald
>
> Thanks,
>
> JD
>
>
>
> _______________________________________________
> 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