Installation
WalletConnect SDK is available via Swift Package Manager or Cocoapods.
- SwiftPackageManager
- Cocoapods
You can add a WalletConnect SDK to your project with Swift Package Manager. In order to do that:
- Open XCode
- Go to File -> Add Packages
- Paste the repo GitHub URL: https://github.com/reown-com/reown-swift
- Tap Add Package
- Select WalletConnect check mark
[!WARNING]
Cocoapods support may be deprecated soon, use SPM instead.
- Update Cocoapods spec repos. Type in terminal
pod repo update
- Initialize Podfile if needed with
pod init
- Add pod to your Podfile:
pod 'reown-swift'
- Install pods with
pod install
If you encounter any problems during package installation, you can specify the exact path to the repository
pod 'reown-swift', :git => 'https://github.com/reown-com/reown-swift.git', :tag => '1.0.0'
Next Steps
Now that you've installed WalletKit, you're ready to start integrating it. The next section will walk you through the process of setting up your project to use the SDK.