Re: Info.Plist and Build order
Re: Info.Plist and Build order
- Subject: Re: Info.Plist and Build order
- From: Greg Guerin <email@hidden>
- Date: Wed, 25 Mar 2009 10:19:37 -0700
Trygve Inda wrote:
So how can I make a target that only runs a script (to set up
#defines) and
then compiles a plist, inserting it into my previously prepared
target?
Xcode 3.1.2, Project menu, New Target...
Select "Other" in the list, choose Shell Script Target.
Fill in the requested information until finished.
I can create a run script only build (step B), but am not sure how
to create
a target for step C.
First, you'll have to explain what you're doing now. All you've said
about it is it's an Info.plist with a #include, and it's a compile/
prepare step.
Info.plist pre-processing is carried out by running the C compiler's
pre-processor (you can see this in the build log of your project).
The gcc command has a command-line option to do this. Read the man
page for gcc, and look in the detailed build log for what it does now.
Also, see this:
http://developer.apple.com/technotes/tn2007/tn2175.html
and google keywords:
xcode plist pre-process
-- GG
_______________________________________________
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