(Previous: Adori iOS SDK: Before Getting Started)
If you don't have an iOS app, you can download a sample project.
Add the Adori iOS SDK
1: Update dependencies
It’s easy to install the Adori iOS framework if you manage your dependencies using CocoaPods. Simply add the following to your Podfile.
1 2 3 4 5 6 7 8 9 | source 'https://github.com/Adori/cocoapod-specs.git' target 'Adori Sample App' do # Comment the next line if you don't want to use dynamic frameworks use_frameworks! pod 'AdoriiOSSDK', '~> 2.1.1' end |
Then run pod install --verbose
to install the dependencies to your project.
2. Add config file
Download SDK config file from Adori Studio dashboard. If you are unable to download, please contact Adori's Technical Support
Rename the downloaded config file to
AdoriServices-Info.plist
Add the config file to your project and make sure the right target is selected.
3. Build and run your app
Build and run your app to make sure there are no configuration errors.
Next Up: Adori iOS SDK: SDK Modules