• 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
agvtool auto generated version source file - where art thou ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

agvtool auto generated version source file - where art thou ?


  • Subject: agvtool auto generated version source file - where art thou ?
  • From: "email@hidden" <email@hidden>
  • Date: Tue, 1 Dec 2009 21:41:43 +0000

I use a couple of auxiliary executable foundation tools in my app.
I have been setting their plists as text sections with the following Other Linker Flag:

-sectcreate __TEXT __info_plist "MyServer-Info.plist"

MyServer needs to know if it has been upgraded from another version.
So I retrieve CFBundleVersion from the plist and proceed accordingly.

Before a release I use agvtool to update the CFBundleVersion of my 25 or so *-info.plists.
I can get agvtool to report that it has updated the CFBundleVersion for MyServer-Info.plist  by utilising  the build setting INFOPLIST_FILE = MyServer-Info.plist.
I know my tool isn't a bundle but it seems to satisfy agvtool.
However, even though agvtool reports that CFBundleVersion has been updated in MyServer-Info.plist the truth is otherwise - no change.

Tthe agvtool docs it mentions an auto generated c file containing the versioning info.
This will do the trick in the absence of a valid CFBundleVersion, except the auto generated C source never seems to appear.

Does anyone know how to to bring it in from the cold?

Regards

Jonathan Mitchell

Developer
http://www.mugginsoft.com






 _______________________________________________
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

  • Follow-Ups:
    • Re: agvtool auto generated version source file - where art thou ? [SOLVED]
      • From: "email@hidden" <email@hidden>
  • Prev by Date: thread safety of C++ standard library
  • Next by Date: Re: Converting Xcode paths to usable paths
  • Previous by thread: Re: thread safety of C++ standard library
  • Next by thread: Re: agvtool auto generated version source file - where art thou ? [SOLVED]
  • Index(es):
    • Date
    • Thread