I update my macOS to 11.3 and unfortunately my C++ UE 4.26 project doesn’t compile.
Have this error:
[1/11] Compile SharedPCH.Engine.ShadowErrors.h
clang: error: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk' [-Werror,-Wmissing-sysroot]
I also received this error in other project:
ERROR: Unable to instantiate module 'Renderer': System.MissingFieldException: Field not found: string UnrealBuildTool.ModuleRules.MinFilesUsingPrecompiledHeaderOverride Due to: Could not find field in class
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <98fac219bd4e453693d76fda7bd96ab0>:0
(referenced via Target -> Launch.Build.cs -> SessionServices.Build.cs -> Core.Build.cs -> SourceCodeAccess.Build.cs -> Settings.Build.cs -> CoreUObject.Build.cs -> Projects.Build.cs -> DesktopPlatform.Build.cs -> ApplicationCore.Build.cs)