|
@@ -3,6 +3,7 @@
|
|
|
[](#swift-versions-support)
|
|
|
[](https://cocoapods.org/pods/CryptoSwift)
|
|
|
[](https://github.com/Carthage/Carthage)
|
|
|
+[](https://github.com/JamitLabs/Accio)
|
|
|
[](https://github.com/apple/swift-package-manager)
|
|
|
|
|
|
[](http://twitter.com/krzyzanowskim)
|
|
@@ -169,6 +170,26 @@ github "krzyzanowskim/CryptoSwift"
|
|
|
|
|
|
Run `carthage` to build the framework and drag the built CryptoSwift.framework into your Xcode project. Follow [build instructions](https://github.com/Carthage/Carthage#getting-started). [Common issues](https://github.com/krzyzanowskim/CryptoSwift/issues/492#issuecomment-330822874).
|
|
|
|
|
|
+#### Accio
|
|
|
+You can use [Accio](https://github.com/JamitLabs/Accio).
|
|
|
+Specify in Package.swift:
|
|
|
+
|
|
|
+```swift
|
|
|
+.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMajor(from: "1.0.0")),
|
|
|
+```
|
|
|
+
|
|
|
+Next, add `CryptoSwift` to your App targets dependencies like so:
|
|
|
+```swift
|
|
|
+.target(
|
|
|
+ name: "App",
|
|
|
+ dependencies: [
|
|
|
+ "CryptoSwift",
|
|
|
+ ]
|
|
|
+),
|
|
|
+```
|
|
|
+
|
|
|
+Then run `accio update`.
|
|
|
+
|
|
|
#### Swift Package Manager
|
|
|
|
|
|
You can use [Swift Package Manager](https://swift.org/package-manager/) and specify dependency in `Package.swift` by adding this:
|