Re: Any documentation on how to use Xcode's $MACROs?
Re: Any documentation on how to use Xcode's $MACROs?
- Subject: Re: Any documentation on how to use Xcode's $MACROs?
- From: Prachi Gauriar <email@hidden>
- Date: Wed, 21 Dec 2005 14:07:08 -0600
On Dec 21, 2005, at 1:37 PM, Tommy Nordgren wrote:
Dec 21, 2005 kl. 6:41 PM skrev George Warner:
On Tue, 20 Dec 2005 21:12:53 -0800, Jerry Krinock <email@hidden>
wrote:
In poking through my project's target I see that the
automatically-generated
values use macros in parentheses like:
$(PROJECT_DIR)
$(SRCROOT)
and in Info.plist I see macros in curly brackets like
${PRODUCT_NAME}
${EXECUTABLE_NAME}
They would probably be quite useful to me if someone could point
me at their
documentation. A complete list of them would be nice!
If you add a "New Run Script Build Phase" to your target then when
you build
you can see all those definitions in the "Build Results" windows
transcript
pane (you can toggle the transcript pane by clicking the third
small icon in
the horzional divider bar; the first icon is a checkmark, the
second a
yellow caution triangle and the third looks like small lines of
text).
by creating a custom script phase, setting the shell to /usr/bin/
perl, and entering:
open (FH,">XCodeVars.txt");
for my $i (keys %ENV) {
my $e = $ENV{$i};
print FH "$i : $e\n";
}
close FH;
you can get a nice file dump of all XCODE environment vars.
I might be missing something, but couldn't you replace this script
with a /bin/sh script like:
printenv > XcodeVars.txt
-Prachi
_______________________________________________
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