• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Command-line builds vs. Xcode preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Command-line builds vs. Xcode preferences
      • From: Mel Walker <email@hidden>
References: 
 >Command-line builds vs. Xcode preferences (From: Mel Walker <email@hidden>)
 >Re: Command-line builds vs. Xcode preferences (From: Mark Wagner <email@hidden>)
 >Re: Command-line builds vs. Xcode preferences (From: Mel Walker <email@hidden>)

  • Prev by Date: Re: Command-line builds vs. Xcode preferences
  • Next by Date: Re: Command-line builds vs. Xcode preferences
  • Previous by thread: Re: Command-line builds vs. Xcode preferences
  • Next by thread: Re: Command-line builds vs. Xcode preferences
  • Index(es):
    • Date
    • Thread