c++ – ‘file “CoreMinimal.h” is not found’ when compiling Unreal Engine game

I am making a third person game with unreal engine, I am getting this error while trying to compile my file. I am using Xcode on Mac OS. When I try to write this line :

#include "CoreMinimal.h"

I am getting this error :

file "CoreMinimal.h" is not found