Skip to content

0.88.2: XR and WindowManager build with the prebuilt React core - #19

Merged
doranteseduardo merged 2 commits into
0.88-stablefrom
fix/visionos-module-headers
Nov 16, 2026
Merged

doranteseduardo merged 2 commits into
0.88-stablefrom
fix/visionos-module-headers

Conversation

@doranteseduardo

Copy link
Copy Markdown
Member

Summary

An iOS build failed in this fork's own code: RCTWindowManager.mm:1:9: fatal error: 'React/RCTWindowManager.h' file not found. It happens when an app installs the fork as react-native and builds iOS with the prebuilt React core, which Expo SDK 58's Podfile turns on by default (RCT_USE_PREBUILT_RNCORE=1 unless ios.buildReactNativeFromSource is true). This fixes it and bumps the package to 0.88.2.

Cause

React-RCTWindowManager and React-RCTXR are installed on every platform, and their .mm files imported their headers as <React/RCTWindowManager.h> and <React/RCTXRModule.h>. Those headers reach <React/...> through React-Core's RCTWindowManagerHeaders / RCTXRHeaders subspecs, which exist only when React Native builds from source. With the prebuilt core, React.xcframework is upstream's and carries none of the visionOS headers.

Installing the fork alongside react-native (what the setup guide and the showcase do) was not affected: iOS then uses stock React Native and never installs these pods.

What changed

  • RCTWindowManager.mm and RCTXRModule.mm import their own header ("RCTWindowManager.h", "RCTXRModule.h"), and both podspecs ship it (source_files now includes *.h). The React-Core header subspecs stay, so <React/...> keeps working for source builds.
  • 0.88.2: package.json, the native version constants (JS, ObjC, C++, Kotlin), VERSION_NAME and the codegen snapshot, as in 0.86.4. reactNativeUpstreamVersion stays 0.88.1, which is what the prebuilt artifacts are fetched by.
  • CHANGELOG: v0.88.2.

Testing

  • Reproduced: a new Expo SDK 58 app (create-expo-app, blank TypeScript) with "react-native": "npm:@reactvision/react-native-visionos@0.88.1", expo prebuild -p ios, pod install (installs React-Core-prebuilt, React-RCTWindowManager, React-RCTXR) and xcodebuild for the iOS Simulator: fails with the error above.
  • Fixed: the same app with this branch packed (npm pack) in place of 0.88.1: BUILD SUCCEEDED.
  • visionOS unaffected: RNTester-visionOS from clean Pods, React Native and Hermes from source, for the visionOS Simulator: BUILD SUCCEEDED.
  • CI did not run: GitHub Actions is blocked for the org by billing.

@doranteseduardo
doranteseduardo merged commit 9f049c0 into 0.88-stable Nov 16, 2026
43 of 45 checks passed
@doranteseduardo
doranteseduardo deleted the fix/visionos-module-headers branch November 16, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants