Building with `swift build`
lucasfernog opened this issue · 0 comments
lucasfernog commented
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