Author Topic: 4.21 plugin for a source build on macOS  (Read 1312 times)

I'm trying to use the plugin for my source build on macOS but got this error when the plugin compiling:
Code: [Select]
error: PCH file built from a different branch ((clang-1001.0.46.3)) than the compiler ((clang-1001.0.46.4))The full build log is in the attached file.
It happens if either I put the plugin in the Engine folder or the Project folder.

UE 4.21 (source build)
XCode 10.2.1
Substance plugin 4.21.0.31 (tried both from the Marketplace and from the google drive archive)
macOS 10.14.3

I have tried to remove the Binaries folder in teh plugin, didn't helped.
If I try to remove the Intermediate folder (which should be a temporary one as well), the build shows a different error that it can't find some .gen.cpp files.

Is there a proper way to setup the plugin for a source build in macOS?