• 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
Differences between building within the IDE and via xcodebuild
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Differences between building within the IDE and via xcodebuild


  • Subject: Differences between building within the IDE and via xcodebuild
  • From: Michael Cashwell <email@hidden>
  • Date: Wed, 15 Sep 2004 11:18:34 -0400

Greetings all,

I have absolute paths set for the "Place Build Products In" and "Place Intermediate Build Files In" settings in the General tab of my Xcode (1.5) project. These are honored when I build within the IDE. But because my installed products include a root-owned kext I must build the real McCoy via "sudo xcodebuild ... install". However, when I do that those settings are ignored and the default paths are used.

I suspect I can override the BUILD_DIR and BUILD_ROOT variables by adding them to the xcodebuild command line, but I don't know those are the most basic variables from which all the other incorrect ones are derived. And even if that approach worked, it's lame because I'd be duplicating settings within my install-build script and within the project. That's just asking for mistakes down the road. I'd also be worried about what other settings I think my project file specifies that are being silently ignored by the xcodebuild tool.

Has anyone else seen this? Are these differences between an in-GUI build and a command line xcodebuild intentional and documented? Is it a bug? Does anyone know of a work around to make the environment between these two ways of building the same short of identifying the differences and duplicating a bunch of settings?

Thanks,
Mike

_______________________________________________
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: Differences between building within the IDE and via xcodebuild
      • From: Anders Bertelrud <email@hidden>
  • Prev by Date: Re: Known bugs?
  • Next by Date: Re: Known bugs?
  • Previous by thread: Re: FAQ: How do you debug a C++ Standard Tool Application?
  • Next by thread: Re: Differences between building within the IDE and via xcodebuild
  • Index(es):
    • Date
    • Thread