无法findCocoapod MotionKit框架派生数据

我用Pod安装了这个库。 但是当我构build应用程序时,我得到了以下错误:

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: can't open file: \ /Users/taiyuanz/Library/Developer \ /Xcode/DerivedData/RollingBall-gbmnblxxirswheemtfgncxsqywkj/Build/\ Products/Debug-iphoneos/Ballman.app/Frameworks/MotionKit (No such file or directory) 

我升级了Xcode后发生这种情况。 如何解决这样的错误?

Xcode>窗口>项目> [项目]>删除

删除派生数据