Skip to content

fix(🍏): don't name build stamps .signature (ITMS-91063) - #4540

Merged
wcandillon merged 3 commits into
mainfrom
claude/nifty-allen-ga6ngp
Nov 25, 2026
Merged

wcandillon merged 3 commits into
mainfrom
claude/nifty-allen-ga6ngp

Conversation

@wcandillon

@wcandillon wcandillon commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Description

Fixes #4539. Since 3.12.0 (#4521), App Store Connect rejects builds with ITMS-91063 because of .rnskia-skia.signature and .rnskia-dawn.signature.

These are our incremental-build stamps, written next to the staged static libraries in the build products directory. Xcode collects *.signature files from build products into the archive as XCFramework code signature records, so App Store Connect tried to validate our plain-text stamps as signatures and rejected them.

The fix:

  • Rename the build-products stamp to .rnskia-$MODULE.stamp, and remove any .rnskia-$MODULE.signature left over from a previous build (archive build folders persist across runs, so stale stamps would otherwise still be uploaded).
  • Rename the internal .slices/$SDK.signature stamp in the assembly folder to .slices/$SDK.stamp as well, and drop the old one when the folder is reassembled.

Guards so this can't come back:

  • scripts/__tests__/prepare-apple-binaries.spec.ts runs the assembly and staging steps of the Xcode phase (with ditto/plutil stubbed, so it runs on Linux) and fails if any *.signature file is left in the output or assembly folders, including legacy stamps from 3.12.
  • The iOS CI job checks Build/Products for *.signature files after xcodebuild. It skips ReactNativeWebGPUBinaries for now: the example installs a react-native-webgpu release that still writes .rnwgpu-dawn.signature (fixed in fix(🍏): don't name build stamps .signature (ITMS-91063) react-native-webgpu#655). Drop that exclusion once the example is on a release with the fix.

3.12.0 and 3.13.0 are affected; 3.11.1 is the last unaffected release.

Agent-written content

The new spec fails against the 3.12 script (it reports output/.rnskia-skia.signature and assembly/skia/.slices/iphoneos.signature) and passes with the fix, both with a standalone jest setup and in this PR's test job.

The first e2e-ios run answered the open question about the CI check: Xcode writes no *.signature files of its own into build products. The only one found was react-native-webgpu's .rnwgpu-dawn.signature, and the .rnskia-* stamps from earlier runs in the persistent derived data were gone, which confirms the legacy cleanup in a real Xcode build.

Not verified with a real Xcode archive and App Store Connect upload.

Xcode collects *.signature files from build products into the archive,
so App Store Connect validated our incremental-build stamps as XCFramework
code signatures and rejected the upload. Use a .stamp extension and remove
stamps left behind by previous builds.

Fixes #4539
@theeket

theeket commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Sorry for that 🥲 I didn't catch it.

A unit test runs the assembly and staging steps of the Xcode phase and
fails if they leave a *.signature file behind, and the iOS CI job checks
the real build products after xcodebuild.
@wcandillon

wcandillon commented Nov 25, 2026 via email •

Copy link
Copy Markdown
Owner Author

The example installs a react-native-webgpu release that still writes
.rnwgpu-dawn.signature; wcandillon/react-native-webgpu#655 fixes it.
wcandillon added a commit to wcandillon/react-native-webgpu that referenced this pull request Nov 25, 2026
Xcode collects *.signature files from build products into the archive,
so App Store Connect validated our incremental-build stamps as XCFramework
code signatures and rejected the upload. Use a .stamp extension, remove
stamps left behind by previous builds, and check the iOS build products
for *.signature files in CI.

Same fix as wcandillon/react-native-skia#4540.
@wcandillon
wcandillon merged commit 13bdf30 into main Nov 25, 2026
10 of 12 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.13.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS App Store Connect rejects build with ITMS-91063: invalid ".rnskia-skia.signature" and ".rnskia-dawn.signature"

2 participants