Unreal 4.23, mac OS C++ Project Create Error

Hello,
I have a problem of Mac Build for Unreal 4.23…

My Mac “Xcode” Version is 12, and Unreal Version is 4.23.

first, I was Tried Create BluePrint Projects, and Successed.

but Next, I was Tried Create C++ Projects, it was Failed.

I attach the Error Code.

Please, Help me…


프로젝트를 컴파일할 수 없었습니다. Xcode 에서 여시겠습니까?

(Project can’t compile, would you open it Xcode?)

Running Mono...

​

Found mono via known Mono.framework path

Running installed mono, version:  Mono JIT compiler version 6.12.0.93 (2020-02/620cf538206 Tue Aug 25 14:04:52 EDT 2020)

/Users/Shared/Epic Games/UE_4.23/Engine /Users/Shared/Epic Games/UE_4.23/Engine/Binaries/Mac

Creating makefile for SampleEditor (no existing makefile)

@progress push 5%

Parsing headers for SampleEditor

  Running UnrealHeaderTool "/Users/name/Documents/Unreal Projects/Sample/Sample.uproject" "/Users/name/Documents/Unreal Projects/Sample/Intermediate/Build/Mac/SampleEditor/Development/SampleEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed

Reflection code generated for SampleEditor in 7.1689264 seconds

@progress pop

Performing 7 actions (4 in parallel)

[1/7] Compile SharedPCH.Engine.h

In file included from /Users/name/Documents/Unreal Projects/Sample/Intermediate/Build/Mac/SampleEditor/Development/Engine/SharedPCH.Engine.h:367:

In file included from /Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:540:

In file included from /Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:24:

/Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:478:24: error: loop variable 'EdgeVertexID' of type 'const FVertexID' creates a copy from type 'const FVertexID' [-Werror,-Wrange-loop-analysis]

                for( const FVertexID EdgeVertexID : Edge.VertexIDs )

                                     ^

/Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:478:8: note: use reference type 'const FVertexID &' to prevent copying

                for( const FVertexID EdgeVertexID : Edge.VertexIDs )

                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                     &

/Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:550:32: error: loop variable 'VertexInstanceID' of type 'const FVertexInstanceID' creates a copy from type 'const FVertexInstanceID' [-Werror,-Wrange-loop-analysis]

                for( const FVertexInstanceID VertexInstanceID : VertexInstanceIDs )

                                             ^

/Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:550:8: note: use reference type 'const FVertexInstanceID &' to prevent copying

                for( const FVertexInstanceID VertexInstanceID : VertexInstanceIDs )

                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                             &

/Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:653:22: error: loop variable 'VertexConnectedEdgeID' of type 'const FEdgeID' creates a copy from type 'const FEdgeID' [-Werror,-Wrange-loop-analysis]

                for( const FEdgeID VertexConnectedEdgeID : VertexArray[ VertexID0 ].ConnectedEdgeIDs )

                                   ^

/Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:653:8: note: use reference type 'const FEdgeID &' to prevent copying

                for( const FEdgeID VertexConnectedEdgeID : VertexArray[ VertexID0 ].ConnectedEdgeIDs )

                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                   &

/Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:682:32: error: loop variable 'VertexInstanceID' of type 'const FVertexInstanceID' creates a copy from type 'const FVertexInstanceID' [-Werror,-Wrange-loop-analysis]

                for( const FVertexInstanceID VertexInstanceID : VertexArray[ VertexID ].VertexInstanceIDs )

                                             ^

/Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:682:8: note: use reference type 'const FVertexInstanceID &' to prevent copying

                for( const FVertexInstanceID VertexInstanceID : VertexArray[ VertexID ].VertexInstanceIDs )

                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                             &

/Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:695:22: error: loop variable 'EdgeID' of type 'const FEdgeID' creates a copy from type 'const FEdgeID' [-Werror,-Wrange-loop-analysis]

                for( const FEdgeID EdgeID : ConnectedEdgeIDs )

                                   ^

/Users/Shared/Epic Games/UE_4.23/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:695:8: note: use reference type 'const FEdgeID &' to prevent copying

                for( const FEdgeID EdgeID : ConnectedEdgeIDs )

                     ^~~~~~~~~~~~~~~~~~~~~~

                                   &

5 errors generated.

Unreal doesn’t currently support Xcode 12. Downgrade to 11 by downloading from this link: Sign In - Apple

You’ll need an apple id to sign in. Hope that helps!