Skip to content

feat: brownie packaging as XCFramework#185

Merged
okwasniewski merged 4 commits into
mainfrom
feat/brownie-xcframework
Jan 15, 2026
Merged

feat: brownie packaging as XCFramework#185
okwasniewski merged 4 commits into
mainfrom
feat/brownie-xcframework

Conversation

@okwasniewski

@okwasniewski okwasniewski commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Integrates @callstack/brownie shared state library into the brownfield packaging workflow, enabling cross-platform state sharing between React Native and native iOS/Android apps.

Changes

  • package:ios command now builds and packages Brownie.xcframework when @callstack/brownie is installed
  • Swift store types generated with public access level for framework compatibility
  • Swift output path fixed to node_modules/@callstack/brownie/ios/Generated/
  • Added BrownieFollyConvert.h for CocoaPods compatibility (use_frameworks!, static libs, header maps)
  • Updated tester app with @UseStore property wrapper demo
  • Updated documentation

Breaking Changes

  • brownie.swift config option removed - Swift files always generate to brownie package's ios/Generated/

@okwasniewski okwasniewski force-pushed the feat/brownie-xcframework branch 2 times, most recently from 4d03c21 to e91915e Compare January 15, 2026 10:03
@okwasniewski okwasniewski marked this pull request as ready for review January 15, 2026 10:15

@artus9033 artus9033 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after comments, awesome work!

Comment thread docs/docs/brownie/codegen.mdx
Comment thread packages/cli/src/brownfield/commands/packageIos.ts
@okwasniewski okwasniewski force-pushed the feat/brownie-xcframework branch from 8894da8 to fb452ad Compare January 15, 2026 11:18
feat: native code generation

feat: integrate into tester app

feat: create BrownieFollyConvert.h

feat: docs

fix: popspec improvements

fix: compile time issues
@okwasniewski okwasniewski force-pushed the feat/brownie-xcframework branch from fb452ad to 8d570b0 Compare January 15, 2026 11:20
@okwasniewski okwasniewski force-pushed the feat/brownie-xcframework branch from 5599448 to e0661eb Compare January 15, 2026 11:40
@okwasniewski okwasniewski merged commit 2ced426 into main Jan 15, 2026
4 checks passed
@okwasniewski okwasniewski deleted the feat/brownie-xcframework branch January 15, 2026 15:59
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.

2 participants