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 1279 - Apps with SDL_Image.framework get rejected from Mac App Store (easy fix included!)
Summary: Apps with SDL_Image.framework get rejected from Mac App Store (easy fix inclu...
Status: RESOLVED FIXED
Alias: None
Product: SDL_image
Classification: Unclassified
Component: misc (show other bugs)
Version: 1.2.10
Hardware: x86 Mac OS X 10.6
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 13:08 UTC by Vern Jensen
Modified: 2011-12-31 10:36 UTC (History)
1 user (show)

See Also:


Attachments
Changes the Xcode variable FRAMEWORK_VERSION from 1.3 to B (1.62 KB, patch)
2011-11-30 15:37 UTC, C.W. Betts
Details | Diff
Removes the underscore from SDL_image's product name (1.75 KB, patch)
2011-11-30 16:53 UTC, C.W. Betts
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vern Jensen 2011-08-16 13:08:21 UTC
Application Loader rejects any apps that include SDL_Image.framework, complaining that "SDL_Image is an invalid bundle identifier."

The solution is simple: rebuild the framework with "SDLImage" as the bundle identifier. 

Apparently it doesn't like underscores.
Comment 1 C.W. Betts 2011-11-30 15:37:35 UTC
Created attachment 735 [details]
Changes the Xcode variable FRAMEWORK_VERSION from 1.3 to B
Comment 2 C.W. Betts 2011-11-30 15:43:04 UTC
(In reply to comment #1)
> Created attachment 735 [details]
> Changes the Xcode variable FRAMEWORK_VERSION from 1.3 to B

Sorry, not used to this bugzilla: this patch is for a different issue.

As for renaming supporting SDL frameworks without an underscore, this could break linking with older apps. I think a static file link (e.g. ln -s SDLImage SDL_Image) might take care of it. If not, there's probably a linker flag that can be passed to make the framework be recognized as both SDL_Image and SDLImage, but default to SDLImage when built and linked to it.
Comment 3 C.W. Betts 2011-11-30 16:53:39 UTC
Created attachment 737 [details]
Removes the underscore from SDL_image's product name
Comment 4 Sam Lantinga 2011-12-31 10:36:03 UTC
Both of these fixes are in for all the SDL_* libraries I maintain.

Thanks!