When compiling any material i get this error UE 4.18.2 , xcode 9.2
…
LogShaderCompilers: Warning: /Users/Shared/Epic Games/UE_4.18/Engine/Content/EditorMaterials/AssetViewer/M_SkyBox.uasset: Failed to compile Material for platform SF_METAL_SM5, Default Material will be used in game.
LogShaderCompilers: /tmp/13671_2471286418.metal(0): Failed to compile to bytecode locally, code: 1, output: fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/lib/clang/802.1/include/metal/metal_stdlib' has been modified since the precompiled header '/tmp/metal_stdlib_11323578694557174BFFB3187C02FFDD1FEA6808C9FF8
8FEA28EFmetalfe-802.1.34-mmacosx-version-min_10.12-ffast-math-std_osx-metal1.2.pch' was built
note: please rebuild precompiled header '/tmp/metal_stdlib_11323578694557174BFFB3187C02FFDD1FEA6808C9FF88FEA28EFmetalfe-802.1.34-mmacosx-version-min_10.12-ffast-math-std_osx-metal1.2.pch'
1 err0r generated.
I’m getting this same issue (crash at 35%), and I’ve never gotten any “Xcode too old” error.
For me, my output log errors look slightly different from the original question, like this: LogShaderCompilers: Warning: /Users/nantuk/Epic Games/UE_4.18/Engine/Content/EditorMaterials/Thumbnails/FloorPlaneMaterial.uasset: Failed to compile Material for platform SF_METAL_SM5, Default Material will be used in game. LogShaderCompilers: /tmp/12370_1902970301.metal(0): Failed to load output file: /tmp/ShaderIn509DB8D7BB4646B4438234AAFF2EF739
which also result in me having to sit waiting for “Compiling Shaders (4000)”