cocoaPods常见错误

2020-01-03  本文已影响0人  yyggzc521

1. [!] CDN: trunk Repo update failed:

升级 CocoaPods 到 1.8.4 版本,pod install 安装第三方库时出现上面的错误

【解决方法:】

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '9.0'
target 'ZCUICategory_Example' do

    pod 'AFNetworking'
    pod 'SVProgressHUD'
end

在 Podfile 加上source ‘https://github.com/CocoaPods/Specs.git’即可解决
链接

  1. podfile中 use_frameworks! 和 #use_frameworks!区别
    文章
上一篇 下一篇

猜你喜欢

热点阅读