This is experimental project for building MLKit in Swift Package Manager.
.package(url: "https://github.com/d-date/google-mlkit-swiftpm", from: "3.2.1")
Add these flags to Other Linker Flags
in Build Settings of your Xcode projects.
-ObjC
-all_load
.bundle
to your projectThe MLKitFaceDetection
contains GoogleMVFaceDetectorResources.bundle
. Since the bundle can't be introduced via Swift PM, you need to link to your project by yourself.
Download GoogleMVFaceDetectorResources.bundle
from Release and add to your Xcode project and make it available in your build target.
arm64
for iphonesimulator, this project enables to build in arm64
for iphoneos and x86_64
for iphonesimulator only.Face Detection
and Barcode Scanning
right now.Open Example/Example.xcworkspace
and fixing code signing to yours.
link |
Stars: 74 |
Last commit: 2 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics