agvtool auto generated version source file - where art thou ?
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