{"id":4403,"date":"2023-05-08T13:13:50","date_gmt":"2023-05-08T05:13:50","guid":{"rendered":"https:\/\/app.applebyme.cn\/cloud\/?p=4403"},"modified":"2023-05-08T13:13:50","modified_gmt":"2023-05-08T05:13:50","slug":"h5%e8%8b%b9%e6%9e%9c%e5%85%8d%e7%ad%be%e5%b0%81%e8%a3%85%e6%8e%a8%e8%8d%90%e4%bd%bf%e7%94%a8%e4%b8%80%e9%97%a8app%e5%bc%80%e5%8f%91%e5%b9%b3%e5%8f%b0","status":"publish","type":"post","link":"https:\/\/app.applebyme.cn\/cloud\/pgmianqian\/4403.html","title":{"rendered":"h5\u82f9\u679c\u514d\u7b7e\u5c01\u88c5\u63a8\u8350\u4f7f\u7528\u4e00\u95e8APP\u5f00\u53d1\u5e73\u53f0"},"content":{"rendered":"<p>\u82f9\u679c\u514d\u7b7e\u5c01\u88c5\uff08Apple-free signed packaging\uff09 \u662f\u6307\u5c06 H5\uff08HTML5\uff09\u7f51\u9875\u5e94\u7528\u5c01\u88c5\u6210 iOS \u5e94\u7528\u7a0b\u5e8f\uff08APP\uff09\u7684\u8fc7\u7a0b\uff0c\u540c\u65f6\u65e0\u9700\u901a\u8fc7\u82f9\u679c\uff08Apple\uff09\u5b98\u65b9\u7684\u5e94\u7528\u5546\u5e97\uff08App Store\uff09\u8fdb\u884c\u7b7e\u540d\u3002\u8fd9\u79cd\u6280\u672f\u53ef\u4ee5\u8ba9\u5f00\u53d1\u4eba\u5458\u7ed5\u8fc7\u82f9\u679c\u7684\u5ba1\u6838\u548c\u5206\u53d1\u6d41\u7a0b\uff0c\u4f7f\u5176\u5e94\u7528\u66f4\u5bb9\u6613\u5730\u8fdb\u5165\u7528\u6237\u7684\u8bbe\u5907\u3002<\/p>\n<p>### \u539f\u7406<\/p>\n<p>\u4e3b\u8981\u539f\u7406\u5982\u4e0b\uff1a<\/p>\n<p>1. \u4f7f\u7528\u5e94\u7528\u5bb9\u5668\uff1a\u901a\u8fc7\u91c7\u7528\u7279\u5b9a\u7684 iOS \u5bb9\u5668\u5e94\u7528\uff0c\u5982 WebView \u6216\u7c7b\u4f3c\u7684\u5d4c\u5165\u6982\u5ff5\uff0c\u5c06 HTML5 \u5185\u5bb9\u5d4c\u5165\u5230\u4e00\u4e2a\u539f\u751f\u5e94\u7528\u7a0b\u5e8f\u4e2d\u3002\u5bb9\u5668\u5c06 HTML5 \u5185\u5bb9\u6253\u5305\u6210\u4e00\u4e2a\u539f\u751f\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e2a\u6865\u63a5\uff0c\u8ba9 JavaScript \u4ee3\u7801\u4e0e\u539f\u751f\u4ee3\u7801\u901a\u4fe1\u3002<\/p>\n<\/p>\n<p>2. \u5e94\u7528\u5206\u53d1\uff1a\u5728\u901a\u8fc7\u514d\u7b7e\u540d\uff08Apple free-signed\uff09\u5c01\u88c5\u540e\uff0c\u5e94\u7528\u53ef\u4ee5\u901a\u8fc7\u4f01\u4e1a\u8bc1\u4e66\uff08Enterprise Certificate\uff09\u6216\u5176\u4ed6\u4e0d\u53d7\u5b98\u65b9\u63a7\u5236\u7684\u5e94\u7528\u5546\u5e97\uff08\u5982\u84b2\u516c\u82f1\u7b49\u7b2c\u4e09\u65b9\u5206\u53d1\u5e73\u53f0\uff09\u8fdb\u884c\u5206\u53d1\u3002<\/p>\n<p>3. \u5728\u7ebf\u66f4\u65b0\uff1a\u7531\u4e8e\u5e94\u7528\u7684\u6838\u5fc3\u662f H5\uff0c\u6240\u4ee5\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9e\u73b0\u70ed\u66f4\u65b0\uff08hot fix\uff09\uff0c\u4e00\u4e2a\u5ba2\u6237\u7aef\u5e94\u7528\u5728\u7ebf\u83b7\u53d6\u6700\u65b0\u7684\u8d44\u6e90\u3002\u8fd9\u610f\u5473\u7740\u8fd9\u90e8\u5206\u7684\u4fee\u6539\u65e0\u9700\u63d0\u4ea4\u548c\u5ba1\u6838\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u5feb\u6377\u5730\u53d1\u5e03\u65b0\u529f\u80fd\u548c\u4fee\u590d\u9519\u8bef\u3002<\/p>\n<p>### \u8fc7\u7a0b<\/p>\n<p>H5 \u82f9\u679c\u514d\u7b7e\u5c01<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/30\/17\/35721535319.jpg\" \/><\/figure>\n<\/p>\n<p>\u88c5\u7684\u8be6\u7ec6\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/p>\n<p>1. \u5c06H5\u9879\u76ee\u4f18\u5316\uff1a\u786e\u4fddH5\u9879\u76ee\u9002\u5e94\u79fb\u52a8\u8bbe\u5907\u7684\u5c4f\u5e55\u5c3a\u5bf8\uff0c\u5e76\u68c0\u67e5\u4efb\u4f55\u4e0e\u79fb\u52a8\u8bbe\u5907\u76f8\u5173\u7684\u6027\u80fd\u95ee\u9898\uff0c\u5982\u7f13\u5b58\u8bbe\u7f6e\uff0c\u4f18\u5316\u56fe\u7247\u7b49\u3002<\/p>\n<p>2. \u9009\u62e9\u5c01\u88c5\u6280\u672f\uff1a\u6839\u636e\u9879\u76ee\u9700\u6c42\uff0c\u9009\u62e9\u5408\u9002\u7684 HTML5 \u5c01\u88c5\u6280\u672f\u3002\u6bd4\u5982 Apache Cordova\uff08PhoneGap\uff09\uff0cIonic\u7b49\u3002<\/p>\n<p>3. \u4f7f\u7528\u6865\u63a5\u5e93\uff08Bridge Library\uff09\uff1a\u6865\u63a5\u5e93\u5141\u8bb8H5\u5e94\u7528\u8bbf\u95ee\u539f\u751f\u8bbe\u5907\u529f\u80fd\uff0c\u5982 GPS\u3001\u76f8\u673a\u7b49\u3002\u6839\u636e\u9879\u76ee\u9700\u6c42\uff0c\u6dfb\u52a0\u76f8\u5e94\u7684\u5e93\uff0c\u5982 Cordova \u63d2\u4ef6\u7b49\u3002<\/p>\n<p>4. \u914d\u7f6eiOS\u5e94\u7528\uff1a\u5728\u5c01\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u6839\u636eiOS\u7cfb\u7edf\u7684\u8981\u6c42\u914d\u7f6eApp\u76f8\u5173\u53c2\u6570\uff0c\u5982 Bundle ID\uff0c\u5e94\u7528\u56fe\u6807\u548c\u542f\u52a8\u56fe\u3002<\/p>\n<p>5. \u4f7f\u7528\u4f01\u4e1a\u8bc1\u4e66\u7b7e\u540d\uff1a\u9996\u5148\u5bfc\u5165\u4f01\u4e1a\u8bc1\u4e66(.p12)\u548c\u63cf\u8ff0\u6587\u4ef6(provisioning profile)\uff0c\u7136\u540e\u4f7f\u7528 Xcode \u6216\u5176\u4ed6\u5de5\u5177\u7b7e\u540d\u5c01\u88c5\u597d\u7684\u5e94\u7528\u3002<\/p>\n<p>6. \u7b2c\u4e09\u65b9\u5e73\u53f0\u5206\u53d1\uff1a\u5c06\u7b7e\u540d\u540e\u7684 .ipa \u6587\u4ef6\u4e0a\u4f20\u81f3\u7b2c\u4e09\u65b9\u5206\u53d1\u5e73\u53f0\uff08\u5982\u84b2\u516c\u82f1\u3001TestFlight\u7b49\uff09\uff0c\u7136\u540e\u5206\u53d1\u7ed9\u9700\u8981\u7684\u7528\u6237\u3002<\/p>\n<p>### \u4f18\u52bf<\/p>\n<p>&#8211; \u8282\u7701\u65f6\u95f4\uff1a\u65e0\u9700\u901a\u8fc7 Apple \u5ba1\u6838\uff0c\u66f4\u5feb\u901f\u5730\u53d1\u5e03\u5e94\u7528\u3002<\/p>\n<p>&#8211; \u7075\u6d3b\u66f4\u65b0\uff1a\u5141\u8bb8\u5f00\u53d1\u4eba\u5458\u76f4\u63a5\u5bf9\u5e94\u7528\u8fdb\u884c\u70ed\u66f4\u65b0\uff0c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n<p>&#8211; \u6210\u672c\u6548\u76ca\uff1a\u57fa\u4e8eHTML5\u5f00\u53d1\u7684<a href=\"https:\/\/iosmianqian.yimenapp.com\/webclip-152.html\">\u514d\u8d39\u7535\u5b50\u7b7e\u540d\u5de5\u5177ios<\/a>\u8de8\u5e73\u53f0\u5e94\u7528\uff0c\u907f\u514d\u91cd\u590d\u5f00\u53d1\uff0c\u5e76\u8282\u7701\u5f00\u53d1\u6210\u672c\u3002<\/p>\n<p>### \u52a3\u52bf<\/p>\n<p>&#8211; \u6709\u9650\u8bbf\u95ee\u6743\u9650\uff1a\u53ef\u80fd\u65e0\u6cd5\u8bbf\u95ee\u6240\u6709\u539f\u751f\u529f\u80fd\uff0c\u56e0\u4e3a\u67d0\u4e9b\u529f\u80fd\u9700\u8981\u901a\u8fc7 App Store\u3002<\/p>\n<p>&#8211; \u53ef\u80fd\u7684\u6cd5\u5f8b\u98ce\u9669\uff1a\u4f7f\u7528\u4f01\u4e1a\u8bc1\u4e66\u548c\u975e\u5b98\u65b9\u5e94\u7528\u5546\u5e97\u53ef\u80fd\u4f1a\u8fdd\u53cd\u82f9\u679c\u7684\u5f00\u53d1\u8005\u534f\u8bae\u3002<\/p>\n<p>\u5c3d\u7ba1\u514d\u7b7e\u5c01\u88c5\u5e26\u6765\u4e86\u8bb8\u591a\u597d\u5904\uff0c\u4f46\u5f00\u53d1\u8005\u9700\u8981\u6743\u8861\u514d\u7b7e\u5c01\u88c5\u6240\u5e26\u6765\u7684\u98ce\u9669\u548c\u4fbf\u5229\u3002\u5728\u4e0d\u8fdd\u53cd\u5f00\u53d1\u8005\u534f\u8bae\u7684\u524d\u63d0\u4e0b\uff0c\u5c3d\u529b\u5728\u5b89\u5168<a href=\"https:\/\/iosmianqian.yimenapp.com\/webclip-245.html\">ios\u514d\u7b7e\u7248\u5e38\u89c1\u95ee\u9898<\/a>\u5206\u53d1\u5e94\u7528\u7684\u540c\u65f6\uff0c\u63d0\u4f9b\u6700\u4f73\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u82f9\u679c\u514d\u7b7e\u5c01\u88c5\uff08Apple-free signed packaging\uff09 \u662f\u6307\u5c06 H5\uff08HTML5\uff09\u7f51\u9875\u5e94\u7528\u5c01\u88c5\u6210 iOS \u5e94\u7528\u7a0b\u5e8f\uff08APP\uff09\u7684\u8fc7\u7a0b\uff0c\u540c\u65f6\u65e0\u9700\u901a\u8fc7\u82f9\u679c\uff08Apple\uff09\u5b98\u65b9\u7684\u5e94\u7528\u5546\u5e97\uff08Ap<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[789,379,5838,5839,754],"class_list":["post-4403","post","type-post","status-publish","format-standard","hentry","category-pgmianqian","tag-789","tag-379","tag-5838","tag-webclip","tag-754"],"_links":{"self":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/4403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/comments?post=4403"}],"version-history":[{"count":0,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/4403\/revisions"}],"wp:attachment":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/media?parent=4403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/categories?post=4403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/tags?post=4403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}