SFML community forums
Help => General => Topic started by: zenroth on May 14, 2012, 10:30:08 pm
-
So I was trying to submit a Mac version of one of our games which is using SFML to the Mac App Store, but the binary is being rejected due to the following:
Malformed Framework - The framework bundle (OurApp.app/Contents/Frameworks/sfml-audio.framework/Versions/2.0.0) must contain a symbolic link 'sfml-audio' -> 'Versions/Current/sfml-audio'. Refer to the Anatomy of Framework Bundles for more information.
Malformed Framework - The framework bundle (OurApp.app/Contents/Frameworks/sfml-audio.framework/Versions/2.0.0) must contain a symbolic link 'Resources' -> 'Versions/Current/Resources'.
I get this for each and every SFML framework included in the project.
Incidentally I also get a warning that the frameworks aren't signed, and don't have code signatures.
If I remember correctly I made these frameworks using the pre-release 2.0 code base and using command line cmake to make make files.
Any help would be most appreciated.
-
I don't know the exact requirements so if you have a pointer to an official document I would be grateful.
However, I'm not sure if I can do something about this because cmake handles all the process of building the frameworks.
-
I'm not sure what the issue with them is either. I tried remaking symlinks and such but ran into no success. The link that is provided is:
http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html
Incidentally the sound file framework doesn't have this issue, its just the SFML frameworks.
In the end I went with the dylib versions, though I had to rename them to get them to load up properly from a app bundle, when not present on the system.
-
Incidentally the sound file framework doesn't have this issue, its just the SFML frameworks.
I'm confused : in your first post you said there were errors with sfml-audio.
IF it's only «SFML.framework» that has issues then simply don't link to this one. (It contains only headers and is not required at all at runtime.)
-
Sorry, no all SFML frameworks have this problem.
I mean the libsound third pary framework doesn't have this issue. Their framework is magically correct for whatever reason.
-
libsound
?? did you mean libsndfile ?
Could you list the exact names of the frameworks that do not work ?