IOS cook errors

MacOS: OS X EI Capitan 10.11.5
UE4 : 4.11.2 clone from github, and compiled in development editor configure

error log:

[2016.12.02-07.58.19:300][ 0]LogShaderCompilers:Warning: 788 Shader compiler errors compiling WorldGridMaterial for platform SF_METAL:
[2016.12.02-07.58.19:301][ 0]LogShaderCompilers:Warning: Engine/Shaders/…/…/…/Engine/Intermediate/ShaderIn454F83BF8E4417B9148FD391125C6DA5.metal(0): Shader TShadowDepthPSPixelShadowDepth_NonPerspectiveCorrectfalse, VF FParticleSpriteVertexFactory:
metal: error: unknown argument: ‘-ffmast-math’

[2016.12.02-07.58.19:505][ 0]LogMac:Error: appError called: Assertion failed: Assertion failed: [File:/Users/ifuwo/Desktop/UnrealEngine/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 1545]
Failed to compile default material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial!

[2016.12.02-07.58.19:541][ 0]LogMac: === Critical error: ===
SIGSEGV: invalid attempt to access memory at address 0x3

i can’t cook this material right , so my app crashes on iPad .
how to cook on Mac for IOS?

i would like to upload cook logs ,but i don’t see where to add attachments.

okay , i think this was a bug on UE4.11 .

in file:\UnrealEngine\Engine\Source\Developer\Apple\MetalShaderFormat\Private\MetalShaderCompiler.cpp

line 368: FString Params = FString::Printf(TEXT("%s -Wno-null-character -ffmast-math %s -o %s"), Standard, *InputFilename, *ObjFilename);

Here is the argument ‘-ffmast’ , it should be ‘-ffast’ . And this have been fix in version 4.12 .