Can not build Editor module under MacOS

Trying to build my project on MacOS and get such error

Showing All Messages
LogCompile:Error: Duplicate class name: UAssetViewerSettings also exists in file /Script/Engine
/Users/Shared/UnrealEngine/4.13/Engine/Source/Runtime/Engine/Public/AssetViewerSettings.h(98) : LogUObjectHash:Error: Ambiguous search, could be Class /Script/Engine.AssetViewerSettings or Class /Script/UnrealEd.AssetViewerSettings
/Users/Shared/UnrealEngine/4.13/Engine/Source/Editor/UnrealEd/Public/AssetViewerSettings.h(15) : struct: ‘PreviewSceneProfile’ conflicts with class name

It looks like AssetViewerSettings struct is really define in two modules

Hey Yata,

Is your plugin named PreviewSceneProfile?

Thanks.

Hello,

No, here is minimal project I managed to create which can not be build with that error.
Under Windows it builds perfectly.

link text

I downloaded your project and did the following:

  • Right click on the .uproject and
    generate XCode project files
  • Launch XCode with the .xcodeproject file
  • Build project with XCode

I didn’t get any errors, though I did get a couple warnings, which aren’t critical.

It appears to be working correctly on my end, can you give me more info?

Thanks.

Quite strange. Mine generate this error on build.

I am on OS X El Capitan, 10.11.6.
XCode version 8.1 8B62
Unreal Engine 4.13.2

I can build Development configuration. But not Development Editor. Please, can you check it, Kyle?

Such config does not build.

Found what was causing that error. There were
Engine\Source\Runtime\Engine\Private\AssetViewerSettings.cpp and Engine\Source\Runtime\Engine\Private\AssetViewerSettings.h in my engine installation. Don’t know how they appeared there but after deleting them I can build project.