something wrong with "Unreal engine"

Hi I have problems with unreal engine 4. I use the Macbook 2020 m1.
I can create a bluprint project, but when I want to create a project with++ I get an error. I used Xcode" and “Visual Studio Code” (visual studio code with a lot of add-ons that I found in other forums). When I tried to create the C++ project I got this:


After I have a choice, use vsCode or cancel this operation.
I choose use vsCode, and then vsCode will open and ueEditor show me this:

Code is created, but project doesn’t run. When I’m try to open project manually I got this error

I click yes and got this
Screenshot 2022-10-15 at 20.36.53
I don’t know how to fix, I checked all forums it doesn’t help