iOS SDK
Installation
Integrate Reclaim Protocol into iOS Native Applications.
Prerequisites
- An iOS application source code (Support for iOS 13 or later).
- An iOS device running iOS 13 or later.
- A Reclaim account where you've created an app and have the app id, app secret.
- A provider id that you've added to your app in Reclaim Devtools.
Get an API Key
Setup your project using the Get API Key guide.
Installation
1. Adding Reclaim InApp SDK to your Xcode Project
Build the project.
- If you have a
*.xcworkspace
then openYourApp.xcworkspace
in Xcode. Verify that you're opening MyApp.xcworkspace and not opening MyApp.xcodeproj. The .xcworkspace file has the CocoaPod dependencies, the .xcodeproj doesn't. If you don't have a*.xcworkspace
then openYourApp.xcodeproj
in Xcode. - Select Product > Build or press
Cmd + B
.
2. Fixing performance issues
Your app performance will be severely impacted when you run debug executable on a physical device. Fixing this requires a simple change in your Xcode project xcscheme.