Search code examples
xcodecore-plotcodesignentitlements

Xcode: code sign identity - core plot framework for sandbox entitlements


I transfered my mac app to itunes connect and received following message:

App sandbox not enabled - The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list. Refer to the App Sandbox page for more information on sandboxing your app.

So, I enabled the sandbox entitlements and run the build. I got the notice:

CODE_SIGN_ENTITLEMENTS specified without specifying CODE_SIGN_IDENTITY. It is not possible to add entitlements to a binary without signing it.

Next, I selected the provisioning profile from target -> build settings and run again. So, I got a error that means my code sign identity isn't correct, maybe during I compiled the core-plot framework.

code object is not signed at all... In subcomponent: ./Contents/Frameworks/CorePlot.framework ... Command /usr/bin/codesign failed with exit code 1

How I can do it sign?


Solution

  • Ok, I found the answer...

    Alright, to sign the framework I added --deep to the Target -> Build Settings -> Other >Code Signing Flags.

    enter image description here