{"id":186679,"date":"2020-10-19T13:01:46","date_gmt":"2020-10-19T05:01:46","guid":{"rendered":"http:\/\/4563.org\/?p=186679"},"modified":"2020-10-19T13:01:46","modified_gmt":"2020-10-19T05:01:46","slug":"pod-install-%e6%8a%a5%e9%94%99-error-installing-amapfoundation-ios-%e5%a4%a7%e4%bd%ac%e4%bb%ac%e6%9d%a5%e7%9c%8b%e4%b8%80%e4%b8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=186679","title":{"rendered":"pod install \u62a5\u9519 :error installing AMapFoundation ,iOS \u5927\u4f6c\u4eec\u6765\u770b\u4e00\u4e0b"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  pod install \u62a5\u9519 :error installing AMapFoundation ,iOS \u5927\u4f6c\u4eec\u6765\u770b\u4e00\u4e0b               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hengcheng <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6700\u8fd1\u63a5\u5165\u9ad8\u5fb7\u5730\u56fe,\u5b89\u88c5 AMapFoundation \u7684\u65f6\u5019,\u62a5\u4e86\u5982\u4e0b\u9519\u8bef:<\/p>\n<pre><code>[!] Error installing AMapFoundation [!] \/usr\/bin\/curl -f -L -o \/var\/folders\/vn\/wgpv_26j7gq0t2f1c6vpy4_h0000gp\/T\/d20201024-23939-1als65r\/file.zip https:\/\/amappc.oss-cn-zhangjiakou.aliyuncs.com\/lbs\/static\/zip\/AMap_iOS_Foundation_Lib_V1.6.4.zip --create-dirs --netrc-optional --retry 2    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                  Dload  Upload   Total   Spent    Left  Speed   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 curl: (7) Failed to connect to 127.0.0.1 port 10800: Connection refused  <\/code><\/pre>\n<p>\u67e5\u8c37\u6b4c<\/p>\n<p>\u7ed9\u51fa\u5982\u4e0b\u65b9\u6848:<\/p>\n<ol>\n<li>\u5173\u95ed\u4ee3\u7406<\/li>\n<li>\u6e05\u9664 git config proxy<\/li>\n<\/ol>\n<p>\u9996\u5148\uff0c\u6211\u5e76\u6ca1\u6709\u8bbe\u7f6e\u4ee3\u7406\u7684\u6620\u5c04\uff0c\u53ea\u5f00\u4e86\u5f00\u4ee3\u7406,\u7136\u540e\uff0c\u6211\u4e5f\u8bd5\u4e86\u5982\u4e0a\u4e24\u4e2a\u65b9\u6848\u8fd8\u662f\u4e00\u6837\u7684\u62a5\u9519\uff0c\u6700\u540e\u6211\u5207\u6362\u4e86 CocoaPods \u7684\u6e90,\u4e5f\u662f\u65e0\u6d4e\u4e8e\u4e8b\u3002<\/p>\n<p>PS :\u5b89\u88c5\u5176\u4ed6\u5e93\u6ca1\u6709\u4ec0\u4e48\u95ee\u9898\u3002<\/p>\n<p>\u5c31\u662f\u8fd9\u4e2a\u5e93\uff0c\u7ed9\u6211\u62a5\u4e86\u8fd9\u4e48\u4e00\u4e2a\u9519\u8bef.\u6211\u90fd\u5feb\u5954\u6e83\u4e86\u3002<\/p>\n<p>\u5927\u4f6c\u4eec\u8fd8\u6709\u4ec0\u4e48\u597d\u7684\u65b9\u6848\uff0c\u8ba9\u6211\u5c1d\u8bd5\u4e00\u6837\u5417\uff0c\u611f\u8c22\u6bcf\u4e00\u4f4d\u56de\u590d\u7684\u5927\u4f6c<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4031896\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mcluyu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             curl: (7) Failed to connect to 127.0.0.1 port 10800: Connection refused<\/p>\n<p>\u8fd9\u8fd8\u662f\u8d70\u7684\u4ee3\u7406\u554a\u8c8c\u4f3c\u3002\u6e05\u9664\u4ee3\u7406\u540e\u91cd\u542f\u7ec8\u7aef\u8bd5\u8bd5\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4031897\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lonelymarried <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Failed to connect to 127.0.0.1 port 10800<br \/>\u5f88\u660e\u663e\u4ee3\u7406\u8fde\u4e0d\u4e0a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4031898\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hengcheng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @mcluyu \u91cd\u542f\u7ec8\u7aef\u540e\uff0c\u5df2\u7ecf\u5173\u95ed\u4ee3\u7406\u4e86\uff0c\u8fd8\u662f\u4e00\u6837\uff0c\u5c31\u5b89\u88c5\u8fd9\u4e2a\u5e93\u6709\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4031899\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hengcheng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lonelymarried \u4ee3\u7406\u90fd\u5173\u4e86\uff0c\u800c\u4e14\u8bbe\u7f6e\u4e5f\u6e05\u9664\u4e86..                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4031900\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hengcheng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @mcluyu \u662f\u4e0d\u662f\u8981\u6e05\u9664 cocopods \u7684\u5b89\u88c5\u7f13\u5b58\u4ec0\u4e48\u7684\u8bd5\u4e00\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4031901\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : boris93 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u68c0\u67e5\u73af\u5883\u53d8\u91cf HTTP_PROXY HTTPS_PROXY                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4031902\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : CommandZi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u786e\u5b9a.zshrc \u4e4b\u7c7b\u7684\u6ca1\u6709\u8bbe\u7f6e\u4ee3\u7406\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>pod install \u62a5\u9519 :e&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/186679"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=186679"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/186679\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=186679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=186679"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=186679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}