CDN: trunk Repo update failed - CocoaPods

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 耐心等待下就好

猜你喜欢

转载自blog.csdn.net/mp624183768/article/details/106163577
今日推荐