当我 运行 `pod install` 命令时,我一直收到错误
when I run the `pod install` command, I keep getting an error
我使用cocopods导入第三方SDK,但是我运行执行pod install
命令时,一直报错
这是我的播客文件
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'ZEGOLiveDemo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for ZEGOLiveDemo
pod 'ZIM', '>= 2.1.1'
pod 'ZegoExpressEngine'
end
这是错误信息
[!] CDN: trunk Repo update failed - 10 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/0.0.2/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.2.0/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.2.1/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.3.0/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.3.1/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.3.2/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.3.7/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/2.0.0/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/2.1.0/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/2.1.1/ZIM.podspec.json Response: SSL connect error
https://blog.cocoapods.org/CocoaPods-1.7.2/
cocoapods 1.7.2版本后,仓库目录默认移动到'https://cdn.cocoapods.org/'地址
如果无法访问,可以尝试切换到原版github 'https://github.com/ CocoaPods/Specs.git'
喜欢
source 'https://github.com/CocoaPods/Specs.git'
target 'ZEGOLiveDemo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for ZEGOLiveDemo
pod 'ZIM', '>= 2.1.1'
pod 'ZegoExpressEngine'
end
我使用cocopods导入第三方SDK,但是我运行执行pod install
命令时,一直报错
这是我的播客文件
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'ZEGOLiveDemo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for ZEGOLiveDemo
pod 'ZIM', '>= 2.1.1'
pod 'ZegoExpressEngine'
end
这是错误信息
[!] CDN: trunk Repo update failed - 10 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/0.0.2/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.2.0/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.2.1/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.3.0/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.3.1/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.3.2/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/1.3.7/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/2.0.0/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/2.1.0/ZIM.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/2/9/ZIM/2.1.1/ZIM.podspec.json Response: SSL connect error
https://blog.cocoapods.org/CocoaPods-1.7.2/
cocoapods 1.7.2版本后,仓库目录默认移动到'https://cdn.cocoapods.org/'地址
如果无法访问,可以尝试切换到原版github 'https://github.com/ CocoaPods/Specs.git' 喜欢
source 'https://github.com/CocoaPods/Specs.git'
target 'ZEGOLiveDemo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for ZEGOLiveDemo
pod 'ZIM', '>= 2.1.1'
pod 'ZegoExpressEngine'
end