Swiftpack.co - uxcam/ios-sdk as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by uxcam.
uxcam/ios-sdk 3.6.7
This is the UXCam iOS SDK
⭐️ 9
🕓 3 weeks ago
.package(url: "https://github.com/uxcam/ios-sdk.git", from: "3.6.7")


This is the UXCam iOS SDK

To install

[NB: If you are currently using version 3.2.6 or earlier please do a deep clean of your build environment before updating. XCode has exhibited some issues with the change from a .framework packaged library to .xcframework]

Using Cocoapods

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 in Beta status. Please report any problems here.

Using SPM

Follow the instructions here [NB: on Version 12.2 (12B45b) on macOS 10.15.7 (19H15) picking to resolve to a version is crashing XCode. Pick 'main' branch for a working integration.]


Get your App key from the dashboard at UXCam.com


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];


In your AppDelegate.swift file:

import UXCam

and in your func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool function add:

	let configuration = UXCamConfiguration(appKey: "YourAppKey")
	UXCam.start(with: configuration)

Developer Documentation

Documentation on using the various API methods can be found here


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.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics