Skip to content

feat(🍏): download the Apple binaries from GitHub releases (CocoaPods/SPM) - #640

Draft
theeket wants to merge 1 commit into
wcandillon:mainfrom
theeket:feat/apple-sdk-binary-preparation
Draft

theeket wants to merge 1 commit into
wcandillon:mainfrom
theeket:feat/apple-sdk-binary-preparation

Conversation

@theeket

@theeket theeket commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

ℹ️ This PR requires prebuilt binaries from react-native-skia#4494, and its updated binaries.json

Summary

Android already download the prebuilt binaries from GitHub releases (#628); released in 0.22.0,
This PR uses the same CocoaPods/SwiftPM preparation workflow as react-native-skia#4498. See other changes there.

WebGPU-specific changes:

  • Downloads Dawn from Skia’s shared binaries release.
  • Shares Skia’s cache directory, checksums, and locks. Existing downloads are reused.
  • Always supplies its own Dawn. Compatible Skia integration uses that same copy.
  • Removes react-native-webgpu-dawn; headers ship inside react-native-webgpu.
  • Updates Dawn header preparation, no npm needed.

Other minor changes (in this PR) to be able to test:

  • Update spm-example to support scene lifecycle. Otherwise it will crash in Xcode 27.
  • Temporarily disables Skia examples and interop tests until compatible Skia ships. Otherwise, pod install will fails.

Validation:

  • Eight SDK preparation paths, cache reuse, and failure handling checked.
  • ⚠️ Pending example app tests.

@theeket
theeket force-pushed the feat/apple-sdk-binary-preparation branch 3 times, most recently from 70a463c to 729c912 Compare November 22, 2026 11:34
@theeket
theeket force-pushed the feat/apple-sdk-binary-preparation branch from 729c912 to 85ce5b4 Compare November 22, 2026 12:06

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant