Closed LeviticusNelson closed 1 year ago
Oh that's odd - my guess is you've put the wrong path to your swift library? Strange that rustc
is giving the error and not cargo
.
Would you be able to put together a reproduction so I can try it out?
@Brendonovich I did use cargo to build but here is the project: https://github.com/LeviticusNelson/apple-vision-rs
Ah, looks like a documentation problem - the Swift library has to be static
. Have opened a PR for you.
products: [
.library(
name: "vision-swift",
+ type: .static,
targets: ["vision-swift"]
),
],
@Brendonovich thanks for the help!
There is something going on with one of the flags when trying to build the swift library. This is the error output that I got (i dont know why they have horizontal scroll like this so sorry):