CFBundleShortVersionString mystery
CFBundleShortVersionString mystery
- Subject: CFBundleShortVersionString mystery
- From: Gabriel Zachmann <email@hidden>
- Date: Wed, 23 Sep 2009 16:42:51 +0200
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.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden