File tree 3 files changed +26
-0
lines changed
3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,4 @@ xcuserdata
23
23
# # Obj-C/Swift specific
24
24
* .hmap
25
25
* .ipa
26
+ .swiftpm /
Original file line number Diff line number Diff line change
1
+ // swift-tools-version:4.1
2
+
3
+ import PackageDescription
4
+
5
+ let package = Package (
6
+ name: " SwCrypt " ,
7
+ products: [
8
+ . library( name: " SwCrypt " , targets: [ " SwCrypt " ] )
9
+ ] ,
10
+ targets: [
11
+ . target( name: " SwCrypt " , path: " SwCrypt " ) ,
12
+ . testTarget( name: " SwCryptTests " , dependencies: [ " SwCrypt " ] , path: " SwCryptTests " )
13
+ ]
14
+ )
Original file line number Diff line number Diff line change @@ -148,6 +148,17 @@ Just copy [SwCrypt.swift](https://github.com/soyersoyer/SwCrypt/blob/master/SwCr
148
148
149
149
[CocoaPods ]: https: // cocoapods.org
150
150
[CocoaPods Installation ]: https: // guides.cocoapods.org/ using / getting- started.html# getting-started
151
+
152
+ # ## Swift Package Manager
153
+ SPM is built into new versions of Xcode . To install SwCrypt with SPM:
154
+
155
+ 1 . Open your project in Xcode
156
+
157
+ 2 . Click " File" -> " Swift Packages" -> " Add Package Dependency..."
158
+
159
+ 3 . Paste the following URL: https: // github.com/ soyersoyer/ SwCrypt
160
+
161
+ 4 . Click " Next" -> " Next" -> " Finish"
151
162
152
163
153
164
Inspired from
You can’t perform that action at this time.
0 commit comments