You can now install every merchant iOS SDK - Revolut Pay (Native and Lite), the Merchant Card Form, Apple Pay, and Tap to Pay - as a native Swift package. Installation is zero-config - no build-phase scripts or manual resource steps.
Swift Package Manager support
From version 3.17.0, the SDK ships as a native Swift package at https://bitbucket.org/revolut/revolut-payments-ios. Add it in Xcode with File → Add Package Dependencies…, or declare it in your Package.swift manifest with the dependency rule set to Up to Next Major Version from 3.17.0.
Swift Package Manager has no CocoaPods subspecs, so a one-line CocoaPods dependency maps to two package products: the umbrella RevolutPayments module (required for import RevolutPayments to resolve) plus the specific SDK product:
| CocoaPods dependency | Swift Package Manager products to add |
|---|---|
pod 'RevolutPayments/RevolutPay' | RevolutPayments + RevolutPay |
pod 'RevolutPayments/RevolutPayLite' | RevolutPayments + RevolutPayLite |
pod 'RevolutPayments/RevolutMerchantCardForm' | RevolutPayments + RevolutMerchantCardForm |
pod 'RevolutPayments/RevolutApplePay' | RevolutPayments + RevolutApplePay |
pod 'RevolutPayments/RevolutTapToPay' | RevolutPayments + RevolutTapToPay |
Import statements and the entire public API are identical across both distributions, so migrating from CocoaPods only changes how you declare the dependency.
CocoaPods is being phased out
Existing CocoaPods integrations keep working. However, 3.19.0 is the last version published as a CocoaPod, because the CocoaPods Specs repository turned read-only in December 2026. To keep receiving SDK updates, migrate your dependency declaration to Swift Package Manager.
If you integrate the SDK in a React Native app, keep using CocoaPods for now - the React Native packages don't support Swift Package Manager yet.