I have had this happen to me several times both from the command line and Xcode. Running clean command (or passing --clean) will leave the build in an inconsistent state. The fix is to usually rm -rf WebKitBuild/PrecompiledHeaders/*