Here are some common issues with troubleshooting your SDK initialization.
Table of contents
iOS SDK initialization testing
-
Can you add the import the library without an error:
import IterableSDK
Double check your API credentials
iOS SDK troubleshooting
CocoaPods troubleshooting
- Update your pods
- Check the syntax of your
Podfile
- Ensure you're opening the Xcode
.xcworkspace
, not the.xcodeproject
file
If you see this error:
[!] CocoaPods could not find compatible versions for pod "Iterable-iOS-AppExtensions": In Podfile: Iterable-iOS-AppExtensions There are only pre-release versions available satisfying the following requirements: 'Iterable-iOS-AppExtensions', '>= 0' You should explicitly specify the version in order to install a pre-release version
-
Make sure you are using verified latest release of CocoaPods.
To update CocoaPods run following command in the terminal:
sudo gem install cocoapods
-
Make sure you add the
Iterable-iOS-AppExtensions
pod, without a specific version (or=>0
).
Carthage troubleshooting
- Update to the latest released version of the SDK
- Update Carthage
Manual import troubleshooting
- Ensure you manually linked the libraries
- Check that the libraries are listed in your
Linked Frameworks and Library
section under theGeneral
tab
Android SDK initialization testing
To make sure SDK is successfully integrated, perform a gradle
sync.
Android SDK initialization troubleshooting
Gradle sync failed
Gradle sync failed with
ERROR: Failed to resolve: com.iterable:iterableapi:3.1.3
Ensure you have jcenter()
in project level gradle file:
allprojects { repositories { google() jcenter() } }
Multiple push providers
To learn how to work with multiple push providers, please read Setting up Android Push Notifications.
Next steps
After installing the SDK, please read Identifying the User.
Comments
0 comments
Please sign in to leave a comment.