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 12:45:11 +0100
On Jan 7, 2011, at 2:33, Mel Walker wrote:
>
> On Jan 6, 2011, at 3:23 PM, Christiaan Hofman wrote:
>
>>
>> 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.
>
> Very well. The same result occurred as before, which was a lot of compile/build/link errors.
>
>> 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).
>
>
> It looks like I'll have to build each and every one of the 53 sub-projects individually, which is what I was hoping to avoid. As I said, complicated project.
>
> Thanks, everyone.
>
> --
> Mel Walker <email@hidden>
If things are set up correctly, you should not need to do that. Of course, I cannot say whether things are set up correctly.
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