SFML community forums

Help => General => Topic started by: kipbits on December 14, 2015, 03:48:24 pm

Title: [SOLVED]Mac App Upload Error: (freetype)
Post by: kipbits on December 14, 2015, 03:48:24 pm
I'm wondering if anyone knows how to upload an app to the Mac App Store? I'm trying to upload a game before the holidays. I've had some issues uploading my project thought. First, I had a code-siginig failure for freetype when signing my project. I found a solution using the code-signing flag --deep. But when I go to upload to the App Store i still get a validation error:

Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for A

any Ideas?

Thanks

Addition:
   here is the link to the stackexchange question (http://apple.stackexchange.com/questions/219349/mac-app-store-upload-fail-validation-error-sfml)
Title: Re: Mac App Upload Error: ¿Code-Signing?
Post by: Nexus on December 14, 2015, 03:55:58 pm
How is this related to SFML? There are definitely better places to ask this question ;)
Title: Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
Post by: kipbits on December 14, 2015, 08:05:42 pm
Isn't freetype a dependency for sfml?
I've posted a question on stackeschange: http://apple.stackexchange.com/questions/219349/mac-app-store-upload-fail-validation-error-sfml (http://apple.stackexchange.com/questions/219349/mac-app-store-upload-fail-validation-error-sfml)
Title: Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
Post by: kipbits on December 14, 2015, 08:09:22 pm
it looks like some else had a similar problem (http://en.sfml-dev.org/forums/index.php?topic=13993.msg98007#msg98007).

although i don't really understand his solution (http://stackoverflow.com/questions/20864559/malformed-freetype-framework-in-sfml-mac-app/20876352#20876352).
Title: Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
Post by: Hiura on December 14, 2015, 09:15:28 pm
I'm not familiar with application signing but there seems that Google is able to find many related things to your error. What have you tried?

If you find the root of your issue and it's indeed an issue with SFML's dependencies, please let me know.
Title: Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
Post by: kipbits on December 15, 2015, 09:06:19 pm
I fixed it!
The problem was that I had only edited my project-info.plist. I went and added the same lines for to the info.plist's for freetype.frameworks and sndfile.framework.


Seems to have done the trick.



ON A SIDE NOTE: i'm now getting this warning that SFML is using a deprecated audio unit

WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
Title: Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
Post by: Hiura on December 15, 2015, 09:21:43 pm
Thanks, I've opened an issue for that: https://github.com/SFML/SFML/issues/1020 Note that the latest SFML version doesn't use sndfile anymore. If you've got a patch for all deps, that'd be great!  :)

Regarding the deprecation warning, it was already reported here: https://github.com/SFML/SFML/issues/1000
Title: Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
Post by: kipbits on December 16, 2015, 04:52:27 am
sure, I assume its the same for all of them. I'm actually still having some issues getting my App submitted, I'll have a look at it after I get this first problem fixed.