This is experimental project for building MLKit in Swift Package Manager.
I need GitHub sponsor to maintain this repo due to be used git lfs with paid plan. When I reach to the maximum quota, I'll remove artifacts from this repo.
- iOS 14 and later
- Xcode 13.2.1 and later
- Ruby
- bundler
- CocoaPods (install via bundler)
- Git-lfs
git submodule update --remote
make run
Since built binaries are very large for GitHub repo and not available in Swift PM directly, please clone this repo as submodule as your project.
git submodule add https://github.com/d-date/google-mlkit-swiftpm
cd google-mlkit-swiftpm && make run
- Since pre-built MLKit binary missing
arm64
for iphonesimulator, this project enables to build inarm64
for iphoneos andx86_64
for iphonesimulator only. - Only supported
Face Detection
andBarcode Scanning
right now.
Open Example/Example.xcworkspace
and fixing code signing to yours.