Airwallex logo
Airwallex logo

SDK examples

Copy for LLMView as Markdown

This sample app demonstrates integrating with the Airwallex iOS SDK using native UI integration and low-level API integration. To run the example project, you should follow these steps.

Prerequisites

  • Install the latest version of Xcode and iOS SDK from Mac Store.

Clone source code

Run the following script to clone this project to your local disk.

Shell
1git clone [email protected]:airwallex/airwallex-payment-ios.git

Install dependencies and open project

  • Go into the project directory
Shell
1cd airwallex-payment-ios
  • Install dependencies
Shell
1pod install
  • Open Airwallex.xcworkspace from Xcode or run the following script to open it. Be sure you always open the project from the work space.
Shell
1open Airwallex.xcworkspace

Configure scheme

The sample app supports two schemes: Airwallex and Examples. You can switch the schemes in project scheme settings.

  • Airwallex will generate a framework for developer.
  • Examples will build and run an example application.

Run the app on your iOS device

Select your target device from the top left panel, then press "Command + R" on your keyboard (or "Product > Run" from the top menu bar) to run this project on your iOS device.

Was this page helpful?