Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift package #2

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Swift package #2

wants to merge 4 commits into from

Conversation

JoeMatt
Copy link
Member

@JoeMatt JoeMatt commented Sep 16, 2024

Make a working package.swift.

This needed some manual edits after running cargo build

  1. Moved the generated files into folders for the libem_proxy header only module
  2. added #include "SwiftBridgeCore.h" to em_proxy.h
  3. Added @import Foundation and @import lib_emproxy to the .swift files

I'm assuming this can be automated in the cargo build I just don't really have those skills at the moment.

@JoeMatt
Copy link
Member Author

JoeMatt commented Oct 8, 2024

Note this may help too
https://github.com/antoniusnaumann/cargo-swift

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