This is a swift package manager wrapper for the Smile Identity iOS SDK.
- iOS 13 or later
- Xcode 13.2.1 or later
.package(url: "https://github.com/smileidentity/ios-swift-package", .branch("main"))
Add these flags to Other Linker Flags
in Build Settings of your Xcode projects.
-ObjC
-all_load
The MLKitFaceDetection
module requires GoogleMVFaceDetectorResources.bundle
. Since the bundle can't be introduced via Swift PM, you need to link to your project manually.
Download GoogleMVFaceDetectorResources.bundle
from here add it to your Xcode project and build target.
- Because the pre-built MLKit binary does not support
arm64
architechure for iphonesimulator, this project can only be run onarm64
for iphoneos andx86_64
for iphonesimulator.