Error compiling mac

Please note that I have it working in windows.

So I just got a mac and download the source code. Clicked the setup and generated the project files. The next step is to open the file with XCODE, switch to UE4 → MyMac and hit build. However I get two errors:

  • USe of undeclared identifier “NSAlertStyleCritical” in MacPlatformApplicationMisc.cpp
  • sys/kedebug_signpost.h file not found in ApplePlatformDebugEvents.cpp

What can I do to fix this? There is no information regarding this in previous posts/google