Unable to build Project on Mac OS

Hey there,

I’m trying to open an old project from UE 4.4.3. I am trying to open it on Mac OS using UE 4.4.3 however when I try and open it UE tells me I need to convert the project. I select convet in place and then I am met with an error.

I’m not 100% sure what the issue is here. Here is the error log

The project failed to compile with this version of the engine. Build output is as follows:


Running Mono...

Setting up Mono
/Users/Shared/Epic Games/UE_4.4/Engine /Users/Shared/Epic Games/UE_4.4/Engine/Binaries/Mac
Compiling with Mac SDK 10.9
Parsing headers for TheBeardChroniclesEditor
Reflection code generation finished for TheBeardChroniclesEditor and took 3.352
Performing 10 actions (max 8 parallel jobs)
[1/10] Compile TheBeardChronicles.h
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' [-Wmissing-sysroot]
In file included from /Users/reito/Source/Games/UnrealEngine/TheBeardChronicles 4.4/Intermediate/Build/Mac/TheBeardChroniclesEditor/Development/TheBeardChronicles/TheBeardChronicles.h:4:
In file included from /Users/reito/Source/Games/UnrealEngine/TheBeardChronicles 4.4/Source/TheBeardChronicles/Public/TheBeardChronicles.h:10:
In file included from Runtime/Engine/Public/EngineMinimal.h:10:
In file included from Runtime/CoreUObject/Public/CoreUObject.h:7:
In file included from Runtime/Core/Public/Core.h:9:
Runtime/Core/Public/HAL/Platform.h:607:56: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
        static_assert((TAreTypesEqual<TCHAR, ANSICHAR>::Value || TAreTypesEqual<TCHAR, WIDECHAR>::Value), "TCHAR should either be ANSICHAR or WIDECHAR.");
                                                              ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Runtime/Core/Public/HAL/Platform.h:607:56: note: use '|' for a bitwise operation
        static_assert((TAreTypesEqual<TCHAR, ANSICHAR>::Value || TAreTypesEqual<TCHAR, WIDECHAR>::Value), "TCHAR should either be ANSICHAR or WIDECHAR.");
                                                              ^~
                                                              |
In file included from /Users/reito/Source/Games/UnrealEngine/TheBeardChronicles 4.4/Intermediate/Build/Mac/TheBeardChroniclesEditor/Development/TheBeardChronicles/TheBeardChronicles.h:4:
In file included from /Users/reito/Source/Games/UnrealEngine/TheBeardChronicles 4.4/Source/TheBeardChronicles/Public/TheBeardChronicles.h:10:
In file included from Runtime/Engine/Public/EngineMinimal.h:10:
In file included from Runtime/CoreUObject/Public/CoreUObject.h:7:
In file included from Runtime/Core/Public/Core.h:19:
In file included from Runtime/Core/Public/HAL/PlatformIncludes.h:8:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/new:92:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdlib:85:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/stdlib.h:93:15: fatal error: 'stdlib.h' file not found
#include_next <stdlib.h>
              ^~~~~~~~~~
1 warning and 1 error generated.
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: /Users/reito/Source/Games/UnrealEngine/TheBeardChronicles 4.4/Binaries/Mac/UE4Editor-TheBeardChronicles.dylib
Cumulative action seconds (8 processors): 0.00 building projects, 2.10 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other
UBT execution time: 9.02 seconds

I’m running Mac OS 13.4.1 on an MacBook Pro 2018 2.7 GHz Quad-Core Intel Core i7.

I’m looking forward to getting some insight here.

Thank you

For me, it looks like something is not installed with XCode. Take a look at this thread: high sierra - stdlib.h file not found and macOS SDK package installer also not found - Ask Different