RE: Access Build Settings in a User Script?
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