回复下你的两个问题:

第一个:

Pod search 命令搜索的是本地仓库,不会联网查询,请确保本地Pod仓库是最新的。

如果是最新的,你可以看到下面的信息:

查询:

Pod search ChatKit

输出结果:

-> ChatKit (0.3.7)
   An IM App Framework, support sending text, pictures, audio, video, location messaging, managing address book, more interesting features.
   pod 'ChatKit', '~> 0.3.7'
   - Homepage: https://github.com/LeanCloud/ChatKit-OC
   - Source:   https://github.com/LeanCloud/ChatKit-OC.git
   - Versions: 0.3.7, 0.3.6, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.1, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1
   [master repo]

第二个:

另外,请问各种报错,都是什么报错,请贴一下错误信息。

这里报错[!] Unable to find a specification for ChatKit cocoapods v1.0.1 什么都是最新的了。就是报错这个!

请在这个目录下进行pod install。