• 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
Access Build Settings in a User Script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Access Build Settings in a User Script?


  • Subject: Access Build Settings in a User Script?
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 17 Nov 2008 10:39:06 -0800

It seems that things like build settings should be available in User Scripts, but the only way I've found to get these is, for example, the following kludge which calls out to AppleScript and then back in to Xcode...

SOURCE_ROOT=`osascript -e "tell application \"Xcode\" to return value of flattened build setting \"SRCROOT\" of build configuration \"Release \" of active target of item 1 of projects"`

It seems there should be a more "introspective" way to get such settings?

Motivation: An Apple article [1] gives a script for running Doxygen and loading output into Xcode as part of a Shell Script Build Phase. But I want my documentation for ^me^, while I'm writing code. The project I'm now working on will not be buildable for a few weeks, but I update documentation constantly. Therefore, I'd like the ability to run Doxygen and load updated output from a User Script.

Thanks,

Jerry Krinock

[1]  http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
_______________________________________________
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: Access Build Settings in a User Script?
      • From: Etienne GuĂ©rard <email@hidden>
  • Prev by Date: Re: release and reference counting query
  • Next by Date: RE: Access Build Settings in a User Script?
  • Previous by thread: Re: release and reference counting query
  • Next by thread: RE: Access Build Settings in a User Script?
  • Index(es):
    • Date
    • Thread