• 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: Updating a Build Number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating a Build Number


  • Subject: Re: Updating a Build Number
  • From: Marco S Hyman <email@hidden>
  • Date: Wed, 24 Jun 2009 13:41:18 -0700

On Jun 24, 2009, at 7:58 AM, Scott Tooker wrote:

If you are just looking to increment a simple build number, I'd strongly encourage you to look at the agvtool tool provided as part of Xcode Tools (man agvtool). This provides a convenient way to easily version different builds of you application without having to manually edit your Info.plist.

Would be nice if it worked... In a play project.

 marc@dumbcat:GeoTag[552]$ agvtool vers
 Current version of project GeoTag is:
     1.0


marc@dumbcat:GeoTag[553]$ agvtool mvers
No marketing version number (CFBundleShortVersionString) found for Jambase targets.


Looking for marketing version in native targets...
Looking for marketing version (CFBundleShortVersionString) in native targets...


Found CFBundleShortVersionString of "" in "GeoTag.xcodeproj/../ Info.plist"

That last is a lie:

 marc@dumbcat:GeoTag[554]$ grep CFBundleShortVersionString Info.plist
 marc@dumbcat:GeoTag[555]$

But the big lie is this:

 marc@dumbcat:GeoTag[555]$ agvtool new-marketing-version 1.0.0
 Setting CFBundleShortVersionString of project GeoTag to:
     1.0.0.

 Updating CFBundleShortVersionString in Info.plist(s)...

Updated CFBundleShortVersionString in "GeoTag.xcodeproj/../ Info.plist" to 1.0.0

Sure it did....

 marc@dumbcat:GeoTag[556]$ grep CFBundleShortVersionString Info.plist
 marc@dumbcat:GeoTag[557]$

/\/\arc

_______________________________________________
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: 
 >Updating a Build Number (From: Seth Willits <email@hidden>)
 >Re: Updating a Build Number (From: Chris Espinosa <email@hidden>)
 >Re: Updating a Build Number (From: Seth Willits <email@hidden>)
 >Re: Updating a Build Number (From: Scott Tooker <email@hidden>)

  • Prev by Date: Re: Code sign issues
  • Next by Date: Re: Using Snow Leopard for development (was: NSString Retain Count of 2147483647)
  • Previous by thread: Re: Updating a Build Number
  • Next by thread: Re: Updating a Build Number
  • Index(es):
    • Date
    • Thread