Adding Clearent's iOS Framework into your iOS Application

Follow these instructions to add Clearent’s iOS framework to your iOS app:

1

Add your GitHub credentials to your Xcode project.

2

Create a Cartfile in your .xcodeproj (at the root).

3

Add the following framework file from Clearent’s GitHub repository to your Cartfile:

github "Clearent/iOS-framework"

4

Run the following command in the root folder of your Xcode project:

Carthage update

5

Move the Clearent iOS framework from the Carthage/Build folder to the Embedded Binaries section in the General settings tab of your iOS app’s target.

6

Click the + icon.

7

Select New Copy Files Phase to copy debug symbols for debugging and crash reporting on iOS app.

8

Click the Destination menu.

9

Select Products Directory from the dropdown options.

10

Select the corresponding dSYM file from the Clearent iOS framework and upload the dSYM file.

Last updated

Was this helpful?