CocoaPods安裝出現SSL verification error
在安裝CocoaPods出現了以下問題:
ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR: You must add /C=IL/O=StartCom Ltd./OU=Secure Digital Certificate Signing/CN=StartCom Certification Authority to your local trusted store
ERROR: SSL verification error at depth 2: self signed certificate in certificate chain (19)
ERROR: Root certificate is not trusted (/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA)
出現這個問題的原因主要是Ruby環境需要2.2版本以上,所以要更新Ruby環境。
更新Ruby環境
首先要安裝 Homebrew 終端輸入這條命令即可 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
1.安裝rvm $ curl -L get.rvm.io | bash -s stable
2.裝載rvm $ source ~/.rvm/scripts/rvm
3.安裝2.3.0版本ruby $ rvm install 2.3.0
4.將2.3.0設為預設 $ rvm use 2.3.0 --default
相關文章
- 寶塔:續簽SSL證書報錯Verification failed, domain name resolution error or verification URL cannot be accessed!AIError
- Cocoapods安裝 - brew
- CocoaPods 的安裝
- cocoapods的安裝
- cocoapods安裝/解除安裝/使用
- 使用CocoaPods出錯,[!] Oh no, an error occurred.Error
- mac安裝cocoapods流程Mac
- cocoapods安裝錯誤
- Vesta 安裝SSL – HTTPS SSL 教程HTTP
- Establishing SSL connection without server's identity verification is not recommended.ServerIDE
- 安裝MySQL出現Job for mysqld.service failed because the control process exited with error codeMySqlAIError
- Python錯誤:PyCharm 安裝出錯 Internal error,please。。。PythonPyCharmError
- phpStudy安裝ssl證照 – HTTPS SSL 教程PHPHTTP
- Tomcat 安裝SSL證書 – HTTPS SSL 教程TomcatHTTP
- 安裝adobe 直裝版應用出現Error無法繼續安裝,檔案已損壞解決方法Error
- 解決PHP 7.4安裝xdebug出現configure: error: rtnetlink.h is required, please...PHPErrorUI
- NSIS 官方對安裝包出現 NSIS Error 的解釋與解決方案Error
- Linux安裝mysql出現ERROR! The server quit without updating PID file問題解決LinuxMySqlErrorServerUI
- Sharepoint安裝SSL證書?
- Tomcat安裝SSL證書Tomcat
- Kafka SSL安裝與配置Kafka
- SSL證書安裝指引教程 – HTTPS SSL 教程HTTP
- 在 UOS 統信安裝 dotnet sdk 失敗 提示 failed the verificationAI
- composer 安裝擴充套件出現 "PHP Fatal error: Allowed memory ..."的解決辦法套件PHPError
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- ssl解除安裝的工作原理
- 從根本解決windows安裝JDK出現error:could not open ‘...jvm.cfg‘的問題WindowsJDKErrorJVM
- error:14090086:SSL routines:ssl3_get_server_certificateErrorServer
- 解決CocoaPods安裝卡住反應慢或失敗
- Session 'app': Error Launching activity(安裝包安裝失敗)SessionAPPError
- Error connecting with SSL. error:1409442E:SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol versionErrorTLSProtocol
- 安裝JDK8出現安裝Jre的視窗JDK
- Aliyun SSL 證書籤發&安裝
- SSL解除安裝是什麼意思?
- 安裝SSL證書的好處
- 安裝SSL證書優缺點
- mysql 安裝出現的問題MySql
- CDH安裝時出現的坑
- SSL錯誤ssl connect error 35的解決方案Error