mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 22:04:21 +01:00
Update install.md with detailed Swift instructions
This commit is contained in:
@@ -22,7 +22,39 @@ dependencies {
|
||||
|
||||
## iOS
|
||||
|
||||
We recommend using our official Swift package: [breez/breez-sdk-swift](https://github.com/breez/breez-sdk-swift).
|
||||
We support integration via the [Swift Package Manager](https://www.swift.org/package-manager/) and via [CocoaPods](https://cocoapods.org/).
|
||||
See [breez/breez-sdk-swift](https://github.com/breez/breez-sdk-swift) for more information.
|
||||
|
||||
### Swift Package Manager
|
||||
|
||||
#### Installation via Xcode
|
||||
|
||||
Via `File > Add Packages...`, add
|
||||
|
||||
```
|
||||
https://github.com/breez/breez-sdk-swift.git
|
||||
```
|
||||
|
||||
as a package dependency in Xcode.
|
||||
|
||||
#### Installation via Swift Package Manifest
|
||||
|
||||
Add the following to the dependencies array of your `Package.swift`:
|
||||
|
||||
``` swift
|
||||
.package(url: "https://github.com/breez/breez-sdk-swift.git", from: "0.0.4"),
|
||||
```
|
||||
|
||||
### CocoaPods
|
||||
|
||||
Add the Breez SDK to your `Podfile` like so:
|
||||
|
||||
``` ruby
|
||||
target '<YourApp' do
|
||||
use_frameworks!
|
||||
pod 'BreezSDK'
|
||||
end
|
||||
```
|
||||
|
||||
## React Native
|
||||
|
||||
@@ -42,4 +74,4 @@ Currently c# is built from source only. Please visit the [sdk-bindings](https://
|
||||
|
||||
## rust
|
||||
|
||||
Currently rust is still not accessible via cargo and is needed to be built from source. Please visit the [sdk-core](https://github.com/breez/breez-sdk/tree/main/libs/sdk-core) project for instructions.
|
||||
Currently rust is still not accessible via cargo and is needed to be built from source. Please visit the [sdk-core](https://github.com/breez/breez-sdk/tree/main/libs/sdk-core) project for instructions.
|
||||
|
||||
Reference in New Issue
Block a user