一错误[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/all_pods_versions_a_7_5.txt, error: execution expired
1、解决
platform:ios, '9.0'
添加这句source 'https://github.com/CocoaPods/Specs.git'
target '项目名称' do
二、错误
解决Mac10.13 Pod报错 -bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
1、解决
1.1在终端执行
brew link --overwrite cocoapods
尝试 Pod 命令是否已经恢复、若报错继续执行
1.2
brew reinstall cocoapods
brew install ruby
brew link --overwrite cocoapods