llvm segmentation failed with latest xcode beta

Hello.


Installed latest xcode beta version to test compatibility with latest ios and keep getting error during compile:


fatal error: malformed or corrupted AST file: 'submodule ID out of range in AST file'

note: after modifying system headers, please delete the module cache at '/Users/user/Library/Developer/Xcode/DerivedData/ModuleCache/1BQHQF3JGH2UD'

clang: error: unable to execute command: Segmentation fault: 11

clang: error: clang frontend command failed due to signal (use -v to see invocation)

Apple LLVM version 8.1.0 (clang-802.0.27.2)

Target: arm-apple-darwin16.0.0

Thread model: posix

InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


Tried deleting cache, derived data and other bunch of advices on the Internet, but nothing helps. Any thoughts?


Thanks.

Whenever you encounter errors like this in a beta release of Xcode that haven't occured in the latest shipping version, please file a bug report on the problem.

llvm segmentation failed with latest xcode beta
 
 
Q