{"id":2406,"date":"2021-05-25T12:20:00","date_gmt":"2021-05-25T04:20:00","guid":{"rendered":"http:\/\/1vr.cn\/?p=2406"},"modified":"2021-05-25T12:20:00","modified_gmt":"2021-05-25T04:20:00","slug":"unity%e6%9e%84%e5%bb%baapp%e4%b8%8a%e4%bc%a0%e8%87%b3mac-app-store%e6%97%b6%e6%8f%90%e7%a4%basandbox%e6%b2%99%e7%9b%92%e9%94%99%e8%af%af%e7%9a%84%e8%a7%a3%e5%86%b3","status":"publish","type":"post","link":"https:\/\/1vr.cn\/?p=2406","title":{"rendered":"Unity\u6784\u5efaApp\u4e0a\u4f20\u81f3Mac App Store\u65f6\u63d0\u793aSandbox(\u6c99\u76d2)\u9519\u8bef\u7684\u89e3\u51b3"},"content":{"rendered":"\n<p>Unity\u4e0a\u4f20Mac App Store\u9047\u5230Sandbox\u6c99\u76d2\u95ee\u9898,\u4f1a\u63d0\u793a\u5982\u4e0b\u9519\u8bef:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"597\" src=\"\/wp-content\/uploads\/2021\/05\/image-5-1024x597.png\" alt=\"\" class=\"wp-image-2407\" srcset=\"\/wp-content\/uploads\/2021\/05\/image-5-1024x597.png 1024w, \/wp-content\/uploads\/2021\/05\/image-5-300x175.png 300w, \/wp-content\/uploads\/2021\/05\/image-5-768x448.png 768w, \/wp-content\/uploads\/2021\/05\/image-5-652x380.png 652w, \/wp-content\/uploads\/2021\/05\/image-5.png 1486w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>ERROR ITMS-90296:&#8221;App sandbox not enabled.The following executables must include the &#8220;com.apple.security.app-sandbox&#8221; entitlement with a Boolean value of true in the entitlements property list:\u2026&#8221;<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>iOS\u4e0b\u6c99\u76d2\u662f\u81ea\u52a8\u914d\u7f6e\u7684,\u4e0d\u9700\u8981Entitlements,\u800cmacOS\u4e0b\u7684App\u5219\u9700\u8981\u914d\u7f6e.Unity\u6784\u5efa\u51fa\u7684Xocde\u9879\u76ee\u7f16\u8bd1\u540e\u4e0a\u4f20AppStore,\u4f1a\u63d0\u793aApp sandbox not enabled,\u8fd9\u9700\u8981\u624b\u5de5\u52a0\u5165Entitlements(\u6388\u6743\u673a\u5236)\u6587\u4ef6.<\/p>\n\n\n\n<p>\u9996\u5148\u8981\u521b\u5efa\u4e00\u4e2a\u7f3a\u7701\u7684Entitlements\u6587\u4ef6,\u6709\u4e24\u79cd\u65b9\u6cd5,\u53ef\u4ee5\u7528Xcode\u4f7f\u7528macOS\u6a21\u677f\u65b0\u5efa\u9879\u76ee\u5e76\u8f6c\u5230Capabilities\u680f\u542f\u7528AppSandbox\u5c31\u53ef\u4ee5\u770b\u5230\u81ea\u52a8\u751f\u6210\u7684Entitlements\u6587\u4ef6\u6216\u8005\u590d\u5236\u4e0b\u9762\u6587\u672c\u5230txt\u6587\u4ef6,\u4fdd\u5b58\u6587\u4ef6\u540e\u5c06\u540e\u7f00.txt\u6539\u6210.entitlements:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?>\n&lt;!DOCTYPE plist PUBLIC \"-\/\/Apple\/\/DTD PLIST 1.0\/\/EN\" \"http:\/\/www.apple.com\/DTDs\/PropertyList-1.0.dtd\">\n&lt;plist version=\"1.0\">\n&lt;dict>\n    &lt;key>com.apple.security.app-sandbox&lt;\/key>\n    &lt;true\/>\n&lt;\/dict>\n&lt;\/plist><\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u6253\u5f00Unity\u6784\u5efa\u7684Xcode\u9879\u76ee,\u8f6c\u5230Build Settings\u9009\u9879,\u5c06\u521a\u624d\u751f\u6210\u7684Entitlements\u6587\u4ef6\u62d6\u5230Code Signing Entitlements\u5b57\u6bb5\u6216\u624b\u52a8\u8f93\u5165\u6587\u4ef6\u8def\u5f84,\u5982\u4e0b\u56fe:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"364\" src=\"\/wp-content\/uploads\/2021\/05\/image-6-1024x364.png\" alt=\"\" class=\"wp-image-2408\" srcset=\"\/wp-content\/uploads\/2021\/05\/image-6-1024x364.png 1024w, \/wp-content\/uploads\/2021\/05\/image-6-300x107.png 300w, \/wp-content\/uploads\/2021\/05\/image-6-768x273.png 768w, \/wp-content\/uploads\/2021\/05\/image-6-1536x546.png 1536w, \/wp-content\/uploads\/2021\/05\/image-6-2048x729.png 2048w, \/wp-content\/uploads\/2021\/05\/image-6-1068x380.png 1068w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u63a5\u4e0b\u6765\u518d\u6b21\u7f16\u8bd1\u8be5Xcode\u9879\u76ee\u63d0\u4ea4Mac App Store\u5c31\u53ef\u4ee5\u4e86.\u56de\u89c1!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unity\u4e0a\u4f20Mac App Store\u9047\u5230Sandbox\u6c99\u76d2\u95ee\u9898,\u4f1a\u63d0\u793a\u5982\u4e0b\u9519\u8bef: ERROR ITMS-9 &hellip; <a href=\"https:\/\/1vr.cn\/?p=2406\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Unity\u6784\u5efaApp\u4e0a\u4f20\u81f3Mac App Store\u65f6\u63d0\u793aSandbox(\u6c99\u76d2)\u9519\u8bef\u7684\u89e3\u51b3<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[217,220,218,221,219],"class_list":["post-2406","post","type-post","status-publish","format-standard","hentry","category-5","tag-appstore","tag-sandbox","tag-unity-mac","tag-unity-sandbox","tag-219","without-featured-image"],"_links":{"self":[{"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/posts\/2406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/1vr.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2406"}],"version-history":[{"count":1,"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/posts\/2406\/revisions"}],"predecessor-version":[{"id":2409,"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/posts\/2406\/revisions\/2409"}],"wp:attachment":[{"href":"https:\/\/1vr.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1vr.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1vr.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}