Skip to content

[ci] Build iOS core prebuilds with Xcode 27.2 - #60151

Open
huntie wants to merge 1 commit into
mainfrom
pr60151
Open

huntie wants to merge 1 commit into
mainfrom
pr60151

Conversation

@huntie

@huntie huntie commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

🚨 Critical fix for the StatusBar.getVerticalBarEdgeIOS() feature, as the native side of this is currently compiled out due to the version of Xcode we build with.

  • Our prebuilt iOS core is built with (I believe) Xcode 16.4, the setup-xcode default on macos-15, so its iOS 18.5 SDK compiles out everything gated on __IPHONE_OS_VERSION_MAX_ALLOWED >= 270100.
  • In apps that use the prebuilt core, StatusBar.getVerticalBarEdgeIOS() and useVerticalBarEdgeIOS() always return null on iPhone Duo, while source builds report the edge value.

Changes

  • Run both prebuild-ios-core jobs on the xcode-27 runner image and pin Xcode 27.2. Editing the workflow also changes the cache keys, so no slice built with the old SDK is reused.

Note

xcode-27 is still a GitHub preview image, which can queue longer than macos-15.

Also potentially affected

Other code gated on an SDK newer than iOS 18.5, compiled out of the 0.89.0-rc.2 prebuilt core:

Gate Where Effect with the prebuilt core
>= 270000 RCTStatusBarManager.mm (RCTAppLevelStatusBarIsNoOp) Always NO, so the warning for UIViewControllerBasedStatusBarAppearance = NO never fires in apps built with the iOS 27 SDK, where the app-level setters do nothing.
>= 260000 RCTEnhancedScrollView.mm (setInverted:) Inverted scroll views keep their iOS 26 scroll edge effects, which the mirror transform misplaces.
>= 260100 RCTAccessibilityManager.mm (Show Borders) Reads the deprecated UIAccessibilityButtonShapesEnabled on iOS 26.1+ instead of AXShowBordersEnabled.

Changelog: [Internal]

Changelog (0.89):
[iOS][Fixed] - StatusBar: getVerticalBarEdgeIOS() and useVerticalBarEdgeIOS() report the vertical bar edge when using the prebuilt React Native core

Test Plan

Checked in an app on 0.89.0-rc.2 on the iPhone Duo simulator (iOS 27.2):

  • ❌ The prebuilt React.framework reports sdk 18.5 (vtool -show-build) and contains no verticalBarEdge selector, and StatusBar.getVerticalBarEdgeIOS() returns null while the key window's trait collection has verticalBarEdge set to trailing.
  • ✅ The same app built from source with Xcode 27.2 contains the selector.

The workflow change itself runs only in CI.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 19, 2026
@huntie
huntie marked this pull request as ready for review November 19, 2026 15:22
@huntie

huntie commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

@huntie-bot Pick to 0.89 once merged.

@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Nov 19, 2026
@meta-codesync

meta-codesync Bot commented Nov 20, 2026

Copy link
Copy Markdown

@javache has imported this pull request. If you are a Meta employee, you can view this in D133462554.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants