\u4e00\u95e8\u6253\u5305\u4ef7\u683c<\/a>\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\nsudo apt-get install nginx<\/p>\n
\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u9700\u8981\u4fee\u6539Nginx\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u5c06\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\u5b58\u653e\u7684\u76ee\u5f55\u6dfb\u52a0\u5230\u914d\u7f6e\u6587\u4ef6\u4e2d\u3002\u914d\u7f6e\u6587\u4ef6\u7684\u8def\u5f84\u4e3a\/etc\/nginx\/nginx.conf\uff0c\u6253\u5f00\u8be5\u6587\u4ef6\u5e76\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n
location \/ {<\/p>\n
root \/path\/to\/your\/application\/directory;<\/p>\n
autoindex on;<\/p>\n
autoindex_exact_size off;<\/p>\n
index index.html index.htm;<\/p>\n
}<\/p>\n
\u5c06\/path\/to\/your\/application\/directory\u66ff\u6362\u4e3a\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\u5b58\u653e\u7684\u76ee\u5f55\u5373\u53ef\u3002<\/p>\n
3. \u4e0a\u4f20\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6<\/p>\n
\u5c06\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\u4e0a\u4f20\u81f3\u670d\u52a1\u5668\u4e0a\u7684\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\u5b58\u653e\u76ee\u5f55\u3002<\/p>\n
4. \u751f\u6210\u4e0b\u8f7d\u94fe\u63a5<\/p>\n
\u4f7f\u7528Nginx\u751f\u6210\u4e0b\u8f7d\u94fe\u63a5\uff0c\u751f\u6210\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n
openssl rand -base64 32 > \/path\/to\/your\/application\/directory\/ios_distribution.key<\/p>\n
openssl req -new -key \/path\/to\/your\/application\/directory\/ios_distribution.key -out \/path\/to\/your\/application\/directory\/ios_distribution.csr<\/p>\n
openssl x509 -req -days 365 -in \/path\/to\/your\/application\/directory\/ios_distribution.csr -signkey \/path\/to\/your\/application\/directory\/ios_distribution.key -out \/path\/to\/your\/application\/directory\/ios_distribution.crt<\/p>\n
cat \/path\/to\/your\/application\/directory\/ios_distribution.crt \/path\/to\/your\/application\/directory\/ios_distribution.key > \/path\/to\/your\/application\/directory\/ios_distribution.pem<\/p>\n
\u5c06\/path\/to\/your\/application\/directory\u66ff\u6362\u4e3a\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\u5b58\u653e\u7684\u76ee\u5f55\u5373\u53ef\u3002<\/p>\n
\u751f\u6210\u4e0b\u8f7d\u94fe\u63a5\u7684\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n
openssl smime -sign -in \/path\/to\/your\/application.ipa -out \/path\/to\/your\/application.ipa.mobileprovisioned -signer \/path\/to\/your\/application\/directory\/ios_distribution.pem -inkey \/path\/to\/your\/application\/directory\/ios_distribution.pem -certfile \/path\/to\/your\/application\/directory\/ios_distribution.pem -nodetach<\/p>\n
\u5c06\/path\/to\/your\/application.ipa\u66ff\u6362\u4e3a\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u5c06\/path\/to\/your\/application\/directory\/ios_distribution.pem\u66ff\u6362\u4e3a\u751f\u6210\u7684\u8bc1\u4e66\u6587\u4ef6\u8def\u5f84\u5373\u53ef\u3002<\/p>\n
5. \u63d0\u4f9b\u4e0b\u8f7d\u94fe\u63a5<\/p>\n
\u5c06\u751f\u6210\u7684\u4e0b\u8f7d\u94fe\u63a5\u63d0\u4f9b\u7ed9\u7279\u5b9a\u7528\u6237\u5373\u53ef\u3002<\/p>\n
\u4e09\u3001\u603b\u7ed3<\/p>\n
\u4ee5\u4e0a\u5c31\u662fiOS\u81ea\u5efa\u5206\u53d1\u670d\u52a1\u5668\u7684\u539f\u7406\u548c\u8be6\u7ec6\u6b65\u9aa4\uff0c\u901a\u8fc7\u642d\u5efa\u81ea\u5efa\u5206\u53d1\u670d\u52a1\u5668\uff0c\u4f01\u4e1a\u53ef\u4ee5\u5c06\u5e94\u7528\u7a0b\u5e8f\u5feb\u901f\u5206\u53d1\u7ed9\u7279\u5b9a\u7528\u6237\uff0c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n
\u4e00\u95e8APP\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
\n\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
\n\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":"
iOS\u81ea\u5efa\u5206\u53d1\u670d\u52a1\u5668\u662f\u4e00\u79cd\u5c06iOS\u5e94\u7528\u7a0b\u5e8f\u5206\u53d1\u5230\u7279\u5b9a\u7528\u6237\u7684\u65b9\u5f0f\uff0c\u901a\u5e38\u7528\u4e8e\u4f01\u4e1a\u5185\u90e8\u4f7f\u7528\u6216\u6d4b\u8bd5\u9636\u6bb5\u7684\u5e94\u7528\u7a0b\u5e8f\u5206\u53d1\u3002\u672c\u6587\u5c06\u4ecb\u7ecdiOS\u81ea\u5efa\u5206\u53d1\u670d\u52a1\u5668\u7684\u539f\u7406\u548c\u8be6\u7ec6\u6b65\u9aa4\u3002\u4e00\u3001\u539f\u7406iOS\u81ea\u5efa\u5206\u53d1\u670d\u52a1\u5668\u7684\u539f\u7406\u662f\u901a\u8fc7<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[646,9680,12,467,9681],"topic":[],"class_list":["post-5118","post","type-post","status-publish","format-standard","hentry","category-appff","tag-646","tag-9680","tag-12","tag-467","tag-9681"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/5118","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\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=5118"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/5118\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=5118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=5118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=5118"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=5118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}