Add more installation tutorials to README, fix Example Podspec
This commit is contained in:
parent
eee2f06f6b
commit
8383e3734a
|
@ -1,7 +1,7 @@
|
|||
use_frameworks!
|
||||
|
||||
target 'secp256k1_Example' do
|
||||
pod 'secp256k1', :path => '../'
|
||||
pod 'secp256k1.swift', :path => '../'
|
||||
|
||||
target 'secp256k1_Tests' do
|
||||
inherit! :search_paths
|
||||
|
|
20
README.md
20
README.md
|
@ -37,6 +37,8 @@ To run the example project, run `pod try secp256k1.swift`. Or clone the repo, an
|
|||
|
||||
## Installation
|
||||
|
||||
### CocoaPods
|
||||
|
||||
secp256k1 is available through [CocoaPods](http://cocoapods.org). To install
|
||||
it, simply add the following line to your `Podfile`:
|
||||
|
||||
|
@ -44,6 +46,24 @@ it, simply add the following line to your `Podfile`:
|
|||
pod 'secp256k1.swift'
|
||||
```
|
||||
|
||||
### Carthage
|
||||
|
||||
secp256k1 is compatible with [Carthage](https://github.com/Carthage/Carthage), a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To install it, simply add the following line to your `Cartfile`:
|
||||
|
||||
```
|
||||
github "Boilertalk/secp256k1.swift"
|
||||
```
|
||||
|
||||
### Swift Package Manager
|
||||
|
||||
secp256k1 is compatible with Swift Package Manager v4 (Swift 4 and above). Simply add it to the dependencies in your `Package.swift`.
|
||||
|
||||
```Swift
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/Boilertalk/secp256k1.swift.git", from: "0.1.0")
|
||||
]
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
To use secp256k1 functions you need to import it first.
|
||||
|
|
Loading…
Reference in New Issue