Adding Clearent's iOS Framework into your iOS Application
Follow these instructions to add Clearent’s iOS framework to your iOS app:
Add your GitHub credentials to your Xcode project.
Create a Cartfile in your .xcodeproj
(at the root).
Note: Run brew install carthage
in the root directory of your Xcode project to create a Cartfile.
Add the following framework file from Clearent’s GitHub repository to your Cartfile:
github "Clearent/iOS-framework"
Run the following command in the root folder of your Xcode project:
Carthage update
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.
Click the + icon.
Select New Copy Files Phase to copy debug symbols for debugging and crash reporting on iOS app.
Click the Destination menu.
Select Products Directory from the dropdown options.
Select the corresponding dSYM file from the Clearent iOS framework and upload the dSYM file.
Last updated