diff --git a/README.md b/README.md index 3be3bbc6f6a089552905e4acd08c3f60e0988d8c..8276d7d6f8f7a4e007a72227ae62916911b16534 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,18 @@ The SDK supports iOS 12+. The SDK has been built on Xcode 14.1 using Swift 5.8 ### 1.2 Add the SDK dependency -#### [Manual installation](MANUAL_INSTALLATION.md) +#### Using Swift Package Manager + +The SDK is available with Swift Package Manager, and you can include it in your project by adding the following package +repository URL: + +##### Swift + +```swift +dependencies: [ + .package(url: "https://gitlab.myid.uz/myid-public-code/myid-ios-sdk.git", .branch("master")) +] +``` #### Using Cocoapods @@ -34,6 +45,8 @@ pod 'MyIdSDK', '~> 2.3.3' Run `pod install` to get the SDK. +#### [Manual installation](MANUAL_INSTALLATION.md) + ### 1.3 Permissions The SDK uses the device camera. You're required to have the following keys in your application's `Info.plist` file: