I'm wondering if anyone can fix my problem? I'm trying to upload a project to the App Store. I'm using Xcode 7.1. I'm getting the following error related to code-signing freetype.

CodeSign /Users/me/Library/Developer/Xcode/DerivedData/SFML_App -xxxxxxxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Debug/SFML_App.app
cd /Users/me/Documents/cplusplus/sfml/SFML_App
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity:     "Mac Developer: me (xxxxxxxxxx)"

/usr/bin/codesign --force --sign xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --timestamp=none /Users/me/Library/Developer/Xcode/DerivedData/SFML_App-xxxxxxxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Debug/SFML_App.app

/Users/me/Library/Developer/Xcode/DerivedData/SFML_App-xxxxxxxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Debug/SFML_App.app: code object is not signed at all
In subcomponent: /Users/me/Library/Developer/Xcode/DerivedData/SFML_App-xxxxxxxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Debug/SFML_App.app/Contents/Frameworks/freetype.framework
Command /usr/bin/codesign failed with exit code 1

Any Ideas on how to fix this?

  • This question would attract more answers on StackOverflow because it involves software development. Dec 12, 2015 at 13:34

1 Answer 1


The error suggests a subcomponent is not signed. Use the --deep flag with codesign:


When signing a bundle, specifies that nested code content such as helpers, frameworks, and plug-ins, should be recursively signed in turn. Beware that all signing options you specify will apply, in turn, to such nested content. When verifying a bundle, specifies that any nested code content will be recursively verified as to its full content. By default, verification of nested content is limited to a shallow inves-tigation investigation tigation that may not detect changes to the nested code. When displaying a signature, specifies that a list of directly nested code should be written to the display output. This lists only code directly nested within the subject; anything nested indirectly will require recursive application of the codesign command.

Apple's Technical Note 2206: OS X Code Signing in Depth provides more insight.

  • Good to hear. Please could you mark this question as accepted. Dec 12, 2015 at 14:45
  • I still can't upload to the App Store. whenever i try i get the following error: An error occurred during validation Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for A. is this still related to freetype?
    – user125388
    Dec 12, 2015 at 19:12
  • Please can you ask a new question for this. Feel free to mention the question's link in the comments to help others link the two questions. Dec 13, 2015 at 0:26
  • 1
    new question: apple.stackexchange.com/questions/219349/…
    – user125388
    Dec 13, 2015 at 1:48

You must log in to answer this question.