Skip to content

feat(macos): run the macOS example on Nitro V1 - #618

Draft
chrispader wants to merge 2 commits into
integration/nitro-v1-mainfrom
feat/v1-macos
Draft

chrispader wants to merge 2 commits into
integration/nitro-v1-mainfrom
feat/v1-macos

Conversation

@chrispader

Copy link
Copy Markdown
Member

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.podspec builds the library with Nitro's configure_library and the same SQLite settings as the stable podspec. iOS keeps building through Package.swift. RNNitroSqliteVec.podspec compiles sqlite-vec again when CocoaPods installs it. The macOS docs describe the V1 setup, and the encryption guide now targets RNNitroSQLiteCxx, 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 the pods:macos script, build the NitroSQLiteExample-macOS scheme, then run the test script in example/macos.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-native-nitro-sqlite Ready Ready Preview Dec 2, 2026 9:47pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

chrispader and others added 2 commits December 2, 2026 22:44
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>

This branch was successfully deployed

1 active deployment
Preview — 4823e587 Deployed Dec 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant