Integrating the iOS framework into your app

To integrate the iOS framework into your app:

1

Install the latest version of Carthage.

2

Add the iOS framework line to your cartfile:

github "Clearent/iOS-framework"
3

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

Carthage update

It imports a copy of the iOS framework and builds in the local folder Carthage/Build path.

4

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

5

Click the + icon.

6

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

7

Click the Destination menu.

8

Select Products Directory from the dropdown options.

9

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

Last updated

Was this helpful?