{"id":12655,"date":"2023-12-19T13:04:32","date_gmt":"2023-12-19T05:04:32","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=12655"},"modified":"2023-12-19T13:04:32","modified_gmt":"2023-12-19T05:04:32","slug":"%e8%8b%b9%e6%9e%9c%e6%89%8b%e6%9c%ba%e4%b8%8aapp%e6%80%8e%e4%b9%88%e6%89%93%e5%8c%85%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/12655\/","title":{"rendered":"\u82f9\u679c\u624b\u673a\u4e0aapp\u600e\u4e48\u6253\u5305\uff1f"},"content":{"rendered":"

\u6253\u5305iOS\u5e94\u7528\u7a0b\u5e8f\u901a\u5e38\u9700\u8981\u4f7f\u7528Xcode\u5f00\u53d1\u5de5\u5177\u3002\u4e0b\u9762\u6211\u5c06\u4e3a\u4f60\u8be6\u7ec6\u4ecb\u7ecd\u5728\u82f9\u679c\u624b\u673a\u4e0a\u6253\u5305\u5e94\u7528\u7a0b\u5e8f\u7684\u539f\u7406\u548c\u6b65\u9aa4\u3002<\/p>\n

1. \u51c6\u5907\u5de5\u4f5c\uff1a<\/p>\n

– \u4e00\u53f0Mac\u7535\u8111\uff0c\u88c5\u6709\u6700\u65b0\u7684Xcode\u5f00\u53d1\u5de5\u5177\uff1b<\/p>\n

– \u6709\u6548\u7684\u5f00\u53d1\u8005\u8d26\u53f7\uff0c\u53ef\u4ee5\u5728\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\u4e0a\u6ce8\u518c\uff1b<\/p>\n

– \u8981\u6253\u5305\u7684iOS\u5e94\u7528\u7a0b\u5e8f\u7684\u6e90\u4ee3\u7801\uff1b<\/p>\n

– \u7528\u4e8e\u6253\u5305\u7684App\u56fe\u6807\u3001\u542f\u52a8\u56fe\u548c\u76f8\u5173\u8d44\u6e90\u3002<\/p>\n

2. \u521b\u5efaApp ID\uff1a<\/p>\n

\u5728\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\u4e0a\uff0c\u521b\u5efa\u4e00\u4e2a\u552f\u4e00\u7684App \u82f9\u679c\u5df2\u7ecf\u5b89\u88c5\u7684app\u600e\u4e48\u6253\u5305<\/a>ID\u3002App ID\u662f\u6bcf\u4e2aiOS\u5e94\u7528\u7a0b\u5e8f\u7684\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u7528\u4e8e\u4e0e\u82f9\u679c\u670d\u52a1\u5668\u901a\u4fe1\u3002<\/p>\n

3. \u521b\u5efaProvisioning Profile\uff1a<\/p>\n

Provisioning Profile\u662f\u4e00\u79cd\u5305\u542b\u4e86\u5f00\u53d1\u8005\u8d26\u53f7\u4fe1\u606f\u548cApp ID\u7684\u6587\u4ef6\uff0c\u7528\u4e8e\u5728\u771f\u673a\u4e0a\u6d4b\u8bd5\u548c\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\u3002\u5728Xcode\u7684\u201cCertificates, Identifiers & Profiles\u201d\u4e2d\u521b\u5efaProvisioning Profile\u3002<\/p>\n

4. \u914d\u7f6eXcode\u9879\u76ee\uff1a<\/p>\n

\u6253\u5f00Xcode\uff0c\u5bfc\u5165\u4f60\u7684\u9879\u76ee\u3002\u5728\u9879\u76ee\u8bbe\u7f6e\u4e2d\uff0c\u8bbe\u7f6e\u6b63\u786e\u7684Bundle Identifier\uff0c\u8be5\u6807\u8bc6\u7b26\u5fc5\u987b\u4e0e\u4f60\u5728\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\u4e0a\u521b\u5efa\u7684App ID\u4e00\u81f4\u3002\u7136\u540e\uff0c\u9009\u62e9\u6b63\u786e\u7684Provisioning Profile\u3002<\/p>\n

5. \u6784\u5efa\u548c\u6d4b\u8bd5\u5e94\u7528\u7a0b\u5e8f\uff1a<\/p>\n

\u8fde\u63a5\u4e00\u53f0\u771f\u673a\u8bbe\u5907\u5230\u7535\u8111\u4e0a\uff0c\u5e76\u5c06\u5176\u9009\u62e9\u4e3aXcode\u7684\u76ee\u6807\u8bbe\u5907\u3002\u70b9\u51fb”Build and Run”\u6309\u94ae\uff0c\u5728\u771f\u673a\u4e0a\u6784\u5efa\u548c\u6d4b\u8bd5\u5e94\u7528\u7a0b\u5e8f\u3002\u5982\u679c\u4e00\u5207\u987a\u5229\uff0c\u5e94\u7528\u5c06\u5728\u771f\u673a\u4e0a\u8fd0\u884c\u3002<\/p>\n

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

\u5982\u679c\u5e94\u7528\u7a0b\u5e8f\u7ecf\u8fc7\u6d4b\u8bd5\u5e76\u4e14\u51c6\u5907\u53d1\u5e03\uff0c\u90a3\u4e48\u4f60\u9700\u8981\u6253\u5305\u5e94\u7528\u7a0b\u5e8f\u3002\u5728Xcode\u4e2d\uff0c\u9009\u62e9\u83dc\u5355\u4e2d\u7684Product -> Archive\u9009\u9879\u3002Xcode\u5c06\u81ea\u52a8\u6784\u5efa\u548c\u6253\u5305\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u751f\u6210\u4e00\u4e2a\u5305\u542b\u4e86\u5e94\u7528\u7a0b\u5e8f\u4e8c\u8fdb\u5236\u6587\u4ef6\u548c\u76f8\u5173\u8d44\u6e90\u7684Archive\u6587\u4ef6\u3002<\/p>\n

7. \u5bfc\u51fa\u5e94<\/p>\n

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

\u7528\u7a0b\u5e8f\uff1a<\/p>\n

\u5728Xcode\u4e2d\uff0c\u9009\u62e9\u83dc\u5355\u4e2d\u7684Window -> Organizer\u9009\u9879\uff0c\u6253\u5f00Organizer\u7a97\u53e3\u3002\u5728Archives\u9009\u9879\u5361\u4e2d\uff0c\u9009\u62e9\u4f60\u521a\u521a\u521b\u5efa\u7684\u5e94\u7528\u7a0b\u5e8f\u7684Archive\u6587\u4ef6\uff0c\u7136\u540e\u70b9\u51fbE\u82f9\u679ccms\u841d\u535c\u5f71\u89c6app\u6388\u6743\u6253\u5305<\/a>xport\u6309\u94ae\u3002\u9009\u62e9\u5408\u9002\u7684\u5bfc\u51fa\u9009\u9879\uff0c\u5982Ad Hoc\u3001App Store\u7b49\u3002<\/p>\n

8. \u4e0a\u4f20\u5e94\u7528\u7a0b\u5e8f\uff1a<\/p>\n

\u6839\u636e\u4f60\u9009\u62e9\u7684\u5bfc\u51fa\u9009\u9879\uff0cXcode\u5c06\u4e3a\u4f60\u751f\u6210\u4e00\u4e2a.ipa\u6587\u4ef6\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7iTunes Connect\u6216\u5176\u5b83\u5206\u53d1\u6e20\u9053\u4e0a\u4f20.ipa\u6587\u4ef6\uff0c\u5c06\u5e94\u7528\u7a0b\u5e8f\u53d1\u5e03\u5230App Store\u6216\u5176\u4ed6\u6e20\u9053\u4e2d\u3002<\/p>\n

\u8fd9\u662f\u4e00\u4e2a\u7b80\u8981\u7684\u6b65\u9aa4\u6307\u5357\uff0c\u5e2e\u52a9\u4f60\u4e86\u89e3\u5728\u82f9\u679c\u624b\u673a\u4e0a\u5982\u4f55\u6253\u5305\u5e94\u7528\u7a0b\u5e8f\u7684\u539f\u7406\u548c\u8be6\u7ec6\u6b65\u9aa4\u3002\u5982\u679c\u4f60\u60f3\u8981\u66f4\u52a0\u8be6\u7ec6\u7684\u6559\u7a0b\uff0c\u53ef\u4ee5\u53c2\u8003Xcode\u7684\u5b98\u65b9\u6587\u6863\u4ee5\u53ca\u5176\u4ed6\u5728\u7ebf\u6559\u7a0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u6253\u5305iOS\u5e94\u7528\u7a0b\u5e8f\u901a\u5e38\u9700\u8981\u4f7f\u7528Xcode\u5f00\u53d1\u5de5\u5177\u3002\u4e0b\u9762\u6211\u5c06\u4e3a\u4f60\u8be6\u7ec6\u4ecb\u7ecd\u5728\u82f9\u679c\u624b\u673a\u4e0a\u6253\u5305\u5e94\u7528\u7a0b\u5e8f\u7684\u539f\u7406\u548c\u6b65\u9aa4\u30021. \u51c6\u5907\u5de5\u4f5c\uff1a- \u4e00\u53f0Mac\u7535\u8111\uff0c\u88c5\u6709\u6700\u65b0\u7684Xcode\u5f00\u53d1\u5de5\u5177\uff1b- \u6709\u6548\u7684\u5f00\u53d1\u8005\u8d26\u53f7\uff0c\u53ef<\/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":[12,17,19,13327,7759],"topic":[],"class_list":["post-12655","post","type-post","status-publish","format-standard","hentry","category-appkf","tag-12","tag-17","tag-19","tag-app"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/12655","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=12655"}],"version-history":[{"count":1,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/12655\/revisions"}],"predecessor-version":[{"id":12725,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/12655\/revisions\/12725"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=12655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=12655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=12655"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=12655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}