Fail to generate Xcode project with GenerateProjectFiles

I got the same problem trying to create an an c++ actor class
but I’m following a course and it’s using visual studio code to make changes on that class but it just gives me that message , btw I’m using UE5.0.3