title: fatal error: malformed or corrupted AST file - Xcode
body: <p>I get this error when building my app in the latest version of Xcode:</p>
  
  <blockquote>
    <p>fatal error: malformed or corrupted AST file: 'Unable to load module
    "/Users/me/Library/Developer/Xcode/DerivedData/ModuleCache/XYZYIE6ZV0OP/Darwin.pcm":
    file not found' note: after modifying system headers, please delete
    the module cache at
    '/Users/me/Library/Developer/Xcode/DerivedData/ModuleCache/XYZYIE6ZV0OP'
    1 error generated.</p>
  </blockquote>
  
  <p>When I navigate to: </p>
  
  <blockquote>
    <p>/Users/me/Library/Developer/Xcode/DerivedData/ModuleCache</p>
  </blockquote>
  
  <p>I can see that the directory 'XYZYIE6ZV0OP' doesn't exist. </p>
  
  <p>Does anybody know how I can resolve this? I cannot delete anything at the directory as suggested in the 2nd part of the error message as that directory doesn't exist!</p>