Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [SOLVED]Mac App Upload Error: (freetype)  (Read 2141 times)

0 Members and 1 Guest are viewing this topic.

kipbits

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • https://en.sfml-dev.org/forums/index.php?action=profile;u=15614
[SOLVED]Mac App Upload Error: (freetype)
« 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
« Last Edit: December 16, 2015, 05:05:22 pm by kipbits »

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6155
  • Thor Developer
    • View Profile
    • Bromeon
Re: Mac App Upload Error: ¿Code-Signing?
« Reply #1 on: December 14, 2015, 03:55:58 pm »
How is this related to SFML? There are definitely better places to ask this question ;)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: first SFML book

kipbits

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • https://en.sfml-dev.org/forums/index.php?action=profile;u=15614
Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
« Reply #2 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
« Last Edit: December 14, 2015, 08:14:01 pm by kipbits »

kipbits

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • https://en.sfml-dev.org/forums/index.php?action=profile;u=15614
Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
« Reply #3 on: December 14, 2015, 08:09:22 pm »
it looks like some else had a similar problem.

although i don't really understand his solution.
« Last Edit: December 14, 2015, 10:11:35 pm by kipbits »

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4328
    • View Profile
    • Email
Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
« Reply #4 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.
SFML / OS X developer

kipbits

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • https://en.sfml-dev.org/forums/index.php?action=profile;u=15614
Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
« Reply #5 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.

  • CFBundleSupportedPlatforms => array,
  • item0 => MacOSX

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.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4328
    • View Profile
    • Email
Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
« Reply #6 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
SFML / OS X developer

kipbits

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • https://en.sfml-dev.org/forums/index.php?action=profile;u=15614
Re: Mac App Upload Error: ¿Code-Signing? ¿freetype?
« Reply #7 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.