Build errors on iOS for arm64

I’m trying to compile the source for iOS on Windows, remote connecting to macos.
While engine is building on macos, I’m receiving the logged errors.
How can I correct these, any ideas?..

Xcode version is 8.2.1 (8C1002)
Source is from release branch, commit hash is 0f251f67cbcda3832e640de58582e0ee915969cd



UnrealBuildTool: In file included from /Users/emrahgunduz/UE4/Builds/EMRAH/D/Unreal/HitMe/Intermediate/Build/IOS/HitMe/Development/Engine/Module.Engine.10_of_37.cpp:17:
UnrealBuildTool:
UnrealBuildTool:   D:\Engine\Engine\Engine\Source\Runtime\Engine\Private\Components\NavMeshRenderingComponent.cpp(40,73): error: incomplete type 'ARecastNavMesh' named in nested name specifier
UnrealBuildTool:
UnrealBuildTool:                 if (FVector::DistSquared(Start, View->ViewMatrices.GetViewOrigin()) > ARecastNavMesh::GetDrawDistanceSq() ||
UnrealBuildTool:
UnrealBuildTool:                                                                                       ^~~~~~~~~~~~~~~~
UnrealBuildTool:
UnrealBuildTool: /Users/emrahgunduz/UE4/Builds/EMRAH/D/Engine/Engine/Source/Runtime/Engine/Classes/AI/Navigation/NavMeshRenderingComponent.h:13:7: note: forward declaration of 'ARecastNavMesh'
UnrealBuildTool:
UnrealBuildTool: class ARecastNavMesh;
UnrealBuildTool:
UnrealBuildTool:       ^
UnrealBuildTool:
UnrealBuildTool: In file included from /Users/emrahgunduz/UE4/Builds/EMRAH/D/Unreal/HitMe/Intermediate/Build/IOS/HitMe/Development/Engine/Module.Engine.10_of_37.cpp:17:
UnrealBuildTool:
UnrealBuildTool:   D:\Engine\Engine\Engine\Source\Runtime\Engine\Private\Components\NavMeshRenderingComponent.cpp(41,68): error: incomplete type 'ARecastNavMesh' named in nested name specifier
UnrealBuildTool:
UnrealBuildTool:                         FVector::DistSquared(End, View->ViewMatrices.GetViewOrigin()) > ARecastNavMesh::GetDrawDistanceSq())
UnrealBuildTool:
UnrealBuildTool:                                                                                         ^~~~~~~~~~~~~~~~
UnrealBuildTool:
UnrealBuildTool: /Users/emrahgunduz/UE4/Builds/EMRAH/D/Engine/Engine/Source/Runtime/Engine/Classes/AI/Navigation/NavMeshRenderingComponent.h:13:7: note: forward declaration of 'ARecastNavMesh'
UnrealBuildTool:
UnrealBuildTool: class ARecastNavMesh;
UnrealBuildTool:
UnrealBuildTool:       ^
UnrealBuildTool:
UnrealBuildTool: In file included from /Users/emrahgunduz/UE4/Builds/EMRAH/D/Unreal/HitMe/Intermediate/Build/IOS/HitMe/Development/Engine/Module.Engine.10_of_37.cpp:17:
UnrealBuildTool:
UnrealBuildTool:   D:\Engine\Engine\Engine\Source\Runtime\Engine\Private\Components\NavMeshRenderingComponent.cpp(60,88): error: incomplete type 'ARecastNavMesh' named in nested name specifier
UnrealBuildTool:
UnrealBuildTool:                 const float MaxDistanceSq = (CorrectDistance > 0) ? FMath::Square(CorrectDistance) : ARecastNavMesh::GetDrawDistanceSq();
UnrealBuildTool:
UnrealBuildTool:                                                                                                      ^~~~~~~~~~~~~~~~
UnrealBuildTool:
UnrealBuildTool: /Users/emrahgunduz/UE4/Builds/EMRAH/D/Engine/Engine/Source/Runtime/Engine/Classes/AI/Navigation/NavMeshRenderingComponent.h:13:7: note: forward declaration of 'ARecastNavMesh'
UnrealBuildTool:
UnrealBuildTool: class ARecastNavMesh;
UnrealBuildTool:
UnrealBuildTool:       ^
UnrealBuildTool:
UnrealBuildTool: 3 errors generated.


UnrealBuildTool: In file included from /Users/emrahgunduz/UE4/Builds/EMRAH/D/Unreal/HitMe/Intermediate/Build/IOS/HitMe/Development/Engine/Module.Engine.3_of_37.cpp:2:
UnrealBuildTool:
UnrealBuildTool:   D:\Engine\Engine\Engine\Source\Runtime\Engine\Private\AI\Navigation\RecastNavMeshDataChunk.cpp(65,25): error: use of undeclared identifier 'NAVMESHVER_LATEST'
UnrealBuildTool:
UnrealBuildTool:         int32 NavMeshVersion = NAVMESHVER_LATEST;
UnrealBuildTool:
UnrealBuildTool:                                ^
UnrealBuildTool:
UnrealBuildTool:   D:\Engine\Engine\Engine\Source\Runtime\Engine\Private\AI\Navigation\RecastNavMeshDataChunk.cpp(75,24): error: use of undeclared identifier 'NAVMESHVER_MIN_COMPATIBLE'
UnrealBuildTool:
UnrealBuildTool:                 if (NavMeshVersion < NAVMESHVER_MIN_COMPATIBLE)
UnrealBuildTool:
UnrealBuildTool:                                      ^
UnrealBuildTool:
UnrealBuildTool: 2 errors generated.

I tried to include “AI/Navigation/RecastNavMesh.h” to each cpp file to be able get rid of the forward declarations
After this, the errors continue appearing on other files regarding ARecastNavMesh…


UnrealBuildTool: In file included from /Users/emrahgunduz/UE4/Builds/EMRAH/D/Unreal/HitMe/Intermediate/Build/IOS/HitMe/Development/Engine/Module.Engine.2_of_37.cpp:5:
UnrealBuildTool:
UnrealBuildTool:   D:\Engine\Engine\Engine\Source\Runtime\Engine\Private\AI\Navigation\NavigationTestingActor.cpp(364,43): error: no member named 'FindDistanceToWall' in 'ARecastNavMesh'
UnrealBuildTool:
UnrealBuildTool:                 const float Distance = AsRecastNavMesh->FindDistanceToWall(GetActorLocation(), UNavigationQueryFilter::GetQueryFilter(*MyNavData, this, FilterClass), FLT_MAX, &TmpOutLocation);
UnrealBuildTool:
UnrealBuildTool:                                        ~~~~~~~~~~~~~~~  ^
UnrealBuildTool:
UnrealBuildTool: 1 error generated.


UnrealBuildTool: In file included from /Users/emrahgunduz/UE4/Builds/EMRAH/D/Unreal/HitMe/Intermediate/Build/IOS/HitMe/Development/AIModule/Module.AIModule.3_of_3.cpp:2:
UnrealBuildTool:
UnrealBuildTool:   D:\Engine\Engine\Engine\Source\Runtime\AIModule\Private\GameplayDebugger\GameplayDebuggerCategory_AI.cpp(247,16): error: no member named 'GetPolyVerts' in 'ARecastNavMesh'
UnrealBuildTool:
UnrealBuildTool:                                                 NavData->GetPolyVerts(NavMeshPath->PathCorridor[Idx], PolyData.Points);
UnrealBuildTool:
UnrealBuildTool:                                                 ~~~~~~~  ^
UnrealBuildTool:
UnrealBuildTool:   D:\Engine\Engine\Engine\Source\Runtime\AIModule\Private\GameplayDebugger\GameplayDebuggerCategory_AI.cpp(249,38): error: no member named 'GetPolyAreaID' in 'ARecastNavMesh'
UnrealBuildTool:
UnrealBuildTool:                                                 const uint32 AreaId = NavData->GetPolyAreaID(NavMeshPath->PathCorridor[Idx]);
UnrealBuildTool:
UnrealBuildTool:                                                                       ~~~~~~~  ^
UnrealBuildTool:
UnrealBuildTool:   D:\Engine\Engine\Engine\Source\Runtime\AIModule\Private\GameplayDebugger\GameplayDebuggerCategory_AI.cpp(250,33): error: no member named 'GetAreaIDColor' in 'ARecastNavMesh'
UnrealBuildTool:
UnrealBuildTool:                                                 PolyData.Color = NavData->GetAreaIDColor(AreaId);
UnrealBuildTool:
UnrealBuildTool:                                                                  ~~~~~~~  ^

It seems that Module.Engine files are broken as forward declarations are not working correctly.