• 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: Question about Info.plist's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about Info.plist's


  • Subject: Re: Question about Info.plist's
  • From: Marco S Hyman via Cocoa-dev <email@hidden>
  • Date: Wed, 19 Aug 2020 11:30:10 -0700

On Aug 19, 2020, at 11:11 AM, Saagar Jha via Cocoa-dev
<email@hidden> wrote:
>
> Which file are you modifying? The one in your source directory? Because the
> one that goes in the final product doesn’t get copied over until after you’ve
> lost most control over the build process (it’s done by Xcode after the normal
> build stages).

My build script generates the values for CFBundleBuildVersion,
CFBundleShortVersionString, and CFBundleVersion.  It uses PlistBudy to update
the values.  The plist it updates is

   # Run Script build phases that operate on product files of the target that
defines
   # them should use the value of this build setting [TARGET_BUILD_DIR].
   #
   INFO_PLIST="${TARGET_BUILD_DIR}/${INFOPLIST_PATH}”

Works a charm.

Marc
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Question about Info.plist's (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)
 >Re: Question about Info.plist's (From: "Glenn L. Austin via Cocoa-dev" <email@hidden>)
 >Re: Question about Info.plist's (From: Owen Hartnett via Cocoa-dev <email@hidden>)
 >Re: Question about Info.plist's (From: Saagar Jha via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: Question about Info.plist's
  • Next by Date: Re: Question about Info.plist's
  • Previous by thread: Re: Question about Info.plist's
  • Next by thread: Re: Question about Info.plist's
  • Index(es):
    • Date
    • Thread