Skip to content

feat(iOS): add SwiftPM support - #575

Merged
thiagobrez merged 9 commits into
mainfrom
add-swiftpm-support
Sep 9, 2026
Merged

feat(iOS): add SwiftPM support#575
thiagobrez merged 9 commits into
mainfrom
add-swiftpm-support

Conversation

@thiagobrez

@thiagobrez thiagobrez commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Adds SwiftPM support.

  • New example-swiftpm example app, iOS-only
  • Moves the original example app source code (screens, components, styles) to packages/example-shared, so it's shared by all example apps
  • Adapts metro.config.js to load assets outside src
  • Adds a new step on CI to build the SwiftPM app and test the integration
  • Add yarn constraints to make sure dependencies between example apps stay aligned

@thiagobrez thiagobrez changed the title Add swiftpm support feat(iOS): add SwiftPM support Sep 8, 2026
Comment thread .github/workflows/ci.yml
Comment on lines +160 to +183
runs-on: macos-26
timeout-minutes: 45
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Setup
uses: ./.github/actions/setup

- name: Set up SwiftPM integration
run: yarn workspace example-swiftpm spm --yes

- name: Build SwiftPM example for iOS
run: |
xcodebuild \
-project apps/example-swiftpm/ios/ExampleSwiftPM.xcodeproj \
-scheme ExampleSwiftPM \
-configuration Release \
-sdk iphonesimulator \
-destination 'generic/platform=iOS Simulator' \
-derivedDataPath "$RUNNER_TEMP/example-swiftpm-build" \
ARCHS=arm64 \
CODE_SIGNING_ALLOWED=NO \
build
@thiagobrez
thiagobrez merged commit 85e14d7 into main Sep 9, 2026
10 checks passed
@thiagobrez
thiagobrez deleted the add-swiftpm-support branch September 9, 2026 13:04
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