The liqpay_ios.xcframework framework provides tools to integrate LiqPay payments.
The SDK contains all necessary dependencies and does not require CocoaPods, Carthage, or Swift Package Manager.
- Copy the
liqpay_ios.xcframeworkfile into your project's directory (e.g.,Frameworks/). - Add the framework to Xcode:
- Open your project.
- Drag
liqpay_ios.xcframeworkinto the Project Navigator. - In the dialog that appears, select:
- ✅ Copy items if needed
- ✅ Add to the correct target (e.g.,
YourAppTarget)
- Navigate to:
Ensure the framework is added with the following settings:
Target → General → Frameworks, Libraries, and Embedded Content- Embed: Embed & Sign
In the Build Settings of the application target, set the Runpath Search Paths:
@executable_path/Frameworks
If this setting is missing, add it manually. This is required for the correct loading of dynamic frameworks on physical devices (iPhone / iPad).
In your project's source code, import the framework:
import liqpay_iosExample of a payment request:
let payment = LiqPayPayment(
data: "base64_encoded_data",
signature: "base64_encoded_signature"
)
payment.payPrivatPay { success, error in
if success {
// Successful payment
} else {
// Error handling
}
}The framework supports the following architectures:
arm64(devices)x86_64,arm64(simulators)
Built with BUILD_LIBRARY_FOR_DISTRIBUTION = YES and supports Swift ABI Stability.
- Static linking of all dependencies
- Provided as
.xcframework - Compatible with Xcode 14 and later
For questions about integration or technical support, please contact the SDK development team or the project's support team.