Getting compile error , cannot open InputCoreTypes.generated.h

Thank you! This was the solution for M1 Mac.