Getting error “No such module” using Xcode, but the framework is there

前端 未结 30 1729
小蘑菇
小蘑菇 2020-11-22 05:02

I\'m currently coding in Swift, and I\'ve got an error:

No such module Social

But I don\'t understand, because the module is in

30条回答
  •  囚心锁ツ
    2020-11-22 05:25

    Assuming the Framework really is there and in the path, etc... delete the ~/Library/Developer/Xcode/DerivedData/ModuleCache directory (and clean the project and delete the project-specific derived data for good measure).

    When you do the standard cleanup, the ModuleCache directory doesn't get rebuilt.

提交回复
热议问题