• 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: Automatic build number incrementing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic build number incrementing


  • Subject: Re: Automatic build number incrementing
  • From: Dave Camp <email@hidden>
  • Date: Sun, 22 May 2005 13:49:51 -0700

Does agvtool not work (I've not tried it since upgrading)?

Dave

On May 21, 2005, at 7:50 PM, email@hidden wrote:

Yep, it's that time of year again where we do our annual "Why the bleep doesn't PB/Xcode have auto-incrementing build numbers yet?!? ...and how can we get around it?".

I've just retried all the old solutions from the list archives, using Perl, shell scripts & Apple scripts, but none of them work with Xcode 2.0, or don't work satisfactorily - i.e. I want to increment CFBundleVersion (and possibly CFBundleShortVersionString & CFBundleGetInfoString), not some arbitrary constant in some source file.

So, any ideas? I've tried exploring Xcode 2.0 in Applescript, but I still can't figure Applescript out (after nearly 10 years of trying... so much for "Joe Blow's scripting language"), and in any case the notes in Xcode's dictionary indicate all values regarding projects are read-only anyway. :(

My next thought is to add a shell script phase to edit the auto- generated Info.plist... but then I have to store a backup of it elsewhere (to avoid it being scraped when Xcode rebuilds), which introduces synchronisation issues et al... not pretty.

Wade Tregaskis (AIM/iChat, Yahoo & Skype: wadetregaskis, ICQ: 40056898, MSN, audio/video iChat & email: email@hidden, Jabber: email@hidden)
-- Sed quis custodiet ipsos custodes?


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40criticalpath.com


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Automatic build number incrementing
      • From: Matt Gillette <email@hidden>
References: 
 >Automatic build number incrementing (From: email@hidden)

  • Prev by Date: Re: CoreData relationships in IB
  • Next by Date: Re: CoreData relationships in IB
  • Previous by thread: Re: Automatic build number incrementing
  • Next by thread: Re: Automatic build number incrementing
  • Index(es):
    • Date
    • Thread