• 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 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

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>)
 >Re: Command-line builds vs. Xcode preferences (From: Christiaan Hofman <email@hidden>)
 >Re: Command-line builds vs. Xcode preferences (From: Mel Walker <email@hidden>)

  • Prev by Date: Xcode 3.2.5 keeps crashing
  • Next by Date: Need an update for Bug- Target dependencies are essentially read-only from AppleScript until a fix is released
  • Previous by thread: Re: Command-line builds vs. Xcode preferences
  • Next by thread: Re: Command-line builds vs. Xcode preferences
  • Index(es):
    • Date
    • Thread