{"id":3019,"date":"2023-07-11T12:04:01","date_gmt":"2023-07-11T04:04:01","guid":{"rendered":"https:\/\/app.60day.cn\/appday\/?p=3019"},"modified":"2023-07-11T12:04:01","modified_gmt":"2023-07-11T04:04:01","slug":"flutter-ios-%e6%89%93%e5%8c%85%e9%83%a8%e7%bd%b2%e9%9c%80%e8%a6%81%e6%80%8e%e4%b9%88%e6%93%8d%e4%bd%9c%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/app.60day.cn\/appday\/kaifaapp\/3019\/","title":{"rendered":"flutter ios \u6253\u5305\u90e8\u7f72\u9700\u8981\u600e\u4e48\u64cd\u4f5c\uff1f"},"content":{"rendered":"<p>Flutter\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u6846\u67b6\uff0c\u652f\u6301Android\u548ciOS\u7cfb\u7edf\u3002\u5728Flutter\u5f00\u53d1\u5b8c\u6210\u540e\uff0c\u9700\u8981\u5bf9\u5e94\u7528\u8fdb\u884c\u6253\u5305\u90e8\u7f72\uff0c\u4ee5\u4fbf\u5728App Store\u6216Google Play\u4e0a\u53d1\u5e03\u5e94\u7528\u3002\u672c\u6587\u5c06\u4ecb\u7ecdFlutter\u5728iOS\u7cfb\u7edf\u4e0a\u7684\u6253\u5305\u90e8\u7f72\u6d41\u7a0b\u53ca\u5176\u539f\u7406\u3002<\/p>\n<p>\u4e00\u3001<a href=\"https:\/\/www.yimenapp.net\/dabao-1792.html\">\u624b\u673aapk\u5236\u4f5c\u8f6f\u4ef6<\/a>\u73af\u5883\u51c6\u5907<\/p>\n<p>\u5728\u8fdb\u884ciOS\u6253\u5305\u90e8\u7f72\u4e4b\u524d\uff0c\u9700\u8981\u51c6\u5907\u4ee5\u4e0b\u73af\u5883\uff1a<\/p>\n<p>1. Xcode: Xcode\u662f\u82f9\u679c\u516c\u53f8\u7684\u5f00\u53d1\u5de5\u5177\uff0c\u7528\u4e8e\u5f00\u53d1iOS\u548cMacOS\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u8fdb\u884cFlutter iOS\u6253\u5305\u90e8\u7f72\u524d\uff0c\u9700\u8981\u5b89\u88c5Xcode\u3002<\/p>\n<p>2. Flutter SDK: Flutter SDK\u662fFlutter\u5f00\u53d1\u7684\u6838\u5fc3\u5de5\u5177\uff0c\u7528\u4e8e\u5f00\u53d1\u3001\u6784\u5efa\u548c\u6253\u5305Flutter\u5e94\u7528\u7a0b\u5e8f\u3002\u9700\u8981\u5728Flutter\u5b98\u7f51\u4e0a\u4e0b\u8f7d\u5b89\u88c5\u3002<\/p>\n<p>3. Flutter\u63d2\u4ef6\uff1aFlutter\u63d2\u4ef6\u662fFlutter\u5e94\u7528\u7a0b\u5e8f\u7684\u6784\u5efa\u5de5\u5177\uff0c\u7528\u4e8e\u5728Xcode\u4e2d\u8fdb\u884c\u6784\u5efa\u548c\u6253\u5305Flutter\u5e94\u7528\u7a0b\u5e8f\u3002\u9700\u8981\u5728Flutter\u5b98\u7f51\u4e0a\u4e0b\u8f7d\u5b89\u88c5\u3002<\/p>\n<p>\u4e8c\u3001\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f<\/p>\n<p>\u5728\u8fdb\u884ciOS\u6253\u5305\u90e8\u7f72\u524d\uff0c\u9700\u8981\u521b\u5efaFlutter\u5e94\u7528\u7a0b\u5e8f\u3002\u53ef\u4ee5\u4f7f\u7528Flutter\u547d\u4ee4\u884c\u5de5\u5177\u6765\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>flutter create my_app<\/p>\n<p>&#8220;`<\/p>\n<p>\u5176\u4e2d\uff0cmy_app\u662f\u5e94\u7528\u7a0b\u5e8f\u7684\u540d\u79f0\u3002<\/p>\n<p>\u4e09\u3001\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f<\/p>\n<p>\u5728\u5b8c\u6210\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u540e\uff0c\u9700\u8981\u8fdb\u884ciOS\u6253\u5305\u90e8\u7f72\u3002\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n<p>1. \u6253\u5f00\u7ec8\u7aef\uff0c\u8fdb\u5165\u5e94\u7528\u7a0b\u5e8f\u6240\u5728\u76ee\u5f55\u3002<\/p>\n<p>2. \u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>flutter build ios &#8211;release<\/p>\n<p>&#8220;`<\/p>\n<p>\u8be5\u547d\u4ee4\u7528\u4e8e\u6784\u5efaiOS\u5e94\u7528\u7a0b\u5e8f\uff0c\u751f\u6210Release\u7248\u672c\u7684\u5e94\u7528\u7a0b\u5e8f\u5305\u3002<\/p>\n<p>3. \u6253\u5f00Xcode\uff0c\u9009\u62e9File -&gt; Open\uff0c\u6253\u5f00\u5e94\u7528\u7a0b\u5e8f\u6240\u5728\u76ee\u5f55\u4e2d\u7684ios\u6587\u4ef6\u5939\u3002<\/p>\n<p>4. \u5728Xcode\u4e2d\uff0c\u9009\u62e9Product -&gt; Destination\uff0c\u9009\u62e9\u8981\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\u7684\u8bbe\u5907\u3002<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/31\/15\/24359611091.jpg\" \/><\/figure>\n<\/p>\n<p>5. \u5728Xcode\u4e2d\uff0c\u9009\u62e9Product -&gt; Archive\uff0c\u751f\u6210\u5e94\u7528\u7a0b\u5e8f\u7684\u5f52\u6863\u6587\u4ef6\u3002<\/p>\n<p>6. \u5728Xcode\u4e2d\uff0c\u9009\u62e9Window -&gt; Organizer\uff0c\u6253\u5f00\u5e94\u7528\u7a0b\u5e8f\u7684\u5f52\u6863\u6587\u4ef6\u3002<\/p>\n<p>7. \u5728Organizer\u4e2d\uff0c\u9009\u62e9Export\uff0c\u9009\u62e9\u8981\u5bfc\u51fa\u7684\u5e94\u7528\u7a0b\u5e8f\u7c7b\u578b\u3002<\/p>\n<p>8. \u5728\u5bfc\u51fa\u5e94\u7528\u7a0b\u5e8f\u65f6\uff0c\u9700\u8981\u8fdb\u884c\u7b7e\u540d\u548c\u9a8c\u8bc1\u3002\u5982\u679c\u6ca1\u6709\u7b7e\u540d\u8bc1\u4e66\uff0c\u53ef\u4ee5\u5728\u82f9\u679c\u5f00\u53d1\u8005\u4e2d\u5fc3\u7533\u8bf7\u3002<\/p>\n<p>\u56db\u3001\u5e94\u7528\u7a0b\u5e8f\u90e8\u7f72\u539f\u7406<\/p>\n<p>Flutter\u5e94\u7528\u7a0b\u5e8f\u5728iOS\u7cfb\u7edf\u4e0a\u7684\u6253\u5305\u90e8\u7f72\u6d41\u7a0b\u4e0e\u539f\u751fiOS\u5e94\u7528\u7a0b\u5e8f\u7684\u6253\u5305\u6d41\u7a0b\u7c7b\u4f3c\uff0c\u4f46\u5177\u4f53\u5b9e\u73b0\u65b9\u5f0f\u7565\u6709\u4e0d\u540c\u3002Flutter\u5e94\u7528\u7a0b\u5e8f\u5728iOS\u7cfb\u7edf\u4e0a\u7684\u6253\u5305\u90e8\u7f72\u539f\u7406\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n<p>1. Flutter\u5f15\u64ce\uff1aFlutter\u5f15\u64ce\u662fFlutter\u5e94\u7528\u7a0b\u5e8f\u7684\u6838\u5fc3\u6a21\u5757\uff0c\u7528\u4e8e\u5904\u7406Flutter\u5e94\u7528\u7a0b\u5e8f\u7684U<a href=\"https:\/\/www.yimenapp.net\/dabao-742.html\">app\u7f51\u7ad9\u8f6f\u4ef6<\/a>I\u548c\u903b\u8f91\u3002<\/p>\n<p>2. Flutter Framework\uff1aFlutter Framework\u662fFlutter\u5e94\u7528\u7a0b\u5e8f\u7684UI\u6846\u67b6\uff0c\u7528\u4e8e\u6784\u5efaFlutter\u5e94\u7528\u7a0b\u5e8f\u7684UI\u754c\u9762\u3002<\/p>\n<p>3. Flutter\u63d2\u4ef6\uff1aFlutter\u63d2\u4ef6\u662fFlutter\u5e94\u7528\u7a0b\u5e8f\u7684\u6784\u5efa\u5de5\u5177\uff0c\u7528\u4e8e\u5728Xcode\u4e2d\u8fdb\u884c\u6784\u5efa\u548c\u6253\u5305Flutter\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>4. Xcode\uff1aXcode\u662f\u82f9\u679c\u516c\u53f8\u7684\u5f00\u53d1\u5de5\u5177\uff0c\u7528\u4e8e\u5f00\u53d1iOS\u548cMacOS\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u8fdb\u884cFlutter iOS\u6253\u5305\u90e8\u7f72\u524d\uff0c\u9700\u8981\u5b89\u88c5Xcode\u3002<\/p>\n<p>5. \u7b7e\u540d\u548c\u9a8c\u8bc1\uff1a\u5728\u5bfc\u51fa\u5e94\u7528\u7a0b\u5e8f\u65f6\uff0c\u9700\u8981\u8fdb\u884c\u7b7e\u540d\u548c\u9a8c\u8bc1\u3002\u5982\u679c\u6ca1\u6709\u7b7e\u540d\u8bc1\u4e66\uff0c\u53ef\u4ee5\u5728\u82f9\u679c\u5f00\u53d1\u8005\u4e2d\u5fc3\u7533\u8bf7\u3002<\/p>\n<p>\u7efc\u4e0a\u6240\u8ff0\uff0cFlutter\u5728iOS\u7cfb\u7edf\u4e0a\u7684\u6253\u5305\u90e8\u7f72\u6d41\u7a0b\u53ca\u5176\u539f\u7406\u4e0e\u539f\u751fiOS\u5e94\u7528\u7a0b\u5e8f\u7684\u6253\u5305\u6d41\u7a0b\u7c7b\u4f3c\uff0c\u4f46\u5177\u4f53\u5b9e\u73b0\u65b9\u5f0f\u7565\u6709\u4e0d\u540c\u3002\u9700\u8981\u5728Xcode\u4e2d\u8fdb\u884c\u6784\u5efa\u548c\u6253\u5305Flutter\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u8fdb\u884c\u7b7e\u540d\u548c\u9a8c\u8bc1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flutter\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u6846\u67b6\uff0c\u652f\u6301Android\u548ciOS\u7cfb\u7edf\u3002\u5728Flutter\u5f00\u53d1\u5b8c\u6210\u540e\uff0c\u9700\u8981\u5bf9\u5e94\u7528\u8fdb\u884c\u6253\u5305\u90e8\u7f72\uff0c\u4ee5\u4fbf\u5728App Store\u6216Google Play\u4e0a\u53d1\u5e03\u5e94\u7528\u3002\u672c\u6587\u5c06\u4ecb<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6159,84,931,577,6158],"topic":[],"class_list":["post-3019","post","type-post","status-publish","format-standard","hentry","category-kaifaapp","tag-apk-","tag-84","tag-931","tag-577","tag-ipa"],"_links":{"self":[{"href":"https:\/\/app.60day.cn\/appday\/wp-json\/wp\/v2\/posts\/3019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app.60day.cn\/appday\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/app.60day.cn\/appday\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/app.60day.cn\/appday\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/app.60day.cn\/appday\/wp-json\/wp\/v2\/comments?post=3019"}],"version-history":[{"count":0,"href":"https:\/\/app.60day.cn\/appday\/wp-json\/wp\/v2\/posts\/3019\/revisions"}],"wp:attachment":[{"href":"https:\/\/app.60day.cn\/appday\/wp-json\/wp\/v2\/media?parent=3019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/app.60day.cn\/appday\/wp-json\/wp\/v2\/categories?post=3019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/app.60day.cn\/appday\/wp-json\/wp\/v2\/tags?post=3019"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/app.60day.cn\/appday\/wp-json\/wp\/v2\/topic?post=3019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}