This SDK has been compiled using Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1). This compiler ensures optimal support for applications targeting iOS 13.0 and later, and provides full compatibility for code written in Swift 6.x.
If the following errors occur when using the SDK:
Incompatibility with other Swift versions (e.g., Swift 5.x)
Issues with binary files when using Xcode versions lower than those supported by Swift 6
we recommend switching to CocoaPods for proper SDK integration, where a stable version compatible with newer Swift versions or Xcode will be used. You can find Cocoapod version here Cocoapod repository
-
Open your project in Xcode.
-
Go to the menu bar and select File → Add Package Dependencies...
-
In the dialog that appears, you can choose between two options:
- Option 1: Let Xcode fetch the package directly from the repository.
- Enter the repository URL in the search field:
https://github.com/pfpayments/ios-mobile-sdk-spm
- Enter the repository URL in the search field:
- Option 2: Clone the repository manually and add it as a local package.
- Option 1: Let Xcode fetch the package directly from the repository.
-
Choose the appropriate target for the package and press Add Package.



