pod search 报错

➜ ~ pod search IQKeyboardManagerSwift

[!] CDN: trunk - Cannot perform full-text search because Algolia returned an error: 0: Cannot reach any host: execution expired, execution expired, execution expired, execution expired


这种问题是因为更改了source 'https://github.com/CocoaPods/Specs.git'

执行:

pod repo remove trunk

这样再使用 pod search 就可以了

Podfile 需要更改地方

platform :ios,'9.0'

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

use_frameworks!

target 'ZYDemoRM' do

  pod 'JPush'

end


解决pod

推荐阅读更多精彩内容