Re: Command-line builds vs. Xcode preferences
Re: Command-line builds vs. Xcode preferences
- Subject: Re: Command-line builds vs. Xcode preferences
- From: Christiaan Hofman <email@hidden>
- Date: Fri, 7 Jan 2011 00:23:06 +0100
On Jan 6, 2011, at 23:01, Mel Walker wrote:
>
> On Jan 6, 2011, at 12:49 PM, Mark Wagner wrote:
>
>> Have you tried
>>
>> DEPLOYMENT_LOCATION=NO
>> TARGET_BUILD_DIR="/Users/buildbotuser/Desktop/BUILDER/build"
>> SYMROOT="/Users/buildbotuser/Desktop/BUILDER/build"
>> OBJROOT="/Users/buildbotuser/Desktop/BUILDER/build-objects" xcodebuild
>> -project "MyApp.xcodeproj" -target "MyApp" -configuration "Release"
>>
>> That's the normal way of passing environment variables to a
>> command-line program.
>
> They aren't environment variables, though, right?
>
Not to this command, but they are environment variables for the generated commands, such as the compiler.
> Regardless, it did not work.
>
> --
> Mel Walker <email@hidden>
Generally, when describing a problem, "it does not work" is not a sufficient and useful description.
The problem though is that you should not set TARGET_BUILD_DIR. Let the program set it, because otherwise it won't find the dependencies in the right location (the default value is $SYMROOT/$CONFIGURATION, not $SYMROOT).
Christiaan
_______________________________________________
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