Adding the SDK via Cocoapods
- Make sure you have the Cocoapods dependency manager installed.
You can do so by executing the following command:
gem install cocoapods
- Create a
Podfile
if you don't already have one.cd your-project-directory
pod init
- In your
Podfile
, add the Medallia Experience Orchestration SDK pod that you want to use in your app.# Medallia Experience Orchestration SDK target :YourTargetName do pod 'medallia-mxo-ios-sdk', '~> {SDK_VERSION}' end
- Install the pods.
pod install
Note: If you get errors or warnings while running the above command, see Troubleshooting Guide. - Open your
.xcworkspace
file to see the project in Xcode.open your-project.xcworkspace
You have now integrated the Medallia Experience Orchestration SDK for iOS.