You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-4Lines changed: 20 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -41,30 +41,46 @@ Need help migrating from v1? Please check our [Migration Guide](MIGRATION.md).
41
41
42
42
## Installation
43
43
44
-
### Cocoapods
44
+
####Cocoapods
45
45
46
46
If you are using [Cocoapods](https://cocoapods.org), add this line to your `Podfile`:
47
47
48
48
```ruby
49
-
pod "Lock", "~> 2.20"
49
+
pod "Lock", "~> 2.21"
50
50
```
51
51
52
52
Then run `pod install`.
53
53
54
54
> For more information on Cocoapods, check [their official documentation](https://guides.cocoapods.org/using/getting-started.html).
55
55
56
-
### Carthage
56
+
####Carthage
57
57
58
58
If you are using [Carthage](https://github.com/Carthage/Carthage), add the following line to your `Cartfile`:
59
59
60
60
```ruby
61
-
github "auth0/Lock.swift"~>2.20
61
+
github "auth0/Lock.swift"~>2.21
62
62
```
63
63
64
64
Then run `carthage bootstrap`.
65
65
66
66
> For more information about Carthage usage, check [their official documentation](https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos).
67
67
68
+
#### SPM
69
+
70
+
If you are using the Swift Package Manager, open the following menu item in Xcode:
71
+
72
+
**File > Swift Packages > Add Package Dependency...**
73
+
74
+
In the **Choose Package Repository** prompt add this url:
75
+
76
+
```
77
+
https://github.com/auth0/Lock.swift.git
78
+
```
79
+
80
+
Then press **Next** and complete the remaining steps.
81
+
82
+
> For further reference on SPM, check [its official documentation](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app).
0 commit comments