Re: Updating a Build Number
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