Hi all.

My app just started crashing on launch, and I traced it to this call
returning nil:

        NSString* versionString = [[NSBundle mainBundle]
objectForInfoDictionaryKey:(NSString*)kCFBundleVersionKey];

Anyone know why this would suddenly start happening?  Looking in the
app's plist, there's no mention of a bundle version, short or
otherwise.  But I didn't manually edit this file since the application
last worked.

You can set a version on the target's Summary tab, so I tried that.
It didn't do anything; the returned string is still nil.  What is the
point of this field?

Any insights appreciated.

Gavin
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to