• 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: 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
  • Follow-Ups:
    • Re: Info.plist and Script phase
      • From: Gerd Knops <email@hidden>
  • Prev by Date: Info.plist and Script phase
  • Next by Date: Re: Info.plist and Script phase
  • Previous by thread: Info.plist and Script phase
  • Next by thread: Re: Info.plist and Script phase
  • Index(es):
    • Date
    • Thread