File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,20 @@ This podspec uses a [fork of libidn](https://github.com/chrisballinger/libidn/co
18
18
To run the example project, clone the repo, and run ` pod install ` from the Example directory first.
19
19
20
20
## Installation
21
+ ### Swift Package Manager
22
+ libidn is available through [ Swift Package Manager] ( https://swift.org/package-manager ) . To install
23
+ it, simply add the following to your ** ` Package.swift ` ** :
24
+
25
+ ``` swift
26
+ dependencies: [
27
+ .package (url : " https://github.com/chrisballinger/libidn-framework.git" , .upToNextMajor (from : " x.x.x" ))
28
+ ]
29
+ ```
30
+ > Make sure to replace ` x.x.x ` with the appropriate version number.
21
31
22
- libidn is available through [ CocoaPods] ( http://cocoapods.org ) . To install
23
- it, simply add the following line to your Podfile:
32
+ ### CocoaPods
33
+ libidn is available through [ CocoaPods] ( https://cocoapods.org ) . To install
34
+ it, simply add the following line to your ** ` Podfile ` ** :
24
35
25
36
``` ruby
26
37
pod " libidn"
@@ -44,4 +55,4 @@ Upgrading libidn:
44
55
45
56
## License
46
57
47
- libidn is available under the LGPL license, but the podspec and example code in this repo is MIT. See ` LICENSE ` for more details.
58
+ libidn is available under the LGPL license, but the podspec and example code in this repo is MIT. See ` LICENSE ` for more details.
You can’t perform that action at this time.
0 commit comments