This SDK has been rebranded to Worldline. As part of the rebranding the SDK has moved to https://github.com/Worldline-Global-Collect/connect-sdk-client-swift.
The Ingenico Connect Swift SDK provides a convenient way to support a large number of payment methods inside your iOS app. It supports iOS 8.0 and up out-of-the-box. The Swift SDK comes with an example app that illustrates the use of the SDK and the services provided by Ingenico ePayments on the Ingenico ePayments platform.
See the Ingenico Connect Developer Hub for more information on how to use the SDK.
The Ingenico Connect Swift SDK is available via two package managers: CocoaPods or Carthage.
You can add the Swift SDK as a pod to your project by adding the following to your Podfile
:
$ pod 'IngenicoConnectKit'
Afterwards, run the following command:
$ pod install
You can add the Swift SDK with Carthage, by adding the following to your Cartfile
:
$ github "Ingenico-ePayments/connect-sdk-client-swift"
Afterwards, run the following command:
$ carthage update --platform ios --use-xcframeworks
Navigate to the Carthage/Build
directory, which was created in the same directory as where the .xcodeproj
or .xcworkspace
is. Inside this directory the .xcframework
bundle is stored. Drag the .xcframework
into the "Framework, Libraries and Embedded Content" section of the desired target. Make sure that it is set to "Embed & Sign".
To obtain the Swift SDK, first clone the code from GitHub:
$ git clone https://github.com/Ingenico-ePayments/connect-sdk-client-swift.git
Open the Xcode project that is included to test the SDK.