ios\u514d\u7b7e\u5c01\u88c5\u6253\u5305\u82f9\u679capp<\/a>droid\u9879\u76ee\u4e2d\u3002<\/p>\n7.\u914d\u7f6eiOS\u5e94\u7528\u7a0b\u5e8f\u7684\u6784\u5efa\u8bbe\u7f6e\u3002\u5728Android Studio\u4e2d\uff0c\u6253\u5f00\u9879\u76ee\u7684build.gradle\u6587\u4ef6\uff0c\u5e76\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n
“`groovy<\/p>\n
android {<\/p>\n
…<\/p>\n
defaultConfig {<\/p>\n
…<\/p>\n
\/\/ Set the signing configurations for iOS app<\/p>\n
signingConfigs {<\/p>\n
ios {<\/p>\n
signingConfig signingConfigs.release<\/p>\n
}<\/p>\n
}<\/p>\n
\/\/ Set the productFlavors for iOS app<\/p>\n
flavorDimensions “platform”<\/p>\n
productFlavors {<\/p>\n
ios {<\/p>\n
dimension “platform”<\/p>\n
}<\/p>\n
}<\/p>\n
}<\/p>\n
}<\/p>\n
“`<\/p>\n
8.\u6784\u5efa\u548c\u6253\u5305iOS\u5e94\u7528\u7a0b\u5e8f\u3002\u5728Android Studio\u4e2d\uff0c\u9009\u62e9\u201cBuild -> Build Bundle(s) \/ APK(s) -> Build Bundle(s)\u201d\u3002\u9009\u62e9\u751f\u6210\u7684.iOS\u5e94\u7528\u7a0b\u5e8f\u5305\uff0c\u5e76\u6309\u7167\u63d0\u793a\u64cd\u4f5c\u5b8c\u6210\u6253\u5305\u8fc7\u7a0b\u3002<\/p>\n
\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u6307\u5357\uff0c\u65e8\u5728\u5411\u60a8\u63d0\u4f9b\u5728Android Studio\u4e2d\u6253\u5305\u82f9\u679c\uff08iOS\uff09\u5e94\u7528\u7a0b\u5e8f\u7684\u57fa\u672c\u6982\u5ff5\u3002\u5b9e\u9645\u4e0a\uff0c\u6784\u5efaiOS\u5e94\u7528\u7a0b\u5e8f\u662f\u4e00\u4e2a\u590d\u6742\u7684\u8fc7\u7a0b\uff0c\u5e76\u4e14\u53ef\u80fd\u6d89\u53ca\u8bb8\u591a\u5176\u4ed6\u6b65\u9aa4\u548c\u8bbe\u7f6e\u3002\u4f46\u662f\uff0c\u6709\u4e86\u8fd9\u4e2a\u57fa\u672c\u7684\u4e86\u89e3\uff0c\u60a8\u53ef\u4ee5\u66f4\u597d\u5730\u7406\u89e3\u5982\u4f55\u5c06Android Studio\u4e0e\u5176\u4ed6\u5de5\u5177\u7ed3\u5408\u4f7f\u7528\u6765\u6253\u5305iOS\u5e94\u7528\u7a0b\u5e8f\u3002\u5bf9\u4e8e\u66f4\u8be6\u7ec6\u7684\u4fe1\u606f\u548c\u6307\u5bfc\uff0c\u8bf7\u53c2\u8003\u76f8\u5173\u7684\u6587\u6863\u548c\u6559\u7a0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u8981\u5728Android Studio\u4e2d\u6253\u5305\u82f9\u679c\uff08iOS\uff09\u5e94\u7528\u7a0b\u5e8f\uff0c\u9996\u5148\u9700\u8981\u7406\u89e3Android\u548ciOS\u7684\u5dee\u5f02\u3002 Android\u548ciOS\u662f\u4e24\u4e2a\u5b8c\u5168\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u4eec\u5206\u522b\u7531Google\u548cApple\u5f00\u53d1\u548c\u7ef4\u62a4<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[12,25,24,22,23],"topic":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-appkf","tag-12","tag-25","tag-app","tag-cmsapp","tag-23"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/21","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=21"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}