Problems building on OSX

Hey folks,

My first post here so I’m not sure if this is the correct thread for Unreal Engine build problems. I’m trying to build the dev-ar-kit branch on OSX, but have hit this build error. I’m new to UnrealEngine and also Xcode so I thought I’d post this here while I dig around myself:

Setting up Mono
Building ARSampleEditor…
2017-07-09 10:10:36.185 defaults[19950:273603]
The domain/default pair of (com.apple.dt.Xcode, IDEBuildOperationMaxNumberOfConcurrentCompileTasks) does not exist
Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe ARSampleEditor Mac Development /Users//git/UnrealEngine/Samples/ARSample/ARSample.uproject
Performing 5 actions (4 in parallel)
[1/5] Compile Module.MetalRHI.cpp
In file included from /Users//git/UnrealEngine/Engine/Intermediate/Build/Mac/UE4Editor/Development/MetalRHI/Module.MetalRHI.cpp:15:
/Users//git/UnrealEngine/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalParallelRenderCommandEncoder.cpp:82:4: error: nullability specifier ‘nonnull’ conflicts with existing specifier ‘nullable’

  • (id <MTLRenderCommandEncoder>)renderCommandEncoder
    ^
    1 error generated.
    ERROR: UBT ERROR: Failed to produce item: /Users//git/UnrealEngine/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor-MetalRHI.dylib
    Total build time: 70.36 seconds (Local executor: 0.00 seconds)

cheers,

Just noticed this has been fixed in commit 822e382b27695175715287a38557c9e1f9c42af0

solved