What about the terminal output when you launch it from the terminal. Is there anything there before this?
Assertion failed: FPaths::DirectoryExists(RealShaderDirectory) [File:/Users/build/Build/++UE4+Release-4.17+Compile/Sync/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp] [Line: 172]