Incomplete type 'ABatteryMan' named in nested name specifier Problem

Hello everyone. I created a C++ class as character. Header and source automatically created.
Class name is BatteryMan.
When I click it and open it, I see the methods on cpp source file.
For example:

ABatteryMan::ABatteryMan()
{

PrimaryActorTick.bCanEverTick = true;

}
is a method that created automatically. I have 4 of them.

And some errors like this:
Incomplete type ‘ABatteryMan’ named in nested name specifier

Firstly, I have "#include “BatteryMan.h” " automatically.

I’m using UE4.26.1
XCode 12.5
MacOS Big Sur 11.3.1
Note that, in UE editor, its compiling succesfully but I see error messages on my IDE

Are you making progress ?