You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ios-prebuild): address review on the deps-headers sidecar
Review feedback on ReactNativeDependenciesHeaders + pure-RN ReactNativeHeaders:
- prebuild-ios-dependencies.yml: the sidecar cache key now hashes the two
cross-package files it is actually generated from — ios-prebuild/
headers-xcframework.js (emitter) + headers-spec.js (DEPS_NAMESPACES) — in
BOTH occurrences, and bumps v4->v5. A DEPS_NAMESPACES/emitter edit can no
longer serve a stale cached sidecar on main.
- prebuild-ios-core.yml: bump the core xcframework cache key v2->v3 to reflect
the added ReactNativeHeaders tarball in the artifact set (was relying only on
the hashFiles component).
- headers-xcframework.js: wrap both staging temp dirs (.stub-work-* /
.deps-headers-stage-*) in try/finally so an xcrun/xcodebuild failure can't
leave them behind in outDir (= third-party/).
- verifyArtifactsAreOnMaven.js: clarify the comment — the 8 primary xcframework
classifier tarballs are HEAD-checked; the 4 dSYM classifiers are intentionally
excluded.
- test-ios-rntester/action.yml: harden the use-prebuilds resolution — only
true/false enable/disable; an unexpected value warns instead of silently
disabling.
- reactNativeDependencies.js: comment reconciling the two sidecar sources (the
full-slice tarball copy vs the ensureHeadersLayout DEFAULT_STUB_SLICES
fallback) — they agree on the iOS slices SPM needs; headers are slice-uniform.
- Tests: stubSlicesFromXcframework known-slice mapping + unknown-slice throw
(mocked plutil JSON).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments