Why I'm getting "'TARGET_OS_MAC' is not defined, evaluates to 0" error?

I'm getting this errors when I'm trying to build my RN project in XCode 13.1

'TARGET_OS_TV' is not defined, evaluates to 0 'TARGET_OS_IPHONE' is not defined, evaluates to 0 'TARGET_OS_MAC' is not defined, evaluates to 0

You're probably missing a #include <TargetConditionals.h> import statement.

Why I'm getting "'TARGET_OS_MAC' is not defined, evaluates to 0" error?
 
 
Q