##The Moyasar iOS SDK provides a streamlined way to integrate Moyasar's payment solutions into your iOS applications. With support for CocoaPods, Swift Package Manager (SPM), and manual integration, developers have flexibility in how they incorporate the SDK into their projects.
You can integrate the Moyasar SDK into your project using one of the following methods: ##1- CocoaPods
- Add the following line to your Podfile: pod 'MoyasarSdk', git: 'https://github.com/moyasar/moyasar-ios-pod.git'
- Install the Dependency: pod install
##2- Swift Package Manager (SPM) Swift Package Manager (SPM) is a tool for managing the distribution of Swift code. Starting from version 1.0.5, the Moyasar SDK supports integration via SPM. Here’s how you can add it to your project:
- In Xcode, open your project and navigate to the project settings. Select your target, then go to the "Package Dependencies" tab. Click the "+" button to add a new package.
- In the package repository URL field, enter: https://github.com/moyasar/moyasar-ios-sdk.git from master branch
For more details To install and setup the SDK follow this documentation.