Requirements
| iOS | 13.0 or higher |
| Framework | Static .xcframework |
| Swift | 5.7 – 5.10 |
| Xcode | 15.0 or higher |
| Distribution | CocoaPods |
| CocoaPods | 1.16.0 or higher |
Import the SDK via CocoaPods
-
If your project doesn’t already use CocoaPods, you need to install it:
-
Run
--versionto determine you current pods version: -
Initialize pods:
-
Install pods:
-
Open your workspace:
-
Add the Appcharge Payment Links SDK via your Podfile:
-
Last, run the following:
Import the SDK manually
To import the Payment Links SDK for iOS manually:- Clone the Appcharge Payment Links repository to your local machine.
- Drag the
ACPaymentLinks.xcframeworkfolder into your Xcode project navigator. - In the popup, make sure Copy items if needed is checked.
- Select your target and go to the General tab -> Frameworks, Libraries, and Embedded Content. Set the SDK to Embed & Sign.
