{"id":22911,"date":"2023-07-17T14:36:26","date_gmt":"2023-07-17T06:36:26","guid":{"rendered":"https:\/\/www.yimenapp.com\/kb-yimen\/?p=22911"},"modified":"2023-07-17T14:36:26","modified_gmt":"2023-07-17T06:36:26","slug":"%e5%a6%82%e4%bd%95%e7%94%b3%e8%af%b7%e8%8b%b9%e6%9e%9c%e5%8f%91%e5%b8%83%e8%af%81%e4%b9%a6%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenapp.com\/kb-yimen\/22911\/","title":{"rendered":"\u5982\u4f55\u7533\u8bf7\u82f9\u679c\u53d1\u5e03\u8bc1\u4e66\uff1f"},"content":{"rendered":"<p><span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/pingguo\/\" title=\"\u82f9\u679c\" target=\"_blank\">\u82f9\u679c<\/a><\/span>\u53d1\u5e03<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e8%af%81%e4%b9%a6\/\" title=\"\u8bc1\u4e66\" target=\"_blank\">\u8bc1\u4e66<\/a><\/span>\u662f\u7528\u4e8e\u53d1\u5e03 iOS \u5e94\u7528\u7a0b\u5e8f\u7684\u4e00\u79cd\u6570\u5b57\u8bc1\u4e66\u3002\u5728\u7533\u8bf7\u82f9\u679c\u53d1<a href=\"https:\/\/platform.yimenapp.com\/ios-zhengshu-10833.html\">ios\u5b89\u88c5\u5305\u7b7e\u540d<\/a>\u5e03\u8bc1\u4e66\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u5148\u51c6\u5907\u597d\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<p>1. \u4e00\u4e2a\u82f9\u679c\u5f00\u53d1\u8005\u8d26\u6237<\/p>\n<p>2. \u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684 Xcode<\/p>\n<p>3. \u4e00\u53f0 Mac \u7535\u8111<\/p>\n<p>\u82f9\u679c\u53d1\u5e03\u8bc1\u4e66\u7684\u7533\u8bf7\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/p>\n<p>1. \u767b\u5f55\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9<\/p>\n<p>\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165 https:\/\/developer.<span class=\"wpcom_keyword_link\"><a href=\"https:\/\/www.yimenapp.com\" target=\"_blank\" title=\"\u5f00\u53d1app\u4ece\u4e00\u95e8\u5f00\u59cb\">app<\/a><\/span>le.com\/\uff0c\u4f7f\u7528<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e6%82%a8%e7%9a%84\/\" title=\"\u60a8\u7684\" target=\"_blank\">\u60a8\u7684<\/a><\/span>\u82f9\u679c\u5f00\u53d1\u8005\u8d26\u6237\u767b\u5f55\u3002<\/p>\n<p>2. \u521b\u5efa App ID<\/p>\n<p>\u5728\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\u4e0a\u521b\u5efa\u4e00\u4e2a\u65b0\u7684 App ID\u3002App ID \u662f\u4e00\u4e2a\u552f\u4e00\u7684\u6807\u8bc6\u7b26\uff0c\u7528\u4e8e\u8bc6\u522b\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u521b\u5efa App ID \u65f6\uff0c\u60a8\u9700\u8981\u8bbe\u7f6e\u5e94\u7528\u7a0b\u5e8f\u7684\u540d\u79f0\u3001Bundle ID \u548c\u5176\u4ed6\u76f8\u5173\u4fe1\u606f\u3002<\/p>\n<p>3. \u521b\u5efa\u8bc1\u4e66\u7b7e\u540d\u8bf7\u6c42(CSR)<\/p>\n<p>\u5728\u7533\u8bf7\u82f9\u679c\u53d1\u5e03\u8bc1\u4e66\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u5148\u521b\u5efa\u4e00\u4e2a<a href=\"https:\/\/platform.yimenapp.com\/ios-zhengshu-6037.html\">\u82f9\u679cipa\u7b7e\u540d\u91cd\u7b7e\u540d<\/a>\u8bc1\u4e66\u7b7e\u540d\u8bf7\u6c42(CSR)\u3002CSR \u662f\u4e00\u4e2a\u5305\u542b\u60a8\u7684\u516c\u94a5\u548c\u4e2a\u4eba\u4fe1\u606f\u7684\u6587\u4ef6\uff0c\u7528\u4e8e\u5411\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u7533\u8bf7\u6570\u5b57\u8bc1\u4e66\u3002\u5728 Mac \u4e0a\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 Keychain Access \u5de5\u5177\u6765\u521b\u5efa CSR\u3002<\/p>\n<p>\u6253\u5f00 Keychain Access \u5de5\u5177\uff0c\u9009\u62e9\u83dc\u5355\u680f\u4e2d\u7684 &#8220;Certificate Assistant&#8221; -&gt; &#8220;Request a Certificate From a Certificate Authority&#8221;\u3002\u5728\u5f39\u51fa\u7684\u7a97\u53e3<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2023\/04\/20230412115026901.jpg\" \/><\/figure><\/p>\n<p>\u4e2d\uff0c\u586b\u5199\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u548c\u5e38\u7528\u540d\u79f0\uff0c\u5e76\u9009\u62e9 &#8220;Saved to disk&#8221; \u9009\u9879\u3002\u5355\u51fb &#8220;Continue&#8221;\u3002<\/p>\n<p>\u5728\u63a5\u4e0b\u6765\u7684\u7a97\u53e3\u4e2d\uff0c\u9009\u62e9 &#8220;Let me specify key pair information&#8221; \u9009\u9879\uff0c\u5e76\u9009\u62e9 &#8220;2048 bits&#8221; \u7684\u5bc6\u94a5\u957f\u5ea6\u3002\u5355\u51fb &#8220;Continue&#8221;\u3002<\/p>\n<p>\u5728\u4e0b\u4e00\u4e2a\u7a97\u53e3\u4e2d\uff0c\u9009\u62e9\u4fdd\u5b58 CSR \u7684\u4f4d\u7f6e\uff0c\u5e76\u4e3a\u5176\u547d\u540d\u3002\u5355\u51fb &#8220;Save&#8221;\u3002<\/p>\n<p>4. \u7533\u8bf7\u82f9\u679c\u53d1\u5e03\u8bc1\u4e66<\/p>\n<p>\u5728\u82f9\u679c\u5f00\u53d1\u8005\u7f51\u7ad9\u4e0a\uff0c\u9009\u62e9 &#8220;Certificates, Identifiers &amp; Profiles&#8221; -&gt; &#8220;Certificates&#8221;\uff0c\u5355\u51fb &#8220;Add&#8221; \u6309\u94ae\uff0c\u9009\u62e9 &#8220;iOS Distribution (App Store and Ad Hoc)&#8221; \u9009\u9879\uff0c\u5355\u51fb &#8220;Continue&#8221;\u3002<\/p>\n<p>\u5728\u4e0b\u4e00\u4e2a\u7a97\u53e3\u4e2d\uff0c\u9009\u62e9\u521a\u624d\u521b\u5efa\u7684 CSR \u6587\u4ef6\uff0c\u5e76\u5355\u51fb &#8220;Continue&#8221;\u3002<\/p>\n<p>\u5728\u63a5\u4e0b\u6765\u7684\u7a97\u53e3\u4e2d\uff0c\u4e0b\u8f7d\u60a8\u7684\u8bc1\u4e66\uff0c\u5e76\u5c06\u5176\u4fdd\u5b58\u5230 Mac \u4e0a\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 Keychain Access \u5de5\u5177\u6765\u67e5\u770b\u60a8\u7684\u8bc1\u4e66\u3002<\/p>\n<p>5. \u5bfc\u51fa\u8bc1\u4e66<\/p>\n<p>\u4e3a\u4e86\u5c06\u8bc1\u4e66\u7528\u4e8e\u4ee3\u7801\u7b7e\u540d\uff0c\u60a8\u9700\u8981\u5c06\u5176\u5bfc\u51fa\u4e3a .p12 \u683c\u5f0f\u3002\u5728 Keychain Access \u5de5\u5177\u4e2d\uff0c\u9009\u62e9\u60a8\u7684\u8bc1\u4e66\uff0c\u5355\u51fb &#8220;Export&#8221; \u6309\u94ae\uff0c\u9009\u62e9 .p12 \u683c\u5f0f\uff0c\u5e76\u8bbe\u7f6e\u5bc6\u7801\u3002\u5355\u51fb &#8220;Save&#8221;\u3002<\/p>\n<p>\u81f3\u6b64\uff0c\u60a8\u5df2\u7ecf\u6210\u529f\u7533\u8bf7\u4e86\u82f9\u679c\u53d1\u5e03\u8bc1\u4e66\u3002\u5728\u4f7f\u7528\u8bc1\u4e66\u7b7e\u540d\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u5c06\u8bc1\u4e66\u5bfc\u5165\u5230 Xcode \u4e2d\u3002\u5728 Xcode \u4e2d\uff0c\u9009\u62e9 &#8220;Preferences&#8221; -&gt; &#8220;Accounts&#8221;\uff0c\u5355\u51fb &#8220;Manage Certificates&#8221; \u6309\u94ae\uff0c\u5bfc\u5165\u60a8\u7684\u8bc1\u4e66\u3002<\/p>\n<p>\u603b\u4e4b\uff0c\u7533\u8bf7\u82f9\u679c\u53d1\u5e03\u8bc1\u4e66\u662f\u53d1\u5e03 iOS \u5e94\u7528\u7a0b\u5e8f\u7684\u5fc5\u8981\u6b65\u9aa4\u3002\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u6210\u529f\u83b7\u5f97\u82f9\u679c\u53d1\u5e03\u8bc1\u4e66\uff0c\u5e76\u5c06\u5176\u7528\u4e8e\u7b7e\u540d\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>        <span class=\"wpcom_keyword_link\"><a href=\"https:\/\/www.yimenapp.com\" title=\"\u5f00\u53d1APP\u4ece\u4e00\u95e8\u5f00\u59cb\">\u4e00\u95e8<\/a><\/span>APP\u8bc1\u4e66\u5236\u4f5c\u5de5\u5177(https:\/\/platform.yimenapp.com\/)\u63d0\u4f9bAPP\u8bc1\u4e66\u5728\u7ebf\u5236\u4f5c\uff0c\u652f\u6301\u82f9\u679c\u8bc1\u4e66\u3001\u5b89\u5353\u8bc1\u4e66\u5728\u7ebf\u4e00\u952e\u5feb\u6377\u5236\u4f5c\u3002\u5de5\u5177\u5b8c\u5168\u514d\u8d39\uff0c\u6ce8\u518c\u6210\u4e3a\u4e00\u95e8APP\u5f00\u53d1\u8005\u5373\u53ef\u4f7f\u7528\uff0c\u5168\u4e2d\u6587\u5316\u4e91\u7aefAPP\u8bc1\u4e66\u5de5\u5177\u3002<br \/>\u4e00\u952e\u5236\u4f5cIOS\u82f9\u679c\u8bc1\u4e66\uff0c\u5305\u542bappstore\u4e0a\u67b6\u8bc1\u4e66\u3001\u5f00\u53d1\u73af\u5883\u6d4b\u8bd5\u8bc1\u4e66\u3001ADhoc\u751f\u4ea7\u73af\u5883\u6d4b\u8bd5\u8bc1\u4e66\u3001\u5728\u7ebf\u751f\u6210P12\u5f00\u53d1\u8005\u8bc1\u4e66\u8bc1\u4e66\uff0cP12\u63a8\u9001\u8bc1\u4e66\u3001P8\u63a8\u9001\u8bc1\u4e66\uff0c\u5feb\u6377\u7ed1\u5b9aUDID\u3001\u81ea\u5b9a\u4e49\u5305\u540dBundle ID\u3001\u5728\u7ebf\u83b7\u53d6\u63cf\u8ff0\u6587\u4ef6\uff1b<br \/>\u4e00\u952e\u5236\u4f5c\u5b89\u5353\u8bc1\u4e66\uff0c\u652f\u6301\u81ea\u5b9a\u4e49\u5b89\u5353\u5305\u540d\u3001\u7b7e\u540d\u6587\u4ef6\u5bc6\u7801(storepass)\u3001\u522b\u540d(alias)\u3001\u522b\u540d\u5bc6\u7801(keypass)\u3001\u516c\u53f8\/\u673a\u6784\u540d\u79f0 (O)\u3001\u90e8\u95e8 (OU)\u3001\u56fd\u5bb6\/\u5730\u533a (C)\u3001\u7701\u4efd (ST)\u3001\u57ce\u5e02 (L)\u3001\u90ae\u7bb1 (E)\u3001\u4ee5\u53ca\u5b89\u5353\u8bc1\u4e66\u6709\u6548\u671f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u82f9\u679c\u53d1\u5e03\u8bc1\u4e66\u662f\u7528\u4e8e\u53d1\u5e03 iOS \u5e94\u7528\u7a0b\u5e8f\u7684\u4e00\u79cd\u6570\u5b57\u8bc1\u4e66\u3002\u5728\u7533\u8bf7\u82f9\u679c\u53d1\u5e03\u8bc1\u4e66\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u5148\u51c6\u5907\u597d\u4ee5\u4e0b\u5185\u5bb9\uff1a1. \u4e00\u4e2a\u82f9\u679c\u5f00\u53d1\u8005\u8d26\u62372. \u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684 Xcode3. \u4e00\u53f0 Mac \u7535\u8111\u82f9\u679c\u53d1\u5e03\u8bc1\u4e66\u7684<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[18579,3357,424,18580,3560],"special":[],"attr":[],"class_list":["post-22911","post","type-post","status-publish","format-standard","hentry","category-iosinfo","tag-ios16app","tag-3357","tag-pingguo","tag-18580","tag-3560","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/22911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/comments?post=22911"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/22911\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/media?parent=22911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/categories?post=22911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/tags?post=22911"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/special?post=22911"},{"taxonomy":"attr","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/attr?post=22911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}