Skip to content

Worldline-Global-Collect/connect-sdk-client-ios

Repository files navigation

Worldline Connect iOS SDK (Objective-C)

The Worldline Connect objective-C iOS SDK provides a convenient way to support a large number of payment methods inside your iOS app. It supports iOS 6.1 and up out-of-the-box. The objective-C iOS SDK comes with an example app that illustrates the use of the SDK and the services provided by Worldline Global Collect on the Worldline Global Collect platform.

See the Worldline Global Collect Developer Hub for more information on how to use the SDK.

Use the SDK with Carthage or CocoaPods

The Worldline Connect objective-c SDK is available via two package managers: CocoaPods or Carthage.

CocoaPods

You can add the objective-c SDK as a pod to your project by adding the following to your Podfile:

$ pod 'WorldlineConnectKit'

Afterwards, run the following command:

$ pod install

Carthage

You can add the objective-c SDK with Carthage, by adding the following to your Cartfile:

$ github "Worldline-Global-Collect/connect-sdk-client-ios"

Afterwards, run the following command:

$ carthage update

Run the SDK locally

To obtain the objective-c SDK, first clone the code from GitHub:

$ git clone https://github.com/Worldline-Global-Collect/connect-sdk-client-ios.git

Open the Xcode project that is included to test the SDK. Afterwards, you can open and run the Xcode workspace that is now created to test the SDK.

Known issues

There are known issues with the AFNetworking Library when it is built in xCode 11. If you include our SDK via Carthage, it is likely that you will encounter this issue. Please see this Github issue for more information and workarounds.