• 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: Info.plist and Script phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Info.plist and Script phase


  • Subject: Re: Info.plist and Script phase
  • From: Gerd Knops <email@hidden>
  • Date: Thu, 7 Jun 2007 18:26:59 -0500


On Jun 7, 2007, at 5:45 PM, James Bucanek wrote:

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.)

That'll do... Thanks!

_______________________________________________
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


References: 
 >Re: Info.plist and Script phase (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Info.plist and Script phase
  • Next by Date: trouble with dirty files over network?
  • Previous by thread: Re: Info.plist and Script phase
  • Next by thread: trouble with dirty files over network?
  • Index(es):
    • Date
    • Thread