• 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
CFBundleShortVersionString mystery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: CFBundleShortVersionString mystery
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: NSTableView flashes when updated
  • Next by Date: Re: CFBundleShortVersionString mystery
  • Previous by thread: Re: clicks in webview
  • Next by thread: Re: CFBundleShortVersionString mystery
  • Index(es):
    • Date
    • Thread