Repository navigation
fix(🍏): don't name build stamps .signature (ITMS-91063) - #4540
Merged
Merged
Conversation
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
1 task done
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.
Owner
Author
|
all good I knew this were risks and I prefer that we catch it early like this 👍
|
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.
Contributor
|
🎉 This PR is included in version 3.13.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
Description
Fixes #4539. Since 3.12.0 (#4521), App Store Connect rejects builds with ITMS-91063 because of
.rnskia-skia.signatureand.rnskia-dawn.signature.These are our incremental-build stamps, written next to the staged static libraries in the build products directory. Xcode collects
*.signaturefiles 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:
.rnskia-$MODULE.stamp, and remove any.rnskia-$MODULE.signatureleft over from a previous build (archive build folders persist across runs, so stale stamps would otherwise still be uploaded)..slices/$SDK.signaturestamp in the assembly folder to.slices/$SDK.stampas well, and drop the old one when the folder is reassembled.Guards so this can't come back:
scripts/__tests__/prepare-apple-binaries.spec.tsruns the assembly and staging steps of the Xcode phase (withditto/plutilstubbed, so it runs on Linux) and fails if any*.signaturefile is left in the output or assembly folders, including legacy stamps from 3.12.Build/Productsfor*.signaturefiles afterxcodebuild. It skipsReactNativeWebGPUBinariesfor 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.signatureandassembly/skia/.slices/iphoneos.signature) and passes with the fix, both with a standalone jest setup and in this PR'stestjob.The first e2e-ios run answered the open question about the CI check: Xcode writes no
*.signaturefiles 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.