﻿{"id":1770,"date":"2018-10-23T13:38:16","date_gmt":"2018-10-23T05:38:16","guid":{"rendered":"http:\/\/nick.txtcc.com\/?p=1770"},"modified":"2018-10-23T13:38:16","modified_gmt":"2018-10-23T05:38:16","slug":"%e5%85%b3%e4%ba%8e-does-not-contain-bitcode-%e7%9a%84%e9%94%99%e8%af%af%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/mac-os\/1770","title":{"rendered":"\u5173\u4e8e \u201cdoes not contain bitcode.\u201d\u7684\u9519\u8bef\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>Xcode7\u8fd0\u884c\u9879\u76ee\u65f6\u51fa\u73b0\u4e86\u5982\u4e0b\u7684\u9519\u8bef\uff1a<\/p>\n<p>does not contain bitcode. You must rebuild it with bitcode enabled\n(Xcode setting ENABLE_BITCODE), obtain an updated library from the\nvendor, or disable bitcode for this target. for architecture armv7<\/p>\n<p>\u5173\u4e8e\u4ec0\u4e48bitcode\u7684\u9519\u8bef\uff0c\u90a3bitcode\u662f\u4e2a\u4ec0\u4e48\u9b3c\u5462\uff1f<\/p>\n<p>\u4ec0\u4e48\u662f bitcode \uff1f<\/p>\n<p>\u901a\u4fd7\u89e3\u91ca\uff1a\u5728\u7ebf\u7248\u5b89\u5353ART\u6a21\u5f0f\u3002<\/p>\n<p>Apple \u5b98\u65b9\u6587\u6863\u2013 App Distribution Guide \u2013 App Thinning (iOS, watchOS) \u662f\u8fd9\u6837\u5b9a\u4e49\u7684\uff1a<\/p>\n<p>Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the App Store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store.<\/p>\n<p>\u7ffb\u8bd1\u8fc7\u6765\u5c31\u662f\uff1a<\/p>\n<p>bitcode \u662f\u88ab\u7f16\u8bd1\u7a0b\u5e8f\u7684\u4e00\u79cd\u4e2d\u95f4\u5f62\u5f0f\u7684\u4ee3\u7801\u3002\u5305\u542b bitcode \u914d\u7f6e\u7684\u7a0b\u5e8f\u5c06\u4f1a\u5728 App Store \u4e0a\u88ab\u7f16\u8bd1\u548c\u94fe\u63a5\u3002 bitcode \u5141\u8bb8\u82f9\u679c\u5728\u540e\u671f\u91cd\u65b0\u4f18\u5316\u6211\u4eec\u7a0b\u5e8f\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u800c\u4e0d\u9700\u8981\u6211\u4eec\u91cd\u65b0\u63d0\u4ea4\u4e00\u4e2a\u65b0\u7684\u7248\u672c\u5230 App Store \u4e0a\u3002<\/p>\n<p>\u5728 Xcode\u7b80\u4ecb\u2014 What\u2019s New in Xcode-New Features in Xcode 7 \u4e2d\u8fd9\u6837\u63cf\u8ff0\uff1a<\/p>\n<p>Bitcode. When you archive for submission to the App Store, Xcode will compile your app into an intermediate representation. The App Store will then compile the bitcode down into the 64 or 32 bit executables as necessary.<\/p>\n<p>\u4e5f\u5c31\u662f<\/p>\n<p>\u5f53\u6211\u4eec\u63d0\u4ea4\u7a0b\u5e8f\u5230 App Store\u4e0a\u65f6\uff0c Xcode \u4f1a\u5c06\u7a0b\u5e8f\u7f16\u8bd1\u4e3a\u4e00\u4e2a\u4e2d\u95f4\u8868\u73b0\u5f62\u5f0f( bitcode )\u3002\u7136\u540e App store \u4f1a\u518d\u5c06\u8fd9\u4e2a bitcode \u7f16\u8bd1\u4e3a\u53ef\u6267\u884c\u768464\u4f4d\u621632\u4f4d\u7a0b\u5e8f\u3002<\/p>\n<p>\u8bf7\u770b\u8fd9\u91cc <a href=\"http:\/\/blog.csdn.net\/soindy\/article\/details\/48518717\">http:\/\/blog.csdn.net\/soindy\/article\/details\/48518717<\/a><\/p>\n<p>\u5982\u679c\u4f60\u7684\u5e94\u7528\u4e5f\u51c6\u5907\u542f\u7528 Bitcode \u7f16\u8bd1\u673a\u5236\uff0c\u5c31\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<p>Xcode 7\u9ed8\u8ba4\u5f00\u542f Bitcode \uff0c\u5982\u679c\u5e94\u7528\u5f00\u542f Bitcode\uff0c\u90a3\u4e48\u5176\u96c6\u6210\u7684\u5176\u4ed6\u7b2c\u4e09\u65b9\u5e93\u4e5f\u9700\u8981\u662f Bitcode\u7f16\u8bd1\u7684\u5305\u624d\u80fd\u771f\u6b63\u8fdb\u884c Bitcode \u7f16\u8bd1<\/p>\n<p>\u5f00\u542f Bitcode \u7f16\u8bd1\u540e\uff0c\u7f16\u8bd1\u4ea7\u751f\u7684 .app \u4f53\u79ef\u4f1a\u53d8\u5927(\u4e2d\u95f4\u4ee3\u7801\uff0c\u4e0d\u662f\u7528\u6237\u4e0b\u8f7d\u7684\u5305)\uff0c\u4e14 .dSYM\u6587\u4ef6\u4e0d\u80fd\u7528\u6765\u5d29\u6e83\u65e5\u5fd7\u7684\u7b26\u53f7\u5316(\u7528\u6237\u4e0b\u8f7d\u7684\u5305\u662f Apple \u670d\u52a1\u91cd\u65b0\u7f16\u8bd1\u4ea7\u751f\u7684\uff0c\u6709\u4ea7\u751f\u65b0\u7684\u7b26\u53f7\u6587\u4ef6)<\/p>\n<p>\u901a\u8fc7 Archive \u65b9\u5f0f\u4e0a\u4f20 AppStore \u7684\u5305\uff0c\u53ef\u4ee5\u5728Xcode\u7684Organizer\u5de5\u5177\u4e2d\u4e0b\u8f7d\u5bf9\u5e94\u5b89\u88c5\u5305\u7684\u65b0\u7684\u7b26\u53f7\u6587\u4ef6<\/p>\n<p>\u51fa\u73b0\u7684\u95ee\u9898\u539f\u56e0\u662f\u4ec0\u4e48\u5462\uff1f<\/p>\n<p>\u539f\u6765\u662f\u67d0\u4e9b\u4e8c\u8fdb\u5236\u5e93\u4e0d\u652f\u6301bitcode.\u800cXcode\u9ed8\u8ba4\u662f\u8981\u652f\u6301bitcode\u7684,\u800c\u4e14\u5982\u679c\u652f\u6301\u7684\u8bdd,\u5176\u4e2d\u6240\u6709\u7684\u4e8c\u8fdb\u5236\u5e93\u548cframework\u90fd\u5fc5\u987b\u5305\u542bbitcode.<\/p>\n<p>\u600e\u4e48\u6837\u89e3\u51b3\u5462\uff1f<\/p>\n<h2>\u6211\u4eec\u53ef\u4ee5\u76f4\u63a5\u5c06bitcode\u76f4\u63a5\u5173\u6389\u5c31\u53ef\u4ee5\u4e86\u3002target \u2014> Built Seeting \u2014>\u641c\u7d22 bitcode \u2014>\u5c06Yes\u7f6e\u4e3aNo<\/h2>\n<p>\u4f5c\u8005\uff1aismilesky\n\u6765\u6e90\uff1aCSDN\n\u539f\u6587\uff1a<a href=\"https:\/\/blog.csdn.net\/ismilesky\/article\/details\/50721365\">https:\/\/blog.csdn.net\/ismilesky\/article\/details\/50721365<\/a>\n\u7248\u6743\u58f0\u660e\uff1a\u672c\u6587\u4e3a\u535a\u4e3b\u539f\u521b\u6587\u7ae0\uff0c\u8f6c\u8f7d\u8bf7\u9644\u4e0a\u535a\u6587\u94fe\u63a5\uff01<\/p>","protected":false},"excerpt":{"rendered":"<p>Xcode7\u8fd0\u884c\u9879\u76ee\u65f6\u51fa\u73b0\u4e86\u5982\u4e0b\u7684\u9519\u8bef\uff1a does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setti&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[340],"tags":[],"class_list":["post-1770","post","type-post","status-publish","format-standard","hentry","category-mac-os"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=1770"}],"version-history":[{"count":1,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1770\/revisions"}],"predecessor-version":[{"id":1771,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1770\/revisions\/1771"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=1770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=1770"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=1770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}