Re: Versioning
Re: Versioning
- Subject: Re: Versioning
- From: Robert Cerny <email@hidden>
- Date: Sat, 21 Feb 2004 11:11:49 +0100
Hi,
you really got it to update the number? How? I believe I have the
answer on your question - you can use $(CFBundleVersion) to update the
strings.
Robert
On 21.2.2004, at 7:09, m wrote:
>
So I've been wrestling with agvtool for a few hours now.
>
>
As near as I can tell, agvtool does _something_ (it changes a project
>
setting named "Current Project Version"), but it seems to have
>
absolutely no effect on the version strings in "Info.plist" or
>
"InfoPlist.strings", which are the ones I'm really interested in...
>
>
Bug? User error? Wrong tool? Unrealistic expectations? Who knows?
>
>
_murat
>
>
On Feb 20, 2004, at 8:50 AM, Robert Cerny wrote:
>
>
> Hi,
>
> according to Eric's posts (which aren't on-line because he sent them
>
> to
>
> my address only) you're wrong. The way of using agvtool I was naming
>
> "offline". It means:
>
> a] close the current project
>
> b] go to project directory in Terminal
>
> c] execute agvtool with needed options
>
>
>
> Eric responded, that this way is obsolete and now you can use agvtool
>
> in automatic mode while project is open. The only problem is that his
>
> latest reply was:"check agvtool help for more info"
>
>
>
> Regards
>
> Robert
>
>
>
>
>
> On 20.2.2004, at 16:52, Mark Eissler wrote:
>
>
>
>> I don't understand what you mean about "the various versions
>
>> scattered
>
>> throughout a project." agvtool isn't designed for versioning of
>
>> source. It is build specific AFAIK. So when you are preparing a build
>
>> (let's say for release) you would use agvtool to increment the build
>
>> number and then recompile so that the build number shows up properly
>
>> in your about box, in the finder, etc.
>
>>
>
>> The key is that you have to run agvtool while xcode is not running. I
>
>> think this was supposed to be fixed but I find if xcode is running,
>
>> even if I have closed my project, after running agvtool xcode will
>
>> complain that my project has been edited (or changed) outside of the
>
>> app. You must also recompile in order for the build numbers to be
>
>> reflected in your built app.
>
>>
>
>> As for versioning your source, I think the most common way to do it
>
>> is
>
>> with cvs and it integrates quite nicely with PB and xcode...except
>
>> for
>
>> those nib files. :-(
>
>>
>
>> -mark
>
>>
>
>> On Feb 20, 2004, at 9:14 AM, Jeff LaMarche wrote:
>
>>
>
>>> Has anyone ever seen a tutorial or detailed description of
>
>>> versioning
>
>>> for Cocoa apps? I'm a little confused about the specific purposes of
>
>>> the various versions scattered throughout a project, and about the
>
>>> use of agvtool. Is this one of those things that you just have to
>
>>> muddle through with the agvtool man page and the information
>
>>> scattered throughout the ADC documentation, or has somebody put it
>
>>> all together someplace from where it can be more easily digested?
>
>>>
>
>>> TIA,
>
>>> Jeff
>
>>> _______________________________________________
>
>>> cocoa-dev mailing list | email@hidden
>
>>> Help/Unsubscribe/Archives:
>
>>> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
>>> Do not post admin requests to the list. They will be ignored.
>
>>>
>
>> --
>
>> Mark Eissler, email@hidden
>
>> Mixtur Interactive, Inc.
>
>> _______________________________________________
>
>> cocoa-dev mailing list | email@hidden
>
>> Help/Unsubscribe/Archives:
>
>> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
>> Do not post admin requests to the list. They will be ignored.
>
>
>
> [demime 0.98b removed an attachment of type
>
> application/pkcs7-signature which had a name of smime.p7s]
>
> _______________________________________________
>
> cocoa-dev mailing list | email@hidden
>
> Help/Unsubscribe/Archives:
>
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
> Do not post admin requests to the list. They will be ignored.
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.