{"id":19681,"date":"2024-03-26T12:33:02","date_gmt":"2024-03-26T04:33:02","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=19681"},"modified":"2024-03-26T12:33:02","modified_gmt":"2024-03-26T04:33:02","slug":"ios%e4%b8%8a%e4%bc%a0app%e4%b9%8b%e5%89%8d%e5%a6%82%e4%bd%95%e6%89%93%e5%8c%85%e5%91%a2","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/19681\/","title":{"rendered":"ios\u4e0a\u4f20app\u4e4b\u524d\u5982\u4f55\u6253\u5305\u5462?"},"content":{"rendered":"

\u5728iOS\u5f00\u53d1\u4e2d\uff0c\u5c06\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u5e76\u4e0a\u4f20h5app\u6253\u5305ios<\/a>\u5230App Store\u662f\u4e00\u4e2a\u5173\u952e\u7684\u6b65\u9aa4\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdiOS\u5e94\u7528\u7a0b\u5e8f\u7684\u6253\u5305\u8fc7\u7a0b\u548c\u539f\u7406\uff0c\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u4e86\u89e3\u5982\u4f55\u6b63\u786e\u6253\u5305\u5e76\u4e0a\u4f20\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n

\u4e00\u3001\u521b\u5efa\u8bc1\u4e66<\/p>\n

\u5728\u4e0a\u4f20\u5e94\u7528\u4e4b\u524d\uff0c\u4f60\u9700\u8981\u5148\u521b\u5efa\u4e00\u4e2a\u7528\u4e8e\u7b7e\u540d\u5e94\u7528\u7684\u5f00\u53d1\u8005\u8bc1\u4e66\u3002\u8bc1\u4e66\u5206\u4e3a\u5f00\u53d1\u8bc1\u4e66\u548c\u53d1\u5e03\u8bc1\u4e66\u4e24\u79cd\u7c7b\u578b\u3002\u5f00\u53d1\u8bc1\u4e66\u7528\u4e8e\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u6d4b\u8bd5\u5e94\u7528\uff0c\u53d1\u5e03\u8bc1\u4e66\u7528\u4e8e\u53d1\u5e03\u5e94\u7528\u5230App Store\u3002<\/p>\n

1. \u9996\u5148\uff0c\u4f60\u9700\u8981\u767b\u5f55\u5230\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\uff0c\u5728\u201cCertificates, Identifiers & Profiles\u201d\u9875\u9762\u4e0a\u521b\u5efa\u4e00\u4e2a\u8bc1\u4e66\u7b7e\u540d\u8bf7\u6c42\uff08Certificate Signing Request\uff0c\u7b80\u79f0CSR\uff09\u3002\u8fd9\u4e2a\u8bf7\u6c42\u6587\u4ef6\u5305\u542b\u4e86\u4f60\u7684\u5f00\u53d1\u8005\u8eab\u4efd\u4fe1\u606f\u548c\u5e94\u7528\u7684Bundle Identifier\u3002<\/p>\n

2. \u521b\u5efaCSR\u540e\uff0c\u4f60\u9700\u8981\u4e0b\u8f7d\u5e76\u5b89\u88c5\u4e00\u4e2a\u53eb\u505a\u201c\u8bc1\u4e66\u52a9\u624b\uff08ios \u4f53\u9a8c\u6253\u5305\u6e20\u9053\u7edf\u8ba1\u5982\u4f55\u505a<\/a>Certificate Assistant\uff09\u201d\u7684\u5de5\u5177\uff0c\u8be5\u5de5\u5177\u53ef\u5728\u201cKeychain Access\u201d\u5e94\u7528\u7a0b\u5e8f\u7684\u83dc\u5355\u4e2d\u627e\u5230\u3002<\/p>\n

3. \u6253\u5f00\u201c\u8bc1\u4e66\u52a9\u624b\u201d\u540e\uff0c\u9009\u62e9\u201c\u8bf7\u6c42\u8bc1\u4e66\u4ee5\u4f9b\u5f00\u53d1\u201d\u5e76\u5bfc\u5165\u4e4b\u524d\u751f\u6210\u7684CSR\u6587\u4ef6\u3002<\/p>\n

4. \u5c06\u8bc1\u4e66\u8bf7\u6c42\u6587\u4ef6\u4e0a\u4f20\u5230\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\uff0c\u5e76\u751f\u6210\u5f00\u53d1\u6216\u53d1\u5e03\u8bc1\u4e66\u3002\u4e0b\u8f7d\u8bc1\u4e66\u6587\u4ef6\u540e\uff0c\u53cc\u51fb\u5b89\u88c5\u5230\u4f60\u7684\u7cfb\u7edfKeychain\u4e2d\u3002<\/p>\n

\u4e8c\u3001\u521b\u5efa\u63cf\u8ff0\u6587\u4ef6<\/p>\n

\u63cf\u8ff0\u6587\u4ef6\uff08Provisioning Profile\uff09\u662f\u4f60\u5728Xcode\u4e2d\u4f7f\u7528\u7684\u7528\u4e8e\u5c06\u5e94\u7528\u7a0b\u5e8f\u5b89\u88c5\u5230\u8bbe\u5907\u4e0a\u7684\u6587\u4ef6\u3002\u5b83\u5305\u542b\u4e86\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u7684Bundle Identifier\u3001\u8bbe\u5907\u5217\u8868\u3001\u8bc1\u4e66\u7b49\u4fe1\u606f\u3002<\/p>\n

1. \u5728\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\u7684\u201cCertificates, Identifiers & Profiles\u201d\u9875\u9762\u4e0a\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u63cf\u8ff0\u6587\u4ef6\u3002<\/p>\n

2. \u9009\u62e9\u5f00\u53d1\u6216\u53d1\u5e03\u63cf\u8ff0\u6587\u4ef6\uff0c\u5e76\u5173\u8054\u4e4b\u524d\u521b\u5efa\u7684\u8bc1\u4e66\u3002<\/p>\n

3. \u5728\u63cf\u8ff0\u6587\u4ef6\u8bbe\u7f6e\u4e2d\uff0c\u6dfb\u52a0\u5305\u542b\u5728\u6b64\u63cf\u8ff0\u6587\u4ef6\u4e0b\u7684\u8bbe\u5907\u5217\u8868\u3002<\/p>\n

4. \u5b8c\u6210\u63cf\u8ff0\u6587\u4ef6\u7684\u521b\u5efa\u540e\uff0c\u4e0b\u8f7d\u5e76\u53cc\u51fb\u5b89\u88c5\u5230\u4f60\u7684\u7cfb\u7edf\u4e2d\u3002<\/p>\n

\u4e09\u3001\u914d\u7f6eXcode\u9879\u76ee<\/p>\n

\n

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

\u5728Xcode\u4e2d\u914d\u7f6e\u4f60\u7684\u9879\u76ee\uff0c\u4f7f\u5176\u80fd\u591f\u6b63\u786e\u6253\u5305\u5e76\u7b7e\u540d\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n

1. \u6253\u5f00\u4f60\u7684\u9879\u76ee\uff0c\u5e76\u9009\u62e9\u9879\u76ee\u6587\u4ef6\u3002\u5728\u201cGeneral\u201d\u9009\u9879\u5361\u4e0b\uff0c\u786e\u4fdd\u6b63\u786e\u9009\u62e9\u4e86\u4f60\u521b\u5efa\u7684\u63cf\u8ff0\u6587\u4ef6\u548c\u8bc1\u4e66\u3002<\/p>\n

2. \u5728\u201cBuild Settings\u201d\u9009\u9879\u5361\u4e0b\uff0c\u641c\u7d22\u201cCode Signing\u201d\u5e76\u786e\u4fdd\u6b63\u786e\u9009\u62e9\u4e86\u4f60\u7684\u8bc1\u4e66\u3002<\/p>\n

\u56db\u3001\u6253\u5305\u5e94\u7528\u7a0b\u5e8f<\/p>\n

1. \u5728Xcode\u7684\u9876\u90e8\u83dc\u5355\u4e2d\uff0c\u9009\u62e9\u201cProduct\u201d -> \u201cArchive\u201d\u6765\u751f\u6210\u5e94\u7528\u7a0b\u5e8f\u7684\u5f52\u6863\u6587\u4ef6\u3002<\/p>\n

2. Xcode\u5c06\u4f1a\u6784\u5efa\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u5c06\u5f52\u6863\u6587\u4ef6\u5b58\u50a8\u5728\u4f60\u9009\u62e9\u7684\u4f4d\u7f6e\u3002<\/p>\n

3. \u5728\u5f52\u6863\u6587\u4ef6\u4e2d\uff0c\u4f60\u53ef\u4ee5\u67e5\u770b\u548c\u9a8c\u8bc1\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u6784\u5efa\u7248\u672c\u3002<\/p>\n

\u4e94\u3001\u4e0a\u4f20\u5e94\u7528\u7a0b\u5e8f<\/p>\n

1. \u6253\u5f00Xcode\u7684\u201cOrganizer\u201d\u7a97\u53e3\uff0c\u9009\u62e9\u201cArchives\u201d\u9009\u9879\u5361\u3002<\/p>\n

2. \u9009\u62e9\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5f52\u6863\uff0c\u5e76\u70b9\u51fb\u201cUpload to App Store\u201d\u6309\u94ae\u3002<\/p>\n

3. Xcode\u5c06\u4f1a\u81ea\u52a8\u9a8c\u8bc1\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u548c\u63cf\u8ff0\u6587\u4ef6\uff0c\u7136\u540e\u4e0a\u4f20\u5230App Store\u3002\u4f60\u9700\u8981\u767b\u5f55\u4f60\u7684\u5f00\u53d1\u8005\u8d26\u53f7\u4ee5\u5b8c\u6210\u4e0a\u4f20\u8fc7\u7a0b\u3002<\/p>\n

\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u5b8c\u6210iOS\u5e94\u7528\u7a0b\u5e8f\u7684\u6253\u5305\u548c\u4e0a\u4f20\u8fc7\u7a0b\u3002\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u8fd9\u662f\u4e00\u4e2a\u7b80\u5316\u7684\u6982\u8ff0\uff0c\u5b9e\u9645\u64cd\u4f5c\u4e2d\u53ef\u80fd\u4f1a\u9047\u5230\u5176\u4ed6\u95ee\u9898\u548c\u6b65\u9aa4\u3002\u4f46\u662f\u638c\u63e1\u4e86\u8fd9\u4e9b\u57fa\u672c\u539f\u7406\u548c\u6b65\u9aa4\uff0c\u4f60\u5c06\u80fd\u591f\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u5bf9\u8fd9\u4e2a\u8fc7\u7a0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728iOS\u5f00\u53d1\u4e2d\uff0c\u5c06\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u5e76\u4e0a\u4f20\u5230App Store\u662f\u4e00\u4e2a\u5173\u952e\u7684\u6b65\u9aa4\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdiOS\u5e94\u7528\u7a0b\u5e8f\u7684\u6253\u5305\u8fc7\u7a0b\u548c\u539f\u7406\uff0c\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u4e86\u89e3\u5982\u4f55\u6b63\u786e\u6253\u5305\u5e76\u4e0a\u4f20\u5e94\u7528\u7a0b\u5e8f\u3002\u4e00\u3001\u521b\u5efa\u8bc1\u4e66\u5728\u4e0a\u4f20\u5e94\u7528\u4e4b\u524d\uff0c\u4f60\u9700\u8981<\/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":[19824,22093,12,16,30],"topic":[],"class_list":["post-19681","post","type-post","status-publish","format-standard","hentry","category-appkf","tag-u3dios","tag-uniapp-ios","tag-12","tag-16","tag-30"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/19681","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=19681"}],"version-history":[{"count":1,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/19681\/revisions"}],"predecessor-version":[{"id":19740,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/19681\/revisions\/19740"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=19681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=19681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=19681"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=19681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}