'CoreMinimal.h' file not found when building on Unreal Engine on Mac

I’m trying out C++ on Unreal Engine 4.25 on Mac. If relevant, my Xcode version is 12. When I try to compile, there’s an error: ‘CoreMinimal.h’ file not found.

I’ve looked around and some solutions mention a workaround, which is to add the path to CoreMinimal.h into the .vscode/c_cpp_properties.json file. I did that:

...
"includePath": 
"${workspaceFolder}/**",
"/Users/Shared/Epic Games/UE_4.25/Engine/**" // This is the filepath to CoreMinimal.h
],
...

I still get the same error. I couldn’t find any other solution. Has someone found a solution to this?

Thanks.

1 Like