{"id":19941,"date":"2024-03-28T12:33:00","date_gmt":"2024-03-28T04:33:00","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=19941"},"modified":"2024-03-28T12:33:00","modified_gmt":"2024-03-28T04:33:00","slug":"ios%e4%b8%aa%e4%ba%ba%e5%bc%80%e5%8f%91%e8%80%85%e8%af%81%e4%b9%a6%e6%89%93%e5%8c%85%e6%b5%8b%e8%af%95%e6%96%b9%e6%b3%95%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/19941\/","title":{"rendered":"ios\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66\u6253\u5305\u6d4b\u8bd5\u65b9\u6cd5\u4ecb\u7ecd"},"content":{"rendered":"

iOS\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66\u6253\u5305\u6d4b\u8bd5\u662f\u6307\u5c06\u5f00\u53d1\u8005\u5728\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\u7533\u8bf7\u7684\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66\u4e0e\u81ea\u5df1\u5f00\u53d1\u7684\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210ipa\u6587\u4ef6\uff0c\u5e76\u5728\u771f\u673a\u4e0a\u8fdb\u884c\u6d4b\u8bd5\u7684\u8fc7\u7a0b\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8be5\u8fc7\u7a0b\u7684\u539f\u7406\u548c\u6b65\u9aa4\u3002<\/p>\n

1. \u7533\u8bf7\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66<\/p>\n

\u9996\u5148\uff0c\u4f60\u9700\u8981\u5728\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\u6ce8\u518c\u4e00\u4e2a\u5f00\u53d1\u8005\u8d26\u53f7\uff0c\u5e76\u9009\u62e9\u4e2a\u4eba\u5f00\u53d1\u8005\u7684\u7c7b\u578b\u3002\u6ce8\u518c\u5b8c\u6210\u540e\uff0c\u4f60\u5c31\u53ef\u4ee5\u5f00\u59cb\u7533\u8bf7\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66\u4e86unity\u6253\u5305iosbug<\/a>\u3002\u5728\u5f00\u53d1\u8005\u7f51\u7ad9\u7684”Certificates, Identifiers & Profiles”\u90e8\u5206\uff0c\u9009\u62e9”Certificates”\uff0c\u70b9\u51fb”+”\u53f7\u6309\u94ae\uff0c\u9009\u62e9”iOS Development”\uff0c\u7136\u540e\u6309\u7167\u6307\u5f15\u751f\u6210\u8bc1\u4e66\u7b7e\u53d1\u8bf7\u6c42\u6587\u4ef6(Certificate Signing Request, CSR)\u3002<\/p>\n

2. \u751f\u6210\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66<\/p>\n

\u5c06\u751f\u6210\u7684CSR\u6587\u4ef6\u4e0a\u4f20\u5230\u5f00\u53d1\u8005\u7f51\u7ad9\uff0c\u82f9\u679c\u7f51\u7ad9\u5c06\u4e3a\u4f60\u751f\u6210\u4e00\u4e2a\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66(.cer)\u6587\u4ef6\u3002\u4e0b\u8f7d\u8bc1\u4e66\u6587\u4ef6\u540e\uff0c\u53cc\u51fb\u6587\u4ef6\u5728\u94a5\u5319\u4e32\u8bbf\u95ee\u5de5\u5177(Keychain Access)\u4e2d\u5bfc\u5165\u8bc1\u4e66\u3002<\/p>\n

3. \u521b\u5efaApp ID\u548c\u53d1\u5e03\u914d\u7f6e\u6587\u4ef6<\/p>\n

\u5728\u5f00\u53d1\u8005\u7f51\u7ad9\u7684”Identifiers”\u90e8\u5206\uff0c\u9009\u62e9”App IDs”\uff0c\u70b9\u51fb”+”\u53f7\u6309\u94ae\uff0c\u6309\u7167\u6307\u5f15\u521b\u5efa\u4e00\u4e2aApp ID\uff0c\u786e\u4fddBundle Identifier\u4e0e\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684Bundle Ide<\/p>\n

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

ntifier\u5339\u914d\u3002\u4e4b\u540e\uff0c\u4f60\u9700\u8981\u751f\u6210\u4e00\u4e2a\u4e0e\u4f60\u7684App ID\u5173\u8054\u7684\u53d1\u5e03\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n

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

ios\u6253\u5305app\u7a33\u5b9a\u4e0d\u6389<\/a><\/p>\n

\u5728Xcode\u4e2d\uff0c\u6253\u5f00\u9879\u76ee\u8bbe\u7f6e\uff0c\u9009\u62e9\u4f60\u7684\u9879\u76ee\u76ee\u6807\uff0c\u7136\u540e\u5728”General”\u9009\u9879\u5361\u4e2d\uff0c\u9009\u62e9\u6b63\u786e\u7684Team\u548cBundle Identifier\u3002\u786e\u4fdd\u9009\u62e9\u7684Team\u662f\u4f60\u7684\u4e2a\u4eba\u5f00\u53d1\u8005\u8d26\u53f7\u3002<\/p>\n

5. \u6253\u5305\u6210ipa\u6587\u4ef6<\/p>\n

\u5728Xcode\u4e2d\uff0c\u9009\u62e9”Product -> Archive”\u6765\u7f16\u8bd1\u548c\u6253\u5305\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u6253\u5305\u5b8c\u6210\u540e\uff0cXcode Organizer\u4f1a\u81ea\u52a8\u6253\u5f00\uff0c\u4f60\u53ef\u4ee5\u5728\u5176\u4e2d\u627e\u5230\u521a\u521a\u6253\u5305\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n

6. \u5bfc\u51faipa\u6587\u4ef6<\/p>\n

\u5728Xcode Organizer\u4e2d\uff0c\u9009\u62e9\u521a\u521a\u6253\u5305\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u70b9\u51fb”Export…”\u6309\u94ae\uff0c\u6309\u7167\u6307\u5f15\u5bfc\u51faipa\u6587\u4ef6\u3002<\/p>\n

7. \u5b89\u88c5ipa\u6587\u4ef6\u5230\u8bbe\u5907\u4e0a\u8fdb\u884c\u6d4b\u8bd5<\/p>\n

\u5c06ipa\u6587\u4ef6\u901a\u8fc7iTunes\u6216\u5176\u4ed6\u65b9\u5f0f\u5b89\u88c5\u5230\u76ee\u6807\u8bbe\u5907\u4e0a\u8fdb\u884c\u6d4b\u8bd5\u3002\u5728\u8bbe\u5907\u4e0a\uff0c\u6253\u5f00”\u8bbe\u7f6e -> \u901a\u7528 -> \u63cf\u8ff0\u6587\u4ef6\u548c\u8bbe\u5907\u7ba1\u7406”\uff0c\u9009\u62e9\u4f60\u7684\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66\u5e76\u4fe1\u4efb\u5b83\u3002\u7136\u540e\uff0c\u4f60\u5c31\u53ef\u4ee5\u5728\u8bbe\u5907\u4e0a\u8fd0\u884c\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u8fdb\u884c\u6d4b\u8bd5\u4e86\u3002<\/p>\n

\u4ee5\u4e0a\u5c31\u662fiOS\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66\u6253\u5305\u6d4b\u8bd5\u7684\u539f\u7406\u548c\u8be6\u7ec6\u6b65\u9aa4\u3002\u901a\u8fc7\u7533\u8bf7\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66\uff0c\u751f\u6210App ID\u548c\u53d1\u5e03\u914d\u7f6e\u6587\u4ef6\uff0c\u914d\u7f6eXcode\u9879\u76ee\uff0c\u6253\u5305\u6210ipa\u6587\u4ef6\uff0c\u5e76\u5728\u8bbe\u5907\u4e0a\u5b89\u88c5\u5e76\u6d4b\u8bd5\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f60\u53ef\u4ee5\u8fdb\u4e00\u6b65\u5f00\u53d1\u548c\u8c03\u8bd5\u4f60\u7684iOS\u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

iOS\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66\u6253\u5305\u6d4b\u8bd5\u662f\u6307\u5c06\u5f00\u53d1\u8005\u5728\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\u7533\u8bf7\u7684\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66\u4e0e\u81ea\u5df1\u5f00\u53d1\u7684\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210ipa\u6587\u4ef6\uff0c\u5e76\u5728\u771f\u673a\u4e0a\u8fdb\u884c\u6d4b\u8bd5\u7684\u8fc7\u7a0b\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8be5\u8fc7\u7a0b\u7684\u539f\u7406\u548c\u6b65\u9aa4\u30021. \u7533\u8bf7\u4e2a\u4eba\u5f00\u53d1\u8005\u8bc1\u4e66<\/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":[22243,22242,17,16,30],"topic":[],"class_list":["post-19941","post","type-post","status-publish","format-standard","hentry","category-appkf","tag-ios","tag-jenkins-ios","tag-17","tag-16","tag-30"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/19941","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=19941"}],"version-history":[{"count":1,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/19941\/revisions"}],"predecessor-version":[{"id":20010,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/19941\/revisions\/20010"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=19941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=19941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=19941"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=19941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}