Re: Yah! First post. Xcode tastes great and is less filling...
Re: Yah! First post. Xcode tastes great and is less filling...
- Subject: Re: Yah! First post. Xcode tastes great and is less filling...
- From: Scott Tooker <email@hidden>
- Date: Fri, 24 Oct 2003 22:34:36 -0700
Both pbxbuild and xcodebuild exist in /usr/bin.
So you could do something like...
if [ -f /usr/bin/xcodebuild ] ; then
BUILDTOOL="xcodebuild"
else
BUILDTOOL ="pbxbuild"
fi
Scott
On Oct 24, 2003, at 6:22 PM, Dave Rehring wrote:
> All your code are belong to us.
>
> :-) Carry on with your regularly scheduled programming...
>
> [ok, it's the second post...]
>
> Anyway, to actually be on-point, we've got an automated build script
> and I'd
> like it to work under both 10.2 and 10.3, so it's got to either execute
> pbxbuild or xcodebuild.
>
> What is a good way to determine which tool to run [ ie, do a 'whereis
> xcodebuild' and if found, then use it]?
>
> Later,
> --
> David Rehring Psychos do not explode when light hits
> VP of Research and Development them, no matter how crazy they are...
> Atimi Software, Inc.
> www.atimi.com And totally insane guy!
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.