Skip to content

Conversation

@crazytonyli
Copy link
Contributor

uniffi-swift-helper is a new package for developing and releasing Swift wrapper of unffi packages. It's still a WIP. I'm opening this PR to get early feedback.

I will talk about uniffi-swift-helper implementation details in its own PR when the WIP is ready for review. In this PR, I'll just talk about "side effects" that comes with uniffi-swift-helper.

Package.swift is auto-generated.

The Package.swift file is removed from git. Run make generate-swift-package-manifest to generate Package.swift at the root directory. That would be the first thing to do locally and on CI.

The make command invokes uniffi-swift-helper to set up Rust packages, swift wrappers, and their dependencies.

Building xcframework

The make commands (make xcframework, make xcframework-only-macos, etc) is still there. But it now invokes uniffi-swift-helper internally.

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