Re: Build Scripts
Re: Build Scripts
- Subject: Re: Build Scripts
- From: koko <email@hidden>
- Date: Sat, 25 Aug 2012 15:31:23 -0600
Thanks so much …
-koko
On Aug 25, 2012, at 2:41 PM, Chris Hanson wrote:
> On Aug 25, 2012, at 1:27 PM, Chris Hanson <email@hidden> wrote:
>
>>
>> On Aug 25, 2012, at 12:52 PM, koko <email@hidden> wrote:
>>
>>> I have a build script:
>>>
>>> #!/bin/bash
>>> cd /volumes/repos/_working/LibZLIB/_XC42
>>> echo "Buliding LibZLIB Release"
>>> xcodebuild clean build -target LibZLIB -configuration Release
>>> echo "Finished Buliding LibZLIB Release"
>>>
>>>
>>> How can I specify the version of xcode to be called by xcodebuild?
>>
>> You can use xcrun(1) and the DEVELOPER_DIR environment variable to do that:
>
> I should also mention that /usr/bin/xcodebuild in modern Xcode will basically call through xcrun itself, so you won’t need to xcrun it. This is not the case for all tools though, so using xcrun to execute developer tools from “the user’s Xcode” or “the specified Xcode” is a good habit to get into.
>
> -- Chris
>
>
> _______________________________________________
> 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