vue.js - 急 pod install SSL certificate problem 。
本文介绍了vue.js - 急 pod install SSL certificate problem 。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
今天尝试了一下weexpack 工具,生成了一个test项目
weexpack create test
npm install
weexpack platform add ios
weexpack run ios
然后就报错了
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/executable.rb:89: warning: Insecure world writable dir /Users/freeman/sh in PATH, mode 040777
Analyzing dependencies
Fetching podspec for `Weexplugin` from `./Weexplugin/`
Downloading dependencies
Installing ATSDK-Weex (0.0.1)
Installing SDWebImage (3.7.5)
Installing SocketRocket (0.4.2)
Installing WXDevtool (0.9.5)
Installing WeexSDK (0.10.1)
[!] Error installing WeexSDK
[!] /Applications/XAMPP/bin/curl -f -L -o /var/folders/73/qz3qkw8n2pj61htppvtfjvxc0000gn/T/d20170309-3013-5wjmge/file.zip https://gw.alicdn.com/bao/uploaded/LB1kNzkPFXXXXb6XXXXXXXXXXXX.zip --create-dirs --netrc-optional
% 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: (60) SSL certificate problem: certificate has expired
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
尝试了如下方式解决
下载证书 https://curl.haxx.se/docs/cae...
被动更新证书 https://blog.digicert.com/exp...
更换了pod的源为淘宝的,问题依旧
解决方案
echo insecure >> ~/.curlrc
这篇关于vue.js - 急 pod install SSL certificate problem 。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文