1、清理项目pod cache cd 到项目中,清除pod缓存。 2、删除项目pod中三方库,将Podfile中 #pod ‘RXSwift’ 注释。 3、cd 到项目中,pod install。再将Podfile中pod 'RXSwift’注释去掉,运行pod install。