Skip to content

0.88.3: the visionOS pods build with use_frameworks on iOS - #20

Merged
doranteseduardo merged 2 commits into
0.88-stablefrom
fix/ios-frameworks
Nov 16, 2026
Merged

doranteseduardo merged 2 commits into
0.88-stablefrom
fix/ios-frameworks

Conversation

@doranteseduardo

Copy link
Copy Markdown
Member

Summary

An app that installs the fork as react-native and builds iOS from source with use_frameworks! (dynamic, the configuration ARCore's pods ask for) failed to compile, even on 0.88.2, in three places in the visionOS additions. A framework exposes its headers only under its own module name, and these pods assumed the shared header directory a non-framework build has. This fixes all three and bumps the package to 0.88.3.

What changed

  • React-RCTXR and React-RCTWindowManager declare React-RCTFBReactNativeSpecVisionOS with add_dependency instead of s.dependency, as React Native's own pods do for React-RCTFBReactNativeSpec (e.g. React-FabricComponents). add_dependency also adds the dependency's framework header path, so FBReactNativeSpec_visionOS.h is found.
  • RCTXRModule.mm imports <RCTXR/RCTXR-Swift.h> when the pod is a framework, "RCTXR-Swift.h" otherwise (__has_include).
  • RCTReactViewController.m (React-RCTSwiftExtensions) imports <React_RCTAppDelegate/RCTAppDelegate.h> when that module exists, <React-RCTAppDelegate/RCTAppDelegate.h> otherwise, and its podspec now depends on React-RCTAppDelegate (add_dependency). It had never declared that dependency; the header was reachable only through the shared header directory.
  • 0.88.3: package.json, the native version constants (JS, ObjC, C++, Kotlin), VERSION_NAME and the codegen snapshot. reactNativeUpstreamVersion stays 0.88.1.
  • CHANGELOG: v0.88.3.

Notes

  • The first two problems and their fixes were found by the reporter; the third is the one they stopped at.
  • Installing the fork alongside react-native (the setup guide, the showcase), or the prebuilt React core, never reaches these pods on iOS with frameworks.

Testing

  • An Expo SDK 58 app with this branch packed (npm pack) as react-native, ios.buildReactNativeFromSource: true and ios.useFrameworks: dynamic: pod install (no React-Core-prebuilt), xcodebuild for the iOS Simulator: BUILD SUCCEEDED, with RCTXR.framework, React_RCTSwiftExtensions.framework and React_RCTAppDelegate.framework built.
  • RNTester-visionOS (React Native and Hermes from source, no frameworks) for the visionOS Simulator: BUILD SUCCEEDED.
  • CI did not run: GitHub Actions is blocked for the org by billing.

@doranteseduardo
doranteseduardo merged commit f438b58 into 0.88-stable Nov 16, 2026
43 of 45 checks passed
@doranteseduardo
doranteseduardo deleted the fix/ios-frameworks branch November 16, 2026 04:26
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