Legacy — Installation (old SDK)

How to install the Sophonz iOS SDK using XCFramework, CocoaPods, or Swift Package Manager.

TIP — Sophonz Console > Add Project > Add App > Issue Key

Log in to the Sophonz console, add a project under Project Management, then add an app to it with Add App. Take the issued app key from App Management, and install using the registered project name and app key.

Overview

The Sophonz iOS SDK is a solution for real-time performance monitoring of iOS applications. This guide covers the entire process from SDK installation to initial configuration.

Requirements

  • iOS 12.0 or later

Installation

Option 1: XCFramework Direct Install

  1. Drag the Sophonz iOS SDK XCFramework file into your Xcode project.
  2. Check the "Copy items if needed" option.
  3. Confirm it has been added to the main target.

Option 2: CocoaPods

Add the following to your Podfile, then install dependencies.

use_frameworks!
 
target 'YourApp' do
  pod 'SophonzCore'
end

Run the following command in your terminal.

pod install

Option 3: Swift Package Manager

Add the following package URL in Xcode's Swift Package Manager.

https://github.com/sophonz/sophonz-ios-sdk-spm

TIP — This is just the beginning

Now ship your app. Sophonz surfaces the problems real users hit — so your app evolves on its own.