美文网首页
解决 ERROR ITMS-90296

解决 ERROR ITMS-90296

作者: 张嘉夫 | 来源:发表于2017-01-04 10:47 被阅读439次

    如果你的 App 包含了 .entitlements 并且启用了沙盒,但上传到 App Store 时仍然出现如下错误的话:

    ERROR ITMS-90296: "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: [( "com.app.pkg/Payload/AppName.app/Contents/MacOS/AppName" )] Refer to App Sandbox page at https://developer.apple.com/devcenter/mac/app-sandbox/ for more information on sandboxing your app."

    那就打开终端然后执行如下命令:

    • cd /yourprojectdirectory
    • codesign --entitlements entitlements.plist -v -f -s "3rd Party Mac Developer Application: xxx xxx (XXXXXXXXXX)" yourappname.app
    • productbuild --component yourappname.app /Applications --sign "3rd Party Mac Developer Installer: xxx xxx (XXXXXXXXXX)" yourappname.pkg

    相关文章

      网友评论

          本文标题:解决 ERROR ITMS-90296

          本文链接:https://www.haomeiwen.com/subject/jojovttx.html