{"id":17293,"date":"2024-03-04T14:23:01","date_gmt":"2024-03-04T06:23:01","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=17293"},"modified":"2024-03-04T14:23:01","modified_gmt":"2024-03-04T06:23:01","slug":"%e8%8b%b9%e6%9e%9c%e4%b8%aa%e4%ba%ba%e8%af%81%e4%b9%a6%e8%87%aa%e7%ad%be%e6%93%8d%e4%bd%9c%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/17293\/","title":{"rendered":"\u82f9\u679c\u4e2a\u4eba\u8bc1\u4e66\u81ea\u7b7e\u64cd\u4f5c\u65b9\u6cd5"},"content":{"rendered":"
\u82f9\u679c\u4e2a\u4eba\u8bc1\u4e66\u81ea\u7b7e\u662f\u6307\u4f7f\u7528Apple Developer\u8d26\u6237\u751f\u6210\u4e00\u4e2a\u7531\u81ea\u5df1\u7b7e\u540d\u7684\u8bc1\u4e66\uff0c\u7528\u4e8e\u5728iOS\u8bbe\u5907\u4e0a\u5b89\u88c5\u672a\u7ecf\u8fc7App Store\u5ba1\u6838\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u4f7f\u5f00\u53d1\u8005\u5728\u5f00\u53d1\u548c\u6d4b\u8bd5\u65f6\u65e0\u9700\u5c06\u5e94\u7528\u7a0b\u5e8f\u4e0a\u4f20\u81f3App Store\uff0c\u800c\u662f\u76f4\u63a5\u5728\u81ea\u5df1\u7684\u8bbe\u5907\u4e0a\u8fdb\u884c\u5b89\u88c5\u548c\u6d4b\u8bd5\u3002<\/p>\n
\u82f9\u679c\u4e2a\u4eba\u8bc1\u4e66\u81ea\u7b7e\u7684\u539f\u7406\u662f\u901a\u8fc7\u5728Apple Developer\u7f51\u7ad9\u4e0a\u521b\u5efa\u548c\u4e0b\u8f7d\u8bc1\u4e66\u548c\u914d\u7f6e\u6587\u4ef6\uff0c\u7136\u540e\u5c06\u5b83\u4eec\u5bfc\u5165\u5230Xcode\u4e2d\uff0c\u6700\u540e\u4f7f\u7528Xcode\u5c06\u5e94\u7528\u7a0b\u5e8f\u7f16\u8bd1\u4e3a.ipa\u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u518d\u901a\u8fc7iTunes\u6216\u5176\u4ed6\u5de5\u5177\u5c06.ipa\u6587\u4ef6\u5b89\u88c5\u5230iOS\u8bbe\u5907\u4e2d\u3002<\/p>\n
\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u6b65\u9aa4\uff1a<\/p>\n
1. \u5728Apple Developer\u7f51\u7ad9\u4e0a\u521b\u5efa\u8bc1\u4e66<\/p>\n
\u9996\u5148\uff0c\u9700\u8981\u5728Apple Developer\u7f51\u7ad9\u4e0a\u521b\u5efa\u4e00\u4e2aiOS\u5f00\u53d1\u8005\u8bc1\u4e66\u3002\u767b\u5f55Apple Developer\u8d26\u6237\u540e\uff0c\u8fdb\u5165Certificates, Identifiers & Profiles\u9875\u9762\uff0c\u70b9\u51fb\u5de6\u4fa7\u83dc\u5355\u680f\u4e2d\u7684Certificates\u9009\u9879\uff0c\u7136\u540e\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c+\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201ciOS App Development\u201d\u8bc1\u4e66\u7c7b\u578b\uff0c\u5e76\u6309\u7167\u63d0\u793a\u586b\u5199\u76f8\u5173\u4fe1\u606f\uff0c\u6700\u540e\u70b9\u51fb\u751f\u6210\u8bc1\u4e66\u5373\u53ef\u3002<\/p>\n
2. \u4e0b\u8f7d\u8bc1\u4e66\u548c\u914d\u7f6e\u6587\u4ef6<\/p>\n
\u751f\u6210\u8bc1\u4e66\u540e\uff0c\u9700\u8981\u5c06\u8bc1\u4e66\u548c\u914d\u7f6e\u6587\u4ef6\u4e0b\u8f7d\u5230\u672c\u5730\u3002\u5728Certificates\u9875\u9762\u4e2d\uff0c\u627e\u5230\u521a\u521a\u751f\u6210\u7684\u8bc1\u4e66\uff0c\u70b9\u51fb\u5b83\u7684\u540d\u79f0\uff0c\u7136\u540e\u70b9\u51fb\u201cDownload\u201d\u6309\u94ae\u4e0b\u8f7d\u8bc1\u4e66\u3002\u63a5\u7740\uff0c\u5728\u5de6\u4fa7\u83dc\u5355\u680f\u4e2d\u9009\u62e9Provisioning Profiles\u9009\u9879\uff0c\u7136\u540e\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c+\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201ciOS App Development\u201d\u914d\u7f6e\u6587\u4ef6\u7c7b\u578b\uff0c\u5e76\u6309\u7167\u63d0\u793a\u586b\u5199\u76f8\u5173\u4fe1\u606f\uff0c\u6700\u540e\u70b9\u51fb\u751f\u6210\u914d\u7f6e\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n
3. \u5bfc\u5165\u8bc1\u4e66\u548c\u914d\u7f6e\u6587\u4ef6\u5230Xcode<\/p>\n
\u4e0b\u8f7d\u5b8c\u8bc1\u4e66\u548c\u914d\u7f6e\u6587\u4ef6\u540e\uff0c\u9700\u8981\u5c06\u5b83\u4eec\u5bfc\u5165\u5230Xcode\u4e2d\u3002\u5728Xcode\u4e2d\uff0c\u6253\u5f00Preferences\u7a97\u53e3\uff0c\u9009\u62e9Accounts\u9009\u9879\u5361\uff0c\u7136\u540e\u70b9\u51fb\u5de6\u4e0b\u89d2\u7684\u201c+\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201cApple ID\u201d\u767b\u5f55\u81ea\u5df1\u7684Apple Developer\u8d26\u6237\u3002\u767b\u5f55\u6210\u529f\u540e\uff0c\u5728\u5de6\u4fa7\u7684\u201cProvisioning Profiles\u201d\u5217\u8868\u4e2d\u9009\u62e9\u521a\u521a\u751f\u6210\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u7136\u540e\u70b9\u51fb\u53f3\u4e0b\u89d2\u7684\u201cDown\u82f9\u679capp\u81ea\u7b7e\u8bc1\u4e66\u600e\u4e48\u5f04<\/a>load\u201d\u6309\u94ae\uff0c\u5c06\u914d\u7f6e\u6587\u4ef6\u4e0b\u8f7d\u5230\u672c\u5730\u3002\u63a5\u7740\uff0c\u5728\u5de6\u4fa7\u7684\u201cCertificates\u201d\u5217\u8868\u4e2d\u9009\u62e9\u521a\u521a\u4e0b\u8f7d\u7684\u8bc1\u4e66\uff0c\u7136\u540e\u70b9\u51fb\u53f3\u4e0b\u89d2\u7684\u201cExport\u201d\u6309\u94ae\uff0c\u5c06\u8bc1\u4e66\u5bfc\u51fa\u4e3a.p12\u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u5e76\u8bbe\u7f6e\u4e00\u4e2a\u5bc6\u7801\u4fdd\u62a4\u3002<\/p>\n 4. \u7f16\u8bd1\u5e94\u7528\u7a0b\u5e8f<\/p>\n \u5c06\u8bc1\u4e66\u548c\u914d\u7f6e\u6587\u4ef6\u5bfc\u5165\u5230Xcode\u540e\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u7f16\u8bd1\u5e94\u7528\u7a0b\u5e8f\u4e86\u3002\u9996\u5148\uff0c\u5728Xcode\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684iOS\u9879\u76ee\uff0c\u7136\u540e\u5728\u9879\u76ee\u7684General\u9009\u9879\u5361\u4e2d\uff0c\u9009\u62e9\u81ea\u5df1\u7684\u5f00\u53d1\u8005\u8d26\u6237\u548c\u521a\u521a\u4e0b\u8f7d\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u63a5\u7740\uff0c\u5728\u9879\u76ee\u7684Build Settings\u9009\u9879\u5361\u4e2d\uff0c\u5c06Code Signing Identity\u548cProvisioning Profile\u8bbe\u7f6e\u4e3a\u521a\u521a\u5bfc\u5165\u7684\u8bc1\u4e66\u548c\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n 5. \u5bfc\u51fa.ipa\u6587\u4ef6<\/p>\n \u7f16\u8bd1\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Xcode\u5c06\u5e94\u7528\u7a0b\u5e8f\u5bfc\u51fa\u4e3a.ipa\u683c\u5f0f\u7684\u6587\u4ef6\u3002\u5728Xcode\u4e2d\uff0c\u9009\u62e9Product\u83dc\u5355\u4e0b\u7684\u201cArchive\u201d\u9009\u9879<\/p>\n \uff0c\u7b49\u5f85\u7f16\u8bd1\u5b8c\u6210\u540e\uff0c\u9009\u62e9\u201cDistribute App\u201d\u9009\u9879\uff0c\u9009\u62e9\u201cAd Hoc\u201d\u5206\u53d1\u65b9\u5f0f\uff0c\u7136\u540e\u6309\u7167\u63d0\u793a\u586b\u5199\u76f8\u5173\u4fe1\u606f\uff0c\u6700\u540e\u5bfc\u51fa.ipa\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n 6. \u5b89\u88c5\u5e94\u7528\u7a0b\u5e8f<\/p>\n<\/figure>\n<\/p>\n