Repository navigation
fix(deps): move expo-modules-core to what expo bundles - #925
Merged
Merged
Conversation
`expo-modules-core` was pinned at 56.0.22 while [email protected] bundles ~56.0.26 — four patches below the core every other Expo native module is compiled against. That is the ITMS-90863 shape (#683): compiled against one ExpoModulesCore API surface, linked against another. iOS dyld tolerates it; Apple's Mac-compatibility check does not. ## The pin was not load-bearing, and I had guessed wrong about why #916 recorded my inference that it traced to the custom Animated drawer's Reanimated/Worklets matrix. It does not. The history: 72ccda7 added the override at 55.0.7, for the ui-storybook-native app a9704c4 set 56.0.22 in "align 22 SDK 56 packages with what expo expects" That second commit is #689, the fix for ITMS-90863, and its message is explicit that this version was the REFERENCE POINT rather than a constraint: "expo-image at 56.0.9 and expo-image-manipulator at 56.0.14, against an expo-modules-core pinned at 56.0.22". It moved the satellites UP to this pin. The satellites then moved on with the catalog — expo-image-manipulator is at 56.0.26 today, expo-image at 56.0.13 — and this stayed behind. So the skew #689 closed had simply inverted: the core is now below the modules compiled against it. Nothing consulted it in between because `expo install --check` only inspects apps/scaffald's DIRECT dependencies, and this is transitive, held by a root `pnpm.overrides` entry. The check that existed to prevent #683 structurally could not see the package #683 was about. scripts/check-expo-alignment.mjs (#907) walks the installed tree and is what surfaced it. Moved in lockstep — override and catalog — per #501, since the override outranks the catalog and a half-move is silent. The reason is now written next to the pin instead of being reconstructible only from two old commits. ## Verified natively, because nothing in CI can see this failure mode #683 shipped through a green build and was caught at Apple delivery, so a green CI here proves nothing. Built and ran it: expo prebuild --platform ios ok, no tracked files changed pod install 149 pods, ExpoModulesCore (56.0.26) xcodebuild -workspace … Debug ** BUILD SUCCEEDED **, 0 diagnostics launch on iPhone 17 Pro dev client UI renders, PID alive, no crash report The launch is the part that matters. These are dynamic frameworks, so their symbols resolve at LOAD time — which is exactly how #683 survived a build. dyld loaded ExpoModulesCore 56.0.26 alongside ExpoImage and ExpoImageManipulator without a missing-symbol abort. `nm -u` on both of those frameworks also shows zero undefined `exposedDefinition` symbols, the #683 signature. Static checks: check-expo-alignment 39/39 agree with no override exception left, overrides/catalog aligned (9 pairs), `expo install --check` up to date, Expo autolinking exports match the installed CLI, prepush green. Also corrected the comment in check-expo-alignment.mjs, which cited this pin as an example of a deliberate override — it was not one. Co-Authored-By: Claude Opus 5 <[email protected]>
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.
Closes #916.
expo-modules-corewas pinned at 56.0.22 while[email protected]bundles ~56.0.26 — four patches below the core that every other Expo native module is compiled against. That is the ITMS-90863 shape (#683): compiled against one ExpoModulesCore API surface, linked against another. iOS dyld tolerates it; Apple's Mac-compatibility check does not.The pin was not load-bearing, and I had guessed wrong about why
#916 recorded my inference that it traced to the custom Animated drawer's Reanimated/Worklets matrix. It does not. The history:
72ccda70255.0.7, for theui-storybook-nativeappa9704c49656.0.22in "align 22 SDK 56 packages with what expo expects"That second one is #689 — the fix for ITMS-90863 — and its message is explicit that this version was the reference point, not a constraint:
It moved the satellites up to this pin. The satellites then moved on with the catalog —
expo-image-manipulatoris at 56.0.26 today,expo-imageat 56.0.13 — and this stayed behind. So the skew #689 closed had simply inverted: the core now sits below the modules compiled against it.Nothing caught it in between because
expo install --checkonly inspectsapps/scaffald's direct dependencies, and this is transitive, held by a rootpnpm.overridesentry. The check that existed to prevent #683 structurally could not see the package #683 was about.scripts/check-expo-alignment.mjsfrom #917 walks the installed tree, which is how it surfaced.Moved in lockstep — override and catalog — per #501, since the override outranks the catalog and a half-move is silent. The reason now lives next to the pin instead of being reconstructible only from two old commits.
Verified natively, because nothing in CI can see this failure mode
#683 shipped through a green build and was caught at Apple delivery. A green CI here proves nothing, so I built and ran it:
The launch is the part that matters. These are dynamic frameworks, so their symbols resolve at load time — which is precisely how #683 survived a build. dyld loaded ExpoModulesCore 56.0.26 alongside ExpoImage and ExpoImageManipulator with no missing-symbol abort.
nm -uon both of those frameworks also shows zero undefinedexposedDefinitionsymbols, the #683 signature.The dev client running on the simulator
Expected state for a dev client with no Metro attached — "Scaffald (development) / Development Build / No development servers found". The point is that it got that far.
Static checks
check-expo-alignment— 39/39 agree, no override exception leftoverrides/catalog aligned— 9 pairs (Web export broken on main: expo-modules-autolinking override (56.0.12) predates @expo/cli 56.1.22 #501)expo install --check— up to datepnpm prepushgreenAlso corrected the comment in
check-expo-alignment.mjs, which cited this pin as an example of a deliberate override. It wasn't one — and the lesson worth keeping is to check why a pin exists before assuming it is load-bearing, which is the mistake I made when filing #916.Caveat
This was a Debug simulator build. Apple's checker runs against a Release build for a real device, and the precompiled
ExpoModulesCore.xcframeworkmay differ by slice. The symbol evidence and a clean dyld load are strong, but the conclusive test is the next EAS iOS build — worth watching that one rather than assuming.🤖 Generated with Claude Code