uxcam/uxcam-ios-sdk
This is the UXCam iOS SDK
Using [Cocoapods](https://cocoapods.org/)
Add the following to your Podfile:
pod 'UXCam'
and run pod update and you should be good to go.
NB: Make sure you are using Cocoapods version 1.10.0 or higher - earlier versions don't properly support XCFramworks. pod --version to check.
Using Swift Package Manager
Starting with the 3.3.0 release UXCam for iOS supports installation via Swift Package Manager.
Follow the instructions here
Integration
Get your App key from the dashboard at UXCam.com
Objective-C
In your AppDelegate.m file:
#import <UXCam/UXCam.h>
and in your application:didFinishLaunchingWithOptions: method add:
[UXCam optIntoSchematicRecordings];
UXCamConfiguration *configuration = [[UXCamConfiguration alloc] initWithAppKey:@"YourAppKey"];
[UXCam startWithConfiguration: configuration];Swift
In your AppDelegate.swift file:
import UXCam
and in your func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool function add:
UXCam.optIntoSchematicRecordings()
let configuration = UXCamConfiguration(appKey: "YourAppKey")
UXCam.start(with: configuration)Developer Documentation
Documentation on using the various API methods can be found here
Acknowledgements
Thanks to:
Anurag Ajwani for a series of excellent articles on building and distributing XCFrameworks.
Boris Bielik for the post on how to get SPM working with binary targets and dependencies.
Package Metadata
Repository: uxcam/uxcam-ios-sdk
Default branch: main
README: README.md