diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b472d1..2aae7c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ # ChangeLog +## Version 5.1.2 + +Adds support for Swift Package Manager. + +## Version 5.1.1 + +Fixes [#20](https://github.com/getyoti/yoti-face-capture-ios/issues/20). + ## Version 5.1.0 -Enabled landscape modes +Enabled landscape modes. ## Version 5.0.1 diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..7c66ad9 --- /dev/null +++ b/Package.swift @@ -0,0 +1,17 @@ +// swift-tools-version: 5.5 + +import PackageDescription + +let package = Package( + name: "YotiFaceCapture", + products: [ + .library(name: "YotiFaceCapture", targets: ["YotiFaceCapture"]), + ], + targets: [ + .binaryTarget( + name: "YotiFaceCapture", + url: "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.1.2/YotiFaceCapture.zip", + checksum: "ad8fa97c5f4e24ee87dd6670b4c7c82c2724802b71c8ecf5a39d090cbc3164ac" + ) + ] +) diff --git a/README.md b/README.md index f1a73a9..87ecb26 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,12 @@ YotiFaceCapture provides a simplified way of capturing a face. It performs face - ~75KB • YotiFaceCapture uses native APIs for feature detection and image processing, thus keeping our library small ## Installation -Make sure you've installed and are running the latest version of: -- [CocoaPods](https://guides.cocoapods.org/using/getting-started.html) (Optional) -- [Carthage](https://github.com/Carthage/Carthage) (Optional) +### Swift Package Manager +Add the following line to your `Package.swift` file: +```swift +.package(url: "https://github.com/getyoti/yoti-face-capture-ios.git", from: "5.0.0") +``` +...or add our package in Xcode via `File -> Swift Packages -> Add Package Dependency...` using the URL of this repository. ### CocoaPods Add the following to your [`Podfile`](https://guides.cocoapods.org/using/the-podfile.html) and run `pod install` from its directory: @@ -162,5 +165,4 @@ case environmentTooDark ``` ## Support -If you have any other questions please do not hesitate to contact us here: https://support.yoti.com -Once we have answered your question we may contact you again to discuss Yoti products and services. If you'd prefer us not to do this, please let us know when you e-mail us. +For any questions or support please contact us [here](https://support.yoti.com). Once we have answered your question, we may contact you again to discuss Yoti products and services. If you'd prefer us not to do this, please let us know when you e-mail. diff --git a/Specs/Carthage/YotiFaceCapture.json b/Specs/Carthage/YotiFaceCapture.json index 1ef70b3..ed72a4e 100644 --- a/Specs/Carthage/YotiFaceCapture.json +++ b/Specs/Carthage/YotiFaceCapture.json @@ -9,4 +9,6 @@ "5.0.0": "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.0.0/YotiFaceCapture.zip", "5.0.1": "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.0.1/YotiFaceCapture.zip", "5.1.0": "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.1.0/YotiFaceCapture.zip", + "5.1.1": "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.1.1/YotiFaceCapture.zip", + "5.1.2": "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.1.2/YotiFaceCapture.zip", }