Repository navigation
feat(macos): run the macOS example on Nitro V1 - #618
Draft
chrispader wants to merge 2 commits into
Draft
chrispader wants to merge 2 commits into
chrispader wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
React Native macOS has no Swift Package Manager build of React Native, so the macOS example stayed on Nitro 0.37.2 and react-native-macos 0.81. It now uses react-native-macos 0.83 and Nitro V1 through CocoaPods. RNNitroSQLite.podspec and RNNitroSqliteVec.podspec build the libraries with Nitro's CocoaPods support and the same SQLite settings as stable. Until Nitro publishes that support (margelo/nitro#2054, #2074, #2075), patch-package applies it to the pinned Nitro nightly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Codex <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Codex <noreply@openai.com>
chrispader
force-pushed
the
feat/v1-macos
branch
from
December 2, 2026 21:46
a7c256b to
4823e58
Compare
This branch was successfully deployed
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.
On the Nitro V1 branch, the macOS example still ran Nitro 0.37.2 with react-native-macos 0.81, because React Native macOS has no Swift Package Manager build and its JSI is older than Nitro V1 expects. This moves the example to react-native-macos 0.83 and Nitro V1, built through CocoaPods. The macOS integration tests pass on Nitro V1 with it.
RNNitroSQLite.podspecbuilds the library with Nitro'sconfigure_libraryand the same SQLite settings as the stable podspec. iOS keeps building throughPackage.swift.RNNitroSqliteVec.podspeccompiles sqlite-vec again when CocoaPods installs it. The macOS docs describe the V1 setup, and the encryption guide now targetsRNNitroSQLiteCxx, which compiles SQLite under V1.Nitro has not published the pieces this needs yet: CocoaPods support (margelo/nitro#2054), older JSI support (margelo/nitro#2074) and the react-native-macos CocoaPods fixes (margelo/nitro#2075). Until then,
patches/applies them to the pinned Nitro nightly. Remove the patches once a Nitro release includes them.Reproduction
From
example, install the Ruby dependencies, run thepods:macosscript, build theNitroSQLiteExample-macOSscheme, then run thetestscript inexample/macos.🤖 Generated with Claude Code