• 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: Using defaults command to modify Info.plist changes permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using defaults command to modify Info.plist changes permissions


  • Subject: Re: Using defaults command to modify Info.plist changes permissions
  • From: Shawn Erickson <email@hidden>
  • Date: Mon, 14 Sep 2009 15:03:07 -0700



On Mon, Sep 14, 2009 at 2:52 PM, email@hidden <email@hidden> wrote:

One of build phase script includes the perl variant of the following terminal command to inject a build number into my info.plist
 
If you can get the build number into a build setting then you can access it in the Info.plist which will be preprocessed before being copied into your applications bundle. We have an xcconfig file with our build number, etc. that gets modified at the time of build as needed but before we build. You can of course pass the build setting into a build if that works better for you.

For example...

<key>CFBundleDisplayName</key>
<string>MyProduct ($(MY_BUILD_NUMBER))</string>

> xcodebuild ... build MY_BUILD_NUMBER=555

-Shawn
 _______________________________________________
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: 
 >Using defaults command to modify Info.plist changes permissions (From: "email@hidden" <email@hidden>)

  • Prev by Date: Using defaults command to modify Info.plist changes permissions
  • Next by Date: Build results window does not close
  • Previous by thread: Using defaults command to modify Info.plist changes permissions
  • Next by thread: Re: Using defaults command to modify Info.plist changes permissions
  • Index(es):
    • Date
    • Thread