From f2a7d7e8d982a0b406a1d15cc4f5f02df0385594 Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Date: Mon, 30 Jun 2025 21:24:11 -0300 Subject: [PATCH] fix building Fabric on macOS --- ios/Fabric/RNCSafeAreaProviderComponentView.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ios/Fabric/RNCSafeAreaProviderComponentView.mm b/ios/Fabric/RNCSafeAreaProviderComponentView.mm index 910ebb68..f315ccda 100644 --- a/ios/Fabric/RNCSafeAreaProviderComponentView.mm +++ b/ios/Fabric/RNCSafeAreaProviderComponentView.mm @@ -36,6 +36,7 @@ - (instancetype)initWithFrame:(CGRect)frame return self; } +#if !TARGET_OS_OSX - (void)willMoveToSuperview:(UIView *)newSuperView { [super willMoveToSuperview:newSuperView]; @@ -45,6 +46,7 @@ - (void)willMoveToSuperview:(UIView *)newSuperView [self registerNotifications]; } } +#endif - (void)registerNotifications {