所以,我有一个类仍然与已删除的 Drawers.storyboard 文件有连接。
如何“清理”或删除与不存在的故事板的旧连接?
解决它。貌似是缓存问题。。。。
我在终端做了这个:
rm -rf ~/Library/Caches/com.apple.dt.Xcode ~/Library/Developer/Xcode/DerivedData/*
这是解决此问题的简单方法:
1.) Rightclick on your project.
2.) Show in Finder
3.) Find the "Drawers.storyboard"
4.) Drag it into your project again.
5.) Enter the storyboard and right click on the view.
6.) Remove all connections.
如果我错了,请告诉我,我会编辑我的答案。