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
feat: add macOS and visionOS support to SPM build system
- Add macOS and visionOS platforms to ios-prebuild CLI and type definitions
- Build Hermes from source at the merge base with facebook/react-native
when no prebuilt artifacts are available (main branch / 1000.0.0)
- Fix host hermesc cmake build by setting CMAKE_OSX_DEPLOYMENT_TARGET to
prevent -Werror=unguarded-availability-new failures in LLVM config checks
- Map ReactNativeDependencies version to upstream RN via peerDependencies,
with fallback to latest stable release for main branch
- Conditionally include macOS-specific platform view sources in Package.swift
using #if os(macOS) to avoid compiling macOS C++ on iOS/visionOS
- Allow skipping ReactNativeDependencies download via SKIP_REACT_NATIVE_DEPENDENCIES
env var for CI jobs that only build Hermes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@@ -420,16 +428,13 @@ let reactFabricComponents = RNTarget(
420
428
"components/modal/platform/cxx",
421
429
"components/view/platform/android",
422
430
"components/view/platform/windows",
423
-
"components/view/platform/macos",
424
431
"components/textinput/platform/android",
425
432
"components/text/platform/android",
426
-
"components/textinput/platform/macos",
427
433
"components/text/tests",
428
434
"textlayoutmanager/tests",
429
435
"textlayoutmanager/platform/android",
430
436
"textlayoutmanager/platform/cxx",
431
437
"textlayoutmanager/platform/windows",
432
-
"textlayoutmanager/platform/macos",
433
438
"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