CDN: trunk Repo update failed

笑着哭i 提交于 2020-08-19 13:44:11

1. podfile文件中指定source源为master:

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

添加在最上面即可

target 'DemoApp' do
    source 'https://github.com/CocoaPods/Specs.git'
    pod 'Alamofire', '~> 4.7'
    pod 'PKHUD', '~> 5.0'
    pod 'Toaster'
    pod 'Qiniu', '~> 7.2'
end

2.执行pod repo remove trunk移除trunk源

3.pod install 耐心等待下就好

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!