Question

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?

Was it helpful?

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

OTHER TIPS

Starting with XCode 6, you should sign each embedded framework first (sign inside, and then outside), and then sign the app. Make sure you have all the required values in your Info.plist files. There are more details in codesigning technote 2206

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top