1、更新cocoapod sudo gem install cocoapods 2、更新sdk pod update 3、查看最新版本号 # 查看最新版本号 cat Podfile.lock 4、增加版本号 将查询到的版本号添加到pod中 pod 'MJRefresh', '3.7.6'