升級(jí)了cocoaPods 版本1.8.4,今天pod install,然后問(wèn)題就來(lái)了:
1、出現(xiàn)了下邊的問(wèn)題:
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
[!] CDN: trunk Repo update failed - 58 error(s):
網(wǎng)上查了半天,原因是“國(guó)內(nèi)cdn源用不了”。解決方案如下
1、podfile添加? ??source 'https://github.com/CocoaPods/Specs.git'
2、終端里面輸入? ? pod repo remove trunk? ? ?,移除trunk源