I am puzzled at where my CFBundleShortVersionString comes from.
Right now, I try to obtain the current version number (to display it in a configure sheet) using this code:
NSBundle * bundle = [NSBundle mainBundle];
NSString * version;
version = [[bundle infoDictionary]
objectForKey:@"CFBundleShortVersionString"];
The funny thing is: although I have the version number 1.8 in my Info.plist (both as bundle versions strings, short, and as normal bundle version), I still get "1.7.4" from the bundle ...
I also tried to find if there is the string 1.7.4 anywhere in my project doing this:
grep 1.7.4 */*
But did not find it.
Can anybody explain to me where that funny version string might come
from?
BTW: my project is a screen saver. Thanks a lot in advance. Best regards, Gabriel.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
