You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IOSSwitchShadowNode.mm imports UIKit which doesn't exist on macOS.
Use #if os(macOS) to exclude the iOS variant and include the macOS
variant (and vice versa on iOS), matching the existing pattern for
view platform sources.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
// "components/switch/iosswitch/.../MacOSSwitchShadowNode.mm" or "IOSSwitchShadowNode.mm" — [macOS] see reactFabricComponentsSwitchExcludes
450
452
"components/textinput/platform/android",
451
453
"components/text/platform/android",
452
454
"components/textinput/platform/macos",
@@ -457,7 +459,7 @@ let reactFabricComponents = RNTarget(
457
459
"textlayoutmanager/platform/windows",
458
460
"textlayoutmanager/platform/macos",
459
461
"conponents/rncore", // this was the old folder where RN Core Components were generated. If you ran codegen in the past, you might have some files in it that might make the build fail.
0 commit comments