google-mlkit-swiftpm icon indicating copy to clipboard operation
google-mlkit-swiftpm copied to clipboard

Building with `swift build`

Open lucasfernog opened this issue 1 year ago • 0 comments

I can't use Xcode because I want to use this project with Rust (so I need to build from a script), is there a way to build using swift build? I've been trying $ swift build -Xswiftc -sdk -Xswiftc /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk -Xswiftc -target -Xswiftc arm64-apple-ios13.0 -Xlinker -ObjC -Xlinker -all_load but I keep getting this error:

google-mlkit-swiftpm/Sources/Common/export.swift:1:19: error: no such module 'MLKitCommon'
@_exported import MLKitCommon

lucasfernog avatar May 04 '23 23:05 lucasfernog