1.用cocoapods装了第三方插件后,要从.xcworkspace文件打开项目,而不是.xcodeproj,否则就有可能有这个报错。
2.上边因素排除后,可以尝试command+shife+k,来clean项目,这还是因为xcode 留下的data缓存导致的。