{"id":1209,"date":"2023-07-29T12:33:50","date_gmt":"2023-07-29T04:33:50","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=1209"},"modified":"2023-07-29T12:33:50","modified_gmt":"2023-07-29T04:33:50","slug":"hbuilder%e6%89%93%e5%8c%85ios-app%e5%8f%af%e4%bb%a5%e5%98%9b%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/1209\/","title":{"rendered":"hbuilder\u6253\u5305ios app\u53ef\u4ee5\u561b\uff1f"},"content":{"rendered":"

HBuilder\u662f\u4e00\u6b3e\u57fa\u4e8eHTML5\u5f00\u53d1\u7684\u8de8\u5e73\u53f0\u5f00\u53d1\u5de5\u5177\uff0c\u5b83\u652f\u6301\u4e00\u952e\u6253\u5305iOS\u3001Android\u3001\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7b49\u591a\u4e2a\u5e73\u53f0\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u800c\u5728HBuilder\u4e2d\uff0c\u6253\u5305iOS App\u7684\u539f\u7406\u662f\u901a\u8fc7\u4f7f\u7528Cordova\u6846\u67b6\u5c06HTML5\u7f16\u5199\u7684\u5e94\u7528\u7a0b\u5e8f\u5c01\u88c5\u6210\u4e00\u4e2a\u539f\u751f\u5e94\u7528\u3002<\/p>\n

\u5177\u4f53\u6765\u8bf4\uff0c\u4e0b\u9762\u4e3b\u8981\u4ecb\u7ecdHBuilder\u6253\u5305iOS App\u7684\u8be6\u7ec6\u8fc7\u7a0b\u548c\u76f8\u5173\u539f\u7406\u3002<\/p>\n

1.\u5b89\u88c5\u73af\u5883\u548c\u5de5\u5177<\/p>\n

\u9996\u5148\uff0c\u4f60\u9700\u8981\u4fdd\u8bc1\u4f60\u7684\u7535\u8111\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86HBuilder\u548c\u76f8\u5e94\u7684\u5f00\u53d1\u73af\u5883\uff0c\u5305\u62ecXcode\u548ciOS\u76f8\u5173\u7684\u5f00\u53d1\u5de5\u5177\u3002\u4f60\u53ef\u4ee5\u5728App Store\u4e0a\u4e0b\u8f7d\u5e76\u5b89\u88c5Xcode\u3002<\/p>\n

2.\u521b\u5efa\u9879\u76ee<\/p>\n

\u5728HBuilder\u4e2d\uff0c\u4f60\u53ef\u4ee5\u9009\u62e9\u65b0\u5efa\u4e00\u4e2a\u9879\u76ee\u6216\u8005\u6253\u5f00\u5df2\u6709\u7684HTML5\u9879\u76ee\u3002\u521b\u5efa\u4e00\u4e2a\u65b0\u9879\u76ee\u540e\uff0c\u9009\u62e9iOS\u5e73\u53f0\u4f5c\u4e3a\u76ee\u6807\u5e73\u53f0\u3002<\/p>\n

3.\u914d\u7f6eiOS\u5e73\u53f0<\/p>\n

\u5728HBuilder\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u83dc\u5355\u680f\u4e2d\u7684\u201c\u53d1\u884c\u201d->\u201ciOS\u5e73\u53f0\u914d\u7f6e\u201d\u6765\u6253\u5f00iOS\u5e73\u53f0\u7684\u914d\u7f6e\u754c\u9762\u3002\u5728\u8fd9\u4e2a\u754c\u9762\u4e2d\uff0c\u4f60\u53ef\u4ee5\u914d\u7f6e\u5e94\u7528\u7a0b\u5e8f\u7684\u540d\u79f0\u3001\u6807\u8bc6\u7b26\u3001\u7248\u672c\u53f7\u3001\u56fe\u6807\u7b49\u7b49\u3002<\/p>\n

4.\u6dfb\u52a0\u63d2\u4ef6<\/p>\n

HBuilder\u652f\u6301\u901a\u8fc7Cordova\u63d2\u4ef6\u6765\u5b9e\u73b0\u539f\u751f\u529f\u80fd\u7684\u8c03\u7528\u3002\u4f60\u53ef\u4ee5\u5728\u914d\u7f6e\u754c\u9762\u4e2d\u7684\u201c\u63d2\u4ef6\u7ba1\u7406\u201d\u9009\u9879\u4e2d\u641c\u7d22\u5e76\u5b89\u88c5\u9700\u8981\u7684\u63d2\u4ef6\u3002\u6bd4\u5982\uff0c\u5982\u679c\u4f60\u9700\u8981\u8c03\u7528\u76f8\u673a\u529f\u80fd\uff0c\u53ef<\/p>\n

<\/figure>\n<\/p>\n

\u4ee5\u641c\u7d22\u5e76\u5b89\u88c5cordova-plugin-camera\u63d2\u4ef6\u3002<\/p>\n

5.\u7f16\u5199\u4ee3\u7801<\/p>\n

\u5728HBuiios\u6253\u5305\u52a0\u56fa<\/a>lder\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528HTML\u3001CSS\u548cJavaScript\u6765\u7f16\u5199\u5e94\u7528\u7a0b\u5e8f\u7684\u754c\u9762\u548c\u903b\u8f91\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528HBuilder\u63d0\u4f9b\u7684\u53ef\u89c6\u5316\u754c\u9762\u8bbe\u8ba1\u5668\u6765\u8bbe\u8ba1\u5e94\u7528\u7a0b\u5e8f\u7684\u754c\u9762\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u624b\u52a8\u7f16\u5199\u4ee3\u7801\u6765\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u529f\u80fd\u3002<\/p>\n

6.\u8c03\u8bd5\u548c\u6d4b\u8bd5<\/p>\n

\u5728HBuilder\u4e2d\uff0c\u4f60\u53ef\u4ee5\u9009\u62e9\u8fde\u63a5\u771f\u673a\u6216\u4f7f\u7528\u6a21\u62df\u5668\u6765\u8fdb\u884c\u5e94\u7528\u7a0b\u5e8f\u7684\u8c03\u8bd5\u548c\u6d4b\u8bd5\u3002\u4f60\u53ef\u4ee5\u70b9\u51fbHBuilder\u4e2d\u7684\u8fd0\u884c\u6309\u94ae\u6765\u542f\u52a8\u8c03\u8bd5\u6a21\u5f0f\uff0c\u5e76ios\u6253\u5305\u4e00\u5bf9\u4e00\u670d\u52a1<\/a>\u901a\u8fc7\u6d4f\u89c8\u5668\u6216\u8005\u8c03\u8bd5\u5de5\u5177\u6765\u67e5\u770b\u5e94\u7528\u7a0b\u5e8f\u8fd0\u884c\u65f6\u7684\u65e5\u5fd7\u548c\u8c03\u8bd5\u4fe1\u606f\u3002<\/p>\n

7.\u6253\u5305\u5e94\u7528\u7a0b\u5e8f<\/p>\n

\u5f53\u4f60\u5b8c\u6210\u4e86\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u548c\u8c03\u8bd5\u540e\uff0c\u4f60\u53ef\u4ee5\u70b9\u51fbHBuilder\u4e2d\u7684\u53d1\u884c\u6309\u94ae\u6765\u8fdb\u884c\u5e94\u7528\u7a0b\u5e8f\u7684\u6253\u5305\u3002\u5728\u6253\u5305\u8fc7\u7a0b\u4e2d\uff0cHBuilder\u4f1a\u81ea\u52a8\u5c06HTML5\u5e94\u7528\u7a0b\u5e8f\u5c01\u88c5\u6210\u4e00\u4e2a\u539f\u751fiOS\u5e94\u7528\uff0c\u5e76\u751f\u6210\u4e00\u4e2a.ipa\u6587\u4ef6\u3002<\/p>\n

8.\u4e0a\u4f20\u5230App Store<\/p>\n

\u6700\u540e\uff0c\u4f60\u9700\u8981\u5c06\u751f\u6210\u7684.ipa\u6587\u4ef6\u4e0a\u4f20\u5230App Store\u4e2d\u8fdb\u884c\u5ba1\u6838\u548c\u53d1\u5e03\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528Xcode\u6765\u8fdb\u884c\u8fd9\u4e2a\u6b65\u9aa4\uff0c\u5e76\u6309\u7167\u82f9\u679c\u7684\u5b98\u65b9\u8981\u6c42\u8fdb\u884c\u76f8\u5e94\u7684\u914d\u7f6e\u548c\u64cd\u4f5c\u3002<\/p>\n

\u603b\u7ed3\uff1a<\/p>\n

\u901a\u8fc7\u4f7f\u7528HBuilder\uff0c\u6211\u4eec\u53ef\u4ee5\u65b9\u4fbf\u5730\u5c06\u57fa\u4e8eHTML5\u7684\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210\u539f\u751f\u7684iOS\u5e94\u7528\u3002\u5728\u6574\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u914d\u7f6e\u5e94\u7528\u7a0b\u5e8f\u7684\u76f8\u5173\u4fe1\u606f\u3001\u6dfb\u52a0\u9700\u8981\u7684\u63d2\u4ef6\u3001\u7f16\u5199\u4ee3\u7801\u3001\u8fdb\u884c\u8c03\u8bd5\u548c\u6d4b\u8bd5\uff0c\u5e76\u6700\u7ec8\u5c06\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u4e0a\u4f20\u5230App Store\u3002\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u6211\u4eec\u7684\u5e94\u7528\u7a0b\u5e8f\u53d1\u5e03\u5230iOS\u5e73\u53f0\uff0c\u4f9b\u7528\u6237\u4e0b\u8f7d\u548c\u4f7f\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

HBuilder\u662f\u4e00\u6b3e\u57fa\u4e8eHTML5\u5f00\u53d1\u7684\u8de8\u5e73\u53f0\u5f00\u53d1\u5de5\u5177\uff0c\u5b83\u652f\u6301\u4e00\u952e\u6253\u5305iOS\u3001Android\u3001\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7b49\u591a\u4e2a\u5e73\u53f0\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u800c\u5728HBuilder\u4e2d\uff0c\u6253\u5305iOS App\u7684\u539f\u7406\u662f\u901a\u8fc7\u4f7f\u7528Cordov<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[2750,27,12,2749,2624],"topic":[],"class_list":{"0":"post-1209","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-appkf","7":"tag-ios","8":"tag-27","9":"tag-12","11":"tag-2624"},"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/1209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=1209"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/1209\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=1209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=1209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=1209"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=1209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}