Skip to content

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.

junepark678 and others added 4 commits August 12, 2024 21:43
Signed-off-by: Joe Mattiello <mail@joemattiello.com>
Signed-off-by: Joe Mattiello <mail@joemattiello.com>
Signed-off-by: Joe Mattiello <mail@joemattiello.com>
@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