{"id":19692,"date":"2024-03-26T12:33:01","date_gmt":"2024-03-26T04:33:01","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=19692"},"modified":"2024-03-26T12:33:01","modified_gmt":"2024-03-26T04:33:01","slug":"ios%e4%b8%8d%e8%83%bd%e6%89%93%e5%8c%85%e6%88%90%e5%8a%9f%e5%8e%9f%e5%9b%a0%e6%b1%87%e6%80%bb","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/19692\/","title":{"rendered":"ios\u4e0d\u80fd\u6253\u5305\u6210\u529f\u539f\u56e0\u6c47\u603b"},"content":{"rendered":"

iOS\u7684\u6253\u5305\u662f\u6307\u5c06\u5f00\u53d1\u597d\u7684iOS\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210IPA\u6587\u4ef6\uff0c\u4ee5\u4f9b\u5b89\u88c5\u548c\u53d1\u5e03\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecdiOS\u6253\u5305\u7684\u539f\u7406\u548c\u6b65\u9aa4\u3002<\/p>\n

1. \u539f\u7406\uff1a<\/p>\n

iOS\u7684\u6253\u5305\u8fc7\u7a0b\u662f\u5c06\u4ee3\u7801\u3001\u8d44\u6e90\u6587\u4ef6\u3001\u4f9d\u8d56\u5e93\u7b49\u6253\u5305\u6210\u4e00\u4e2a\u6574\u4f53\u7684IPA\u6587\u4ef6\u3002\u5728\u6b64\u8fc7\u7a0b\u4e2d\uff0cXcode\u4f1a\u8fdb\u884c\u7f16\u8bd1\u3001\u8fde\u63a5\u3001\u4ee3\u7801\u7b7e\u540d\u7b49\u64cd\u4f5c\uff0c\u600e\u4e48\u5c06\u8f6f\u4ef6\u6253\u5305\u5230ios<\/a>\u786e\u4fdd\u5e94\u7528\u7a0b\u5e8f\u80fd\u591f\u5728iOS\u8bbe\u5907\u4e0a\u5b89\u5168\u8fd0\u884c\u3002<\/p>\n

2. \u6b65\u9aa4\uff1a<\/p>\n

2.1 \u51c6\u5907\u5de5\u4f5c<\/p>\n

\u5728\u5f00\u59cb\u6253\u5305\u524d\uff0c\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u51c6\u5907\u5de5\u4f5c\uff1a<\/p>\n

– \u786e\u8ba4\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u8005\u8d26\u53f7\uff0c\u8be5\u8d26\u53f7\u4e0e\u5e94\u7528\u7a0b\u5e8f\u7684\u552f\u4e00\u6807\u8bc6\uff08Bundle Identifier\uff09\u76f8\u5173\u8054\u3002<\/p>\n

– \u786e\u8ba4\u5e94\u7528\u7a0b\u5e8f\u7684\u8bc1\u4e66\u548c\u79c1\u94a5\uff0c\u7528\u4e8e\u7b7e\u540d\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n

– \u786e\u8ba4\u5e94\u7528\u7a0b\u5e8f\u7684\u63cf\u8ff0\u6587\u4ef6\uff08Provisioning Profile\uff09\uff0c\u7528\u4e8e\u6307\u5b9a\u5e94\u7528\u7a0b\u5e8f\u5728\u7279\u5b9a\u8bbe\u5907\u4e0a\u53ef\u4ee5\u5b89\u88c5\u548c\u8fd0\u884c\u7684\u6743\u9650\u3002<\/p>\n

2.2 \u8bbe\u7f6e\u9879\u76ee\u914d\u7f6e<\/p>\n

\u5728Xcode\u4e2d\u6253\u5f00\u9879\u76ee\u540e\uff0c\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u914d\u7f6e\u8bbe\u7f6e\uff1a<\/p>\n

– \u9009\u62e9\u6b63\u786e\u7684\u5f00\u53d1\u8005\u8d26\u53f7\uff1a\u5728\u9879\u76ee\u7684Build Settings\u4e2d\uff0c\u627e\u5230Code Signing Identity\u5e76\u9009\u62e9\u6b63\u786e\u7684\u5f00\u53d1\u8005\u8d26\u53f7\u3002<\/p>\n

– \u8bbe\u7f6e\u6b63\u786e\u7684Bundle Identifier\uff1a\u5728\u9879\u76ee\u7684General\u4e2d\uff0c\u627e\u5230Bundle Identifier\u5e76\u8bbe\u7f6e\u6b63\u786e\u7684\u6807\u8bc6\u3002<\/p>\n

2.3 \u7f16\u8bd1\u4ee3\u7801<\/p>\n

\u8fdb\u884c\u4ee3\u7801\u7f16\u8bd1\u7684\u8fc7\u7a0b\uff0cXcode\u4f1a\u5c06\u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002<\/p>\n

– \u9009\u62e9\u6b63\u786e\u7684Build Scheme\uff1a\u5728Xcode\u7684\u83dc\u5355\u680f\u4e2d\uff0c\u9009\u62e9Product -> Scheme -> Edit Scheme\uff0c\u5e76\u9009\u62e9\u6b63\u786e\u7684Build Sc<\/p>\n

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

heme\u3002<\/p>\n

– \u8fdb\u884c\u7f16\u8bd1\uff1a\u70b9\u51fbXcode\u7684\u83dc\u5355\u680f\u4e2d\u7684Product -> Build\uff0c\u6216\u8005\u4f7f\u7528\u5feb\u6377\u952eCommand + B\uff0c\u8fdb\u884c\u4ee3\u7801\u7f16\u8bd1\u3002<\/p>\n

2.4 \u94fe\u63a5\u548c\u6253\u5305<\/p>\n

\u94fe\u63a5\u662f\u5c06\u7f16\u8bd1\u597d\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u4e0e\u4f9d\u8d56\u5e93\u8fdb\u884c\u8fde\u63a5\u7684\u8fc7\u7a0b\uff0c\u6253\u5305\u662f\u5c06\u94fe\u63a5\u540e\u7684\u6587\u4ef6\u6253\u5305\u6210IPA\u6587\u4ef6\u7684\u8fc7\u7a0b\u3002<\/p>\n

– \u8fdb\u884c\u94fe\u63a5\uff1a\u5728Xcode\u7684\u83dc\u5355\u680f\u4e2d\uff0c\u9009\u62e9Product -> Build\uff0c\u6216\u8005\u4f7f\u7528\u5feb\u6377\u952eCommand + B\uff0c\u8fdb\u884c\u94fe\u63a5\u3002<\/p>\n

– \u8fdb\u884c\u6253\u5305\uff1a\u9009\u62e9Product -> Archive\uff0c\u6216\u8005\u70b9\u51fbXcode\u4e2d\u7684Archive\u6309\u94ae\uff0cXcode\u4f1a\u5c06\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210\u4e00\u4e2aArchive\u6587\u4ef6\u3002<\/p>\n

2.5 \u5bfc\u51faIPA\u6587\u4ef6<\/p>\n

\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u5c06Archive\u6587\u4ef6\u5bfc\u51fa\u4e3aIPA\u6587\u4e91\u6253\u5305\u7684ios\u6784\u5efa\u7248\u672c\u53f7\u80fd\u6539\u5417<\/a>\u4ef6\uff1a<\/p>\n

– \u5728Xcode\u7684Organizer\u4e2d\u9009\u62e9Archive\uff0c\u5e76\u70b9\u51fbDistribute App\u3002<\/p>\n

– \u9009\u62e9\u6b63\u786e\u7684\u65b9\u6cd5\u6765\u5bfc\u51faIPA\u6587\u4ef6\uff0c\u5982Ad Hoc\u3001App Store\u3001Enterprise\u7b49\u3002<\/p>\n

– \u9009\u62e9\u6b63\u786e\u7684Provisioning Profile\uff0c\u5e76\u70b9\u51fbExport\u6309\u94ae\u3002<\/p>\n

– \u9009\u62e9\u5bfc\u51fa\u7684\u6587\u4ef6\u8def\u5f84\u548c\u540d\u79f0\uff0c\u70b9\u51fbSave\u5373\u53ef\u5bfc\u51faIPA\u6587\u4ef6\u3002<\/p>\n

\u4ee5\u4e0a\u5c31\u662fiOS\u6253\u5305\u7684\u539f\u7406\u548c\u8be6\u7ec6\u6b65\u9aa4\u3002\u901a\u8fc7\u6b63\u786e\u8bbe\u7f6e\u9879\u76ee\u914d\u7f6e\u3001\u8fdb\u884c\u7f16\u8bd1\u3001\u94fe\u63a5\u548c\u6253\u5305\uff0c\u6700\u7ec8\u5bfc\u51fa\u7684IPA\u6587\u4ef6\u53ef\u4ee5\u5728iOS\u8bbe\u5907\u4e0a\u8fdb\u884c\u5b89\u88c5\u548c\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

iOS\u7684\u6253\u5305\u662f\u6307\u5c06\u5f00\u53d1\u597d\u7684iOS\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210IPA\u6587\u4ef6\uff0c\u4ee5\u4f9b\u5b89\u88c5\u548c\u53d1\u5e03\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecdiOS\u6253\u5305\u7684\u539f\u7406\u548c\u6b65\u9aa4\u30021. \u539f\u7406\uff1aiOS\u7684\u6253\u5305\u8fc7\u7a0b\u662f\u5c06\u4ee3\u7801\u3001\u8d44\u6e90\u6587\u4ef6\u3001\u4f9d\u8d56\u5e93\u7b49\u6253\u5305\u6210\u4e00\u4e2a\u6574\u4f53\u7684IPA\u6587\u4ef6\u3002\u5728<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[22106,22107,29,12,16],"topic":[],"class_list":["post-19692","post","type-post","status-publish","format-standard","hentry","category-appkf","tag-iosxcode9","tag-uniapp-ios-","tag-29","tag-12","tag-16"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/19692","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\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=19692"}],"version-history":[{"count":1,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/19692\/revisions"}],"predecessor-version":[{"id":19738,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/19692\/revisions\/19738"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=19692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=19692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=19692"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=19692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}