I’m following the guide to test the AR kit but I’ve run into a snag. When I try to compile I get the following error. I’ve seen a couple posts with similar issues but nothing exactly the same. If anyone could offer some advice it would be greatly appreciated.
Setting up Mono
Building ARSampleEditor...
2017-07-13 08:36:16.172 defaults[9085:92557]
The domain/default pair of (com.apple.dt.Xcode, IDEBuildOperationMaxNumberOfConcurrentCompileTasks) does not exist
Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe ARSampleEditor Mac Development /Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Samples/ARSample/ARSample.uproject
Performing 5 actions (4 in parallel)
[1/5] Compile Module.MetalRHI.cpp
In file included from /Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Intermediate/Build/Mac/UE4Editor/Development/MetalRHI/Module.MetalRHI.cpp:9:
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalComputeCommandEncoder.cpp:266:68: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setTextures:(const id <MTLTexture> __nullable [__nullable])textures withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalComputeCommandEncoder.cpp:330:78: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalComputeCommandEncoder.cpp:394:78: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers lodMinClamps:(const float [__nullable])lodMinClamps lodMaxClamps:(const float [__nullable])lodMaxClamps withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalComputeCommandEncoder.cpp:394:126: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers lodMinClamps:(const float [__nullable])lodMinClamps lodMaxClamps:(const float [__nullable])lodMaxClamps withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalComputeCommandEncoder.cpp:394:178: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers lodMinClamps:(const float [__nullable])lodMinClamps lodMaxClamps:(const float [__nullable])lodMaxClamps withRange:(NSRange)range
^
In file included from /Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Intermediate/Build/Mac/UE4Editor/Development/MetalRHI/Module.MetalRHI.cpp:19:
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderCommandEncoder.cpp:263:74: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setVertexTextures:(const id <MTLTexture> __nullable [__nullable])textures withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderCommandEncoder.cpp:326:84: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setVertexSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderCommandEncoder.cpp:390:84: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setVertexSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers lodMinClamps:(const float [__nullable])lodMinClamps lodMaxClamps:(const float [__nullable])lodMaxClamps withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderCommandEncoder.cpp:390:132: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setVertexSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers lodMinClamps:(const float [__nullable])lodMinClamps lodMaxClamps:(const float [__nullable])lodMaxClamps withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderCommandEncoder.cpp:390:184: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setVertexSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers lodMinClamps:(const float [__nullable])lodMinClamps lodMaxClamps:(const float [__nullable])lodMaxClamps withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderCommandEncoder.cpp:614:76: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setFragmentTextures:(const id <MTLTexture> __nullable [__nullable])textures withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderCommandEncoder.cpp:678:86: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setFragmentSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderCommandEncoder.cpp:742:86: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setFragmentSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers lodMinClamps:(const float [__nullable])lodMinClamps lodMaxClamps:(const float [__nullable])lodMaxClamps withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderCommandEncoder.cpp:742:134: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setFragmentSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers lodMinClamps:(const float [__nullable])lodMinClamps lodMaxClamps:(const float [__nullable])lodMaxClamps withRange:(NSRange)range
^
/Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalRenderCommandEncoder.cpp:742:186: error: nullability specifier '_Nullable' conflicts with existing specifier '_Nonnull'
- (void)setFragmentSamplerStates:(const id <MTLSamplerState> __nullable [__nullable])samplers lodMinClamps:(const float [__nullable])lodMinClamps lodMaxClamps:(const float [__nullable])lodMaxClamps withRange:(NSRange)range
^
15 errors generated.
ERROR: UBT ERROR: Failed to produce item: /Users/ue4user/Desktop/UnrealEngine-dev-ar-kit/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor-MetalRHI.dylib
Total build time: 60.78 seconds (Local executor: 0.00 seconds)