We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 313

Summary: SDL 1.2.11 Framework version information incorrect
Product: SDL Reporter: Laurence Passmore <lmop>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.11   
Hardware: PowerPC   
OS: Mac OS X (All)   

Description Laurence Passmore 2006-08-28 09:39:58 UTC
The SDL 1.2.11 release for Mac OS X (http://www.libsdl.org/release/SDL-1.2.11.dmg) has incorrect versioning information; see SDL.framework/Resources/Info.plist:

	<key>CFBundleShortVersionString</key>
	<string>1.2.9</string>
        ...
	<key>CFBundleVersion</key>
	<string>1.2.10</string>

The incorrect CFBundleVersion in particular may cause issues if there are two installations of SDL.framework on the system (e.g. /Library/Frameworks and ~/Library/Frameworks).
Comment 1 Eric wing 2006-09-25 20:11:30 UTC
I just sent the fixes to Sam. I always forget to bump these up. Sorry.

But for the future, does anybody know if we can safely remove CFBundleShortVersionString from the Info.plist? I'm wondering if it does anything useful for us. I know the System Profiler (at least in Tiger) uses CFBundleVersion, but I don't know where the other one is used. Xcode provides a place in the GUI to edit the CFBundleVersion, but not CFBundleShortVersionString, so it is easy to miss/forget if you are not modifying the Info.plist directly. Also, the default Xcode templates don't seem to define the CFBundleShortVersionString so I'm wondering if we can just drop it.



Comment 2 Sam Lantinga 2006-09-26 11:18:42 UTC
I googled it and turned up this:
"Need to add the "CFBundleShortVersionString" key in your main Info.plist and put the version number here too. The Finder displays this in the Version column if you've got that enabled in your list views."