Unable to load module CustomMeshComponent.dylib

So I’ve added these lines to my build script.

PrivateDependencyModuleNames.AddRange(new string[] { "CustomMeshComponent" });
PrivateIncludePathModuleNames.AddRange(new string[] { "CustomMeshComponent" });

Trying to load the project now fails at 70%, it cannot find the library:

[2016.05.14-22.47.57:503][
0]LogMac:Warning: dlopen failed:
dlopen(/Volumes/User/pgr/Documents/Unreal
Projects/point_cache2/Binaries/Mac/UE4Editor-point_cache2-7930.dylib,
5): Library not loaded:
@rpath/UE4Editor-CustomMeshComponent.dylib
Referenced from:
/Volumes/User/pgr/Documents/Unreal
Projects/point_cache2/Binaries/Mac/UE4Editor-point_cache2-7930.dylib
Reason: image not found
[2016.05.14-22.47.57:503][
0]LogModuleManager:Warning:
ModuleManager: Unable to load module
‘/Volumes/User/pgr/Documents/Unreal
Projects/point_cache2/Binaries/Mac/UE4Editor-point_cache2-7930.dylib’
because the file couldn’t be loaded by
the OS.

Is CustomMeshComponent available on OSX? Or am I missing something…
Thank you.

I think I’m having exactly the same issue:

Did you ever find a solution?