Repository navigation
fix(🍏): don't name build stamps .signature (ITMS-91063) - #655
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, 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
added a commit
to wcandillon/react-native-skia
that referenced
this pull request
Nov 25, 2026
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-skia
that referenced
this pull request
Nov 25, 2026
* fix(🍏): don't name build stamps .signature (ITMS-91063) 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 * test(🍏): guard against *.signature files in Apple build products 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. * ci(🍏): skip react-native-webgpu's stamp until it ships the fix The example installs a react-native-webgpu release that still writes .rnwgpu-dawn.signature; wcandillon/react-native-webgpu#655 fixes it.
|
🎉 This PR is included in version 0.26.0 🎉 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
Same bug as wcandillon/react-native-skia#4539, fixed there in wcandillon/react-native-skia#4540. Since #640 (v0.24.0), App Store Connect rejects iOS builds with ITMS-91063 because of
.rnwgpu-dawn.signature.The Xcode phase writes incremental-build stamps 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:
.rnwgpu-$MODULE.stamp, and remove any.rnwgpu-$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.build/Build/Productsfor*.signaturefiles afterxcodebuild, so this can't come back.v0.24.0 and v0.25.0 are affected; v0.23.0 is the last unaffected release. The prebuilt binaries don't need a rebuild: the stamps are written by the build phase on the user's machine, not shipped in the release archives.
Agent-written content
Tested by sourcing
prepare-apple-binaries.shon Linux withditto/json_stringsstubbed and runningassemble_moduleandstage_moduleagainst planted v0.24 stamps. The old script leavesoutput/.rnwgpu-dawn.signatureandassembly/dawn/.slices/iphoneos.signature; the fixed script only writes.stampfiles and removes the legacy ones.No unit test here: this package's jest config always runs the e2e global setup, so a script test would need its own config (as the Expo plugin has). The react-native-skia PR adds one.
The new CI check passed on the first iOS run, and the same check on react-native-skia showed that Xcode writes no
*.signaturefiles of its own into build products: the only one it found there was this package's.rnwgpu-dawn.signaturefrom the published release.Not verified with a real Xcode archive and App Store Connect upload.