Unable to find Cocoapod MotionKit framework Derive

2019-09-10 18:38发布

问题:

I installed the library with Pod. But I got the following error when I build the app:

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)

This happens after I upgraded the Xcode. How to fix such error?

回答1:

Xcode > Window > Projects > [project] > Delete