一、網(wǎng)上下載的工程都有這個(gè)問題 ?:Pods-XXXXX.debug.xcconfig.xcconfig: unable to open file
解決辦法很簡(jiǎn)單
1鼻百,sudo gem install cocoapods --pre
2绞旅,pod install
二、升級(jí)CocoaPods到1.8.4温艇,國內(nèi)cdn源用不了?
? ? ? ?執(zhí)行 pod install 出現(xiàn) :
Cloning spec repo `trunk` from `https://cdn.cocoapods.org/`
[!] Unable to add a source with url `https://cdn.cocoapods.org/` named `trunk`.
You can try adding it manually in `/Users/weifulin/.cocoapods/repos` or via `pod repo add`.
解決辦法:
????????在Podfile文件中添加源'?https://github.com/CocoaPods/Specs.git?'
? ? ? ? 然后執(zhí)行pod install