Skip to content

[feat] add local iOS SPM package output#358

Draft
adamTrz wants to merge 3 commits into
mainfrom
feat/add-ios-local-spm-package
Draft

[feat] add local iOS SPM package output#358
adamTrz wants to merge 3 commits into
mainfrom
feat/add-ios-local-spm-package

Conversation

@adamTrz
Copy link
Copy Markdown
Collaborator

@adamTrz adamTrz commented May 28, 2026

Summary

  • add --add-spm-package to brownfield package:ios to generate a local Swift Package alongside the packaged XCFrameworks
  • generate Package.swift and README.md for the local package, including Hermes, ReactBrownfield, Brownie, BrownfieldNavigation, React, and ReactNativeDependencies when present
  • document how to integrate and verify the generated local package from a host iOS app

Why

We want an incremental path toward Swift Package Manager consumption of packaged RN iOS artifacts before the wider RN core migration lands.

Validation

  • yarn workspace @callstack/brownfield-cli lint
  • yarn workspace @callstack/brownfield-cli typecheck
  • yarn workspace @callstack/brownfield-cli test
  • manual validation: generated the local package from apps/RNApp, added it to AppleApp in Xcode, and confirmed the app runs without Metro
image

Notes

  • host app project changes are intentionally excluded from this PR; AppleApp stays on the existing integration setup in-repo

@adamTrz adamTrz changed the title [codex] add local iOS SPM package output [fest] add local iOS SPM package output May 28, 2026
@adamTrz adamTrz force-pushed the feat/add-ios-local-spm-package branch from 6418700 to d3f3898 Compare May 28, 2026 08:15
@adamTrz adamTrz changed the title [fest] add local iOS SPM package output [feat] add local iOS SPM package output May 28, 2026
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