Skip to content

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

Merged
wcandillon merged 1 commit into
mainfrom
claude/nifty-allen-ga6ngp
Nov 25, 2026
Merged

wcandillon merged 1 commit into
mainfrom
claude/nifty-allen-ga6ngp

Conversation

@wcandillon

@wcandillon wcandillon commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

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 *.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 .rnwgpu-$MODULE.stamp, and remove any .rnwgpu-$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.
  • The iOS CI job now checks build/Build/Products for *.signature files after xcodebuild, 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.sh on Linux with ditto/json_strings stubbed and running assemble_module and stage_module against planted v0.24 stamps. The old script leaves output/.rnwgpu-dawn.signature and assembly/dawn/.slices/iphoneos.signature; the fixed script only writes .stamp files 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 *.signature files of its own into build products: the only one it found there was this package's .rnwgpu-dawn.signature from the published release.

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, 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
wcandillon merged commit eea2f3c into main Nov 25, 2026
9 checks passed
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.
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.26.0 🎉

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.

1 participant