{"id":77,"date":"2023-06-29T16:16:16","date_gmt":"2023-06-29T08:16:16","guid":{"rendered":"https:\/\/www.zhidianwl.net\/zhidianwl\/?p=77"},"modified":"2023-06-29T16:16:16","modified_gmt":"2023-06-29T08:16:16","slug":"app%e5%88%86%e5%8f%91%e9%a1%b5%e6%80%8e%e4%b9%88%e9%83%a8%e7%bd%b2%e5%88%b0%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.zhidianwl.net\/zhidianwl\/2023\/06\/29\/app%e5%88%86%e5%8f%91%e9%a1%b5%e6%80%8e%e4%b9%88%e9%83%a8%e7%bd%b2%e5%88%b0%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%9f\/","title":{"rendered":"app\u5206\u53d1\u9875\u600e\u4e48\u90e8\u7f72\u5230\u670d\u52a1\u5668\uff1f"},"content":{"rendered":"

App\u5206\u53d1\u9875\u662f\u6307\u5c06App\u5b89\u88c5\u5305\u548c\u76f8\u5173\u4fe1\u606f\u90e8\u7f72\u5230\u670d\u52a1\u5668\u4e0a\uff0c\u4f9b\u7528\u6237\u4e0b\u8f7d\u548c\u5b89\u88c5\u3002\u8fd9\u6837\u53ef\u4ee5\u65b9\u4fbf\u7528\u6237\u83b7\u53d6\u6700\u65b0\u7248\u672c\u7684App\uff0c\u540c\u65f6\u4e5f\u65b9\u4fbf\u5f00\u53d1\u8005\u8fdb\u884c\u7248\u672c\u7ba1\u7406\u548c\u66f4\u65b0\u3002<\/p>\n

\u4ee5\u4e0b\u662fApp\u5206\u53d1\u9875\u90e8\u7f72\u5230\u670d\u52a1\u5668\u7684\u539f\u7406\u548c\u8be6\u7ec6\u4ecb\u7ecd\uff1a<\/p>\n

1. \u786e\u5b9a\u670d\u52a1\u5668\u73af\u5883<\/p>\n

\u9996\u5148\u9700\u8981\u786e\u5b9a\u670d\u52a1\u5668\u7684\u64cd\u4f5c\u7cfb\u7edf\u548cWe\u5206\u53d1app\u548c\u5206\u914d\u6709\u4ec0\u4e48\u533a\u522b<\/a>b\u670d\u52a1\u5668\u73af\u5883\uff0c\u6bd4\u8f83\u5e38\u89c1\u7684\u6709Linux\u7cfb\u7edf\u548cApache\u6216Nginx\u670d\u52a1\u5668\u3002\u6839\u636e\u670d\u52a1\u5668\u73af\u5883\u7684\u4e0d\u540c\uff0c\u90e8\u7f72\u7684\u65b9\u5f0f\u4e5f\u4f1a\u6709\u6240\u4e0d\u540c\u3002<\/p>\n

2. \u51c6\u5907App\u5b89\u88c5\u5305\u548c\u76f8\u5173\u4fe1\u606f<\/p>\n

\u5728\u670d\u52a1\u5668\u4e0a\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\uff0c\u5c06App\u5b89\u88c5\u5305\u548c\u76f8\u5173\u4fe1\u606f\u653e\u7f6e\u5728\u8be5\u6587\u4ef6\u5939\u4e2d\uff0c\u5982\u56fe\uff1a<\/p>\n

![image](https:\/\/user-images.githubusercontent.com\/57206122\/135241307-7a3b33e0-7d83-4cc8-b0af-2f2b7d9b8a8d.png)<\/p>\n

\u5176\u4e2d\uff0c<\/p>\n

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

index.html\u662f\u5206\u53d1\u9875\u7684\u4e3b\u9875\u9762\uff0c\u4e3b\u8981\u7528\u4e8e\u5c55\u793aApp\u7684\u4ecb\u7ecd\u548c\u4e0b\u8f7d\u94fe\u63a5\u3002manifest.plist\u548c*.mobileprovision\u662fiOS App\u5fc5\u987b\u7684\u6587\u4ef6\uff0c\u7528\u4e8e\u5b89\u88c5\u548c\u9a8c\u8bc1\u3002apk\u548c*.json\u662fAndroid App\u5fc5\u987b\u7684\u6587\u4ef6\uff0c\u7528\u4e8e\u5b89\u88c5\u548c\u9a8c\u8bc1\u3002<\/p>\n

3. \u914d\u7f6e\u670d\u52a1\u5668<\/p>\n

\u6839\u636e\u670d\u52a1\u5668\u73af\u5883\u7684\u4e0d\u540c\uff0c\u9700\u8981\u8fdb\u884c\u4e0d\u540c\u7684\u914d\u7f6e\u3002\u4ee5Apache\u670d\u52a1\u5668\u4e3a\u4f8b\uff0c\u9700\u8981\u5728httpd.conf\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u914d\u7f6e\uff1a<\/p>\n

“`<\/p>\n

Alias \/app \/var\/www\/html\/app<\/p>\n

\n

Options Indexes FollowSymLinks<\/p>\n

AllowOverride None<\/p>\n

Require all granted<\/p>\n<\/p>\n

“`<\/p>\n

\u5176\u4e2d\uff0c\/app\u662f\u865a\u62df\u76ee\u5f55\uff0c\/var\/www\/html\/app\u662f\u5b9e\u9645\u76ee\u5f55\u3002\u8fd9\u6837\uff0c\u5f53\u7528\u6237\u8bbf\u95eehttp:\/\/\u670d\u52a1\u5668IP\u5730\u5740\/app\u65f6\uff0c\u5c31\u4f1a\u81ea\u52a8\u8df3\u8f6c\u5230\u5b9e\u7b2c\u4e09\u65b9 app \u5206\u53d1<\/a>\u9645\u76ee\u5f55\uff0c\u5c55\u793a\u5206\u53d1\u9875\u7684\u4e3b\u9875\u9762\u3002<\/p>\n

4. \u6d4b\u8bd5\u5206\u53d1\u9875<\/p>\n

\u90e8\u7f72\u5b8c\u6bd5\u540e\uff0c\u9700\u8981\u6d4b\u8bd5\u5206\u53d1\u9875\u662f\u5426\u6b63\u5e38\u5de5\u4f5c\u3002\u53ef\u4ee5\u4f7f\u7528\u6d4f\u89c8\u5668\u8bbf\u95eehttp:\/\/\u670d\u52a1\u5668IP\u5730\u5740\/app\/index.html\uff0c\u68c0\u67e5\u5206\u53d1\u9875\u7684\u4e3b\u9875\u9762\u662f\u5426\u6b63\u5e38\u5c55\u793a\u3002\u540c\u65f6\uff0c\u4e5f\u53ef\u4ee5\u5728\u624b\u673a\u4e0a\u8bbf\u95ee\u5206\u53d1\u9875\uff0c\u5c1d\u8bd5\u4e0b\u8f7d\u548c\u5b89\u88c5App\u3002<\/p>\n

\u603b\u7ed3<\/p>\n

App\u5206\u53d1\u9875\u7684\u90e8\u7f72\u5230\u670d\u52a1\u5668\u7684\u539f\u7406\u548c\u6b65\u9aa4\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u9700\u8981\u6ce8\u610f\u4e00\u4e9b\u7ec6\u8282\u3002\u5728\u90e8\u7f72\u4e4b\u524d\uff0c\u9700\u8981\u786e\u5b9a\u670d\u52a1\u5668\u73af\u5883\uff0c\u5e76\u51c6\u5907\u597dApp\u5b89\u88c5\u5305\u548c\u76f8\u5173\u4fe1\u606f\u3002\u5728\u90e8\u7f72\u8fc7\u7a0b\u4e2d\uff0c\u9700\u8981\u8fdb\u884c\u670d\u52a1\u5668\u7684\u914d\u7f6e\uff0c\u5e76\u6d4b\u8bd5\u5206\u53d1\u9875\u662f\u5426\u6b63\u5e38\u5de5\u4f5c\u3002\u8fd9\u6837\uff0c\u5c31\u53ef\u4ee5\u65b9\u4fbf\u5730\u5c06App\u5206\u53d1\u7ed9\u7528\u6237\uff0c\u5e76\u8fdb\u884c\u7248\u672c\u7ba1\u7406\u548c\u66f4\u65b0\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":"

App\u5206\u53d1\u9875\u662f\u6307\u5c06App\u5b89\u88c5\u5305\u548c\u76f8\u5173\u4fe1\u606f\u90e8\u7f72\u5230\u670d\u52a1\u5668\u4e0a\uff0c\u4f9b\u7528\u6237\u4e0b\u8f7d\u548c\u5b89\u88c5\u3002\u8fd9\u6837\u53ef\u4ee5\u65b9\u4fbf\u7528\u6237\u83b7\u53d6\u6700\u65b0\u7248\u672c\u7684App\uff0c\u540c\u65f6\u4e5f\u65b9\u4fbf\u5f00\u53d1\u8005\u8fdb\u884c\u7248\u672c\u7ba1\u7406\u548c\u66f4\u65b0\u3002\u4ee5\u4e0b\u662fApp\u5206\u53d1\u9875\u90e8\u7f72\u5230\u670d\u52a1\u5668\u7684\u539f\u7406\u548c\u8be6\u7ec6\u4ecb\u7ecd\uff1a1<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[198,200,197,201,199],"topic":[],"class_list":{"0":"post-77","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-appfenfa","7":"tag-app","9":"tag-197","10":"tag-201","11":"tag-199"},"_links":{"self":[{"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":0,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/tags?post=77"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/topic?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}