Re: Info.plist and Script phase
Re: Info.plist and Script phase
- Subject: Re: Info.plist and Script phase
- From: James Bucanek <email@hidden>
- Date: Thu, 7 Jun 2007 15:45:25 -0700
Gerd Knops <mailto:email@hidden> wrote (Thursday, June
7, 2007 3:19 PM -0500):
I need to modify Info.plist (either direct or indirect through include files) for every build.
Problem is that some program named
'com.apple.tools.info-plist-utility' expands and copies
Info.plist BEFORE any build scripts are run, so any
modifications a script might make is not reflected in the
Info.plist of the product.
Is there some way to run a script before 'com.apple.tools.info-plist-utility' does it's thing?
How about afterwards? Make a target that depends on the target
that builds your application/bundle/whatever. Have a Run Script
phase in that target modifies the Info.plist file in the product.
(As a general rule, build steps should not modify source files.
Targets should only produce intermediate files or modify products.)
_______________________________________________
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