解决方法:. 删除DerivedData . 参照上面的链接设置:File -> Workspace Settings -> Build System -> Legacy Build Sysem . 关闭xcode重新打开