在Finder图标上,点击鼠标右键--》前往文件夹--》输入~Library/Developer/Xcode/DerivedData 然后删除DerivedData目录下的文件夹,重新打开Xcode工程即可。