首页 > 代码库 > ios异常处理

ios异常处理

Malformed or corrupted AST file: ‘Unable to load module "/Users/topbar/Library/Developer/Xcode/DerivedData/ModuleCache/3TJWGBUKOEC41/Darwin.pcm": module file out of date‘

 

 

 

fatal error: malformed or corrupted AST file: ‘Unable to load module "/Users/topbar/Library/Developer/Xcode/DerivedData/ModuleCache/3TJWGBUKOEC41/Darwin.pcm": module file out of date‘

note: after modifying system headers, please delete the module cache at ‘/Users/topbar/Library/Developer/Xcode/DerivedData/ModuleCache/3TJWGBUKOEC41‘

1 error generated.

 

 

一段时间没用,今天编译出现这种情况,

解决办法,

 

  • Clean the project
  • Touch the project‘s pch file
  • Perform a deep clean (Option+Command+Shift+K)
  • iOS Simulator > Reset Content and Settings