Repository navigation
feat: build Expo SDK 56 apps - #42
Open
WillyAntunez wants to merge 28 commits into
Open
WillyAntunez wants to merge 28 commits into
WillyAntunez wants to merge 28 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build Expo SDK 56 apps
rn-xtool buildnow builds Expo SDK 56 apps (expo 56.0.24 or newer 56.x, react-native 0.85.3) on Linux, on the same route as SDK 57: the vendored Expo plugin, the vendored React Native scripts, React Native 0.85.3's adapted artifacts and thejsistep beforern-spm. A freshdefault@sdk-56template with expo-dev-client builds cold and warm with no hand fix. SDK 55 and older are refused with a message that names the supported SDKs, and a build killed halfway no longer leaves the next builds failing without an explanation.Design:
docs/design/specs/2026-11-11-expo-sdk-56-design.md. Plan:docs/design/plans/2026-11-11-expo-sdk-56.md.Status: SDK 56 is build-verified; the device pass is pending.
What changed
⚠ Newer than the Expo SDK 56 set …line.doctor --projectnames the SDK and the verified versions.expo-modules-jsi+56.0.14.patch(SDK 56 only) makesexpo.CppError'smessageinternal so Swift 6.4 compiles it, and marks four conformances to the internalJSIRepresentable@_spi(Internal), as jsi 57.1.3 does, so Swift 6.4 writes anExpoModulesJSI.swiftinterfaceevery module can import. On SDK 56 and 57 thejsistep reads the interface it built and stops at once on a line no Swift compiler parses, instead of minutes later inxtool-build.jsistep takesNativeState.hand the headers it includes frominclude/Public(jsi 57 and newer) orinclude(jsi 56), and names the missing header when one is not there.spm.config.jsonfloor, its podspec's iOS deployment target and core's, capped at the App target's iOS 16.4. A podspec that asks for more prints one⚠line naming the package, the iOS version it asks for and the availability check its newer code needs.⚠line that names the reason.jsiorxtool-buildleaves a module cache clang cannot read.build --cleanremoves the jsi build's scratch on every kind, and a failure on such a file adds a paragraph naming the folder and the remedy, atbuild,installandinstall --network. On an Expo projectbuild --cleankeepsios-xtool/.build, so the paragraph for that folder namesrm -rf ios-xtool/.build. Thejsiandxtool-buildoutput now goes through a pipe, so SwiftPM prints each progress update on its own line.expo-56/default, and the weekly exploration covers SDK 54 and 55. README, how-it-works (SDK 56 reference timings included), recipe, libraries, bare-react-native, troubleshooting, RELEASING and the vendored plugin's README cover SDK 56 and hybrid apps where they apply.On the SDK 56 template,
ios.iconis an Icon Composer icon, which needs Xcode's actool, so the app has no icon untilios.iconis a PNG; and ExpoModulesWorkletsAdapter is left out because ExpoModulesCore is precompiled, whileExpoModulesWorklets.frameworkis embedded.Verification
default@sdk-56+ expo-dev-client, 2026-11-11):build --clean346 s cold (xtool-build 223 s),build65 s warm (xtool-build 38 s);App.app140 MB with 14 frameworks (ExpoImage, SDWebImage and its coders, libavif included). The generated interface has 570 lines and none that fails to parse; all 21 generated Expo packages declare iOS 16.4; the interface stamp is unchanged by the warm build.build --clean): 82 s,App.app94 MB with 8 frameworks; the headers tree and the interface guard pass.build --clean): about 313 s,App.app151 MB with 14 frameworks.build --clean): about 215 s,App.app86 MB with 3 frameworks.frameworkscheck passed on all four.buildwith the jsi paragraph, andbuild --cleangets through thejsistep again; one underios-xtool/.buildstopsxtool-buildwith its paragraph, andrm -rf ios-xtool/.buildthenbuildsucceeds with a coldxtool-build.npm test: 2984 passed, 6 skipped.npm run lint,npm run check:mentionsandnpm run scan:privateare clean.Merge gate
Notes for the changelog
[Unreleased](Added, Changed, Fixed); this PR makes no release and bumps no version.