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

RE: Access Build Settings in a User Script?


  • Subject: RE: Access Build Settings in a User Script?
  • From: Etienne GuĂ©rard <email@hidden>
  • Date: Mon, 17 Nov 2008 13:51:49 -0500
  • Thread-topic: Access Build Settings in a User Script?

Build settings are passed to your script as environment variables.
So that you can access them directly.
For example: $SRCROOT should be a simple replacement for your Applescript. ;)

EG

-----Original Message-----
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"`

------------------------------------------------------------
This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither DxO Labs nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. DxO Labs et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, modifie ou falsifie.

 _______________________________________________
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: Jerry Krinock <email@hidden>
References: 
 >Access Build Settings in a User Script? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Access Build Settings in a User Script?
  • Next by Date: Re: Access Build Settings in a User Script?
  • Previous by thread: Access Build Settings in a User Script?
  • Next by thread: Re: Access Build Settings in a User Script?
  • Index(es):
    • Date
    • Thread