Install in an iOS app
How do I install Zipy in my iOS mobile application?
Swift Package Manager
Option 1: Xcode GUI (Recommended)
Open your project in Xcode
Select File > Add Package Dependencies...
In the search field, enter:
https://github.com/zipyinc/zipy-ios-sdk.git
Select the version you want to use
Click "Add Package"
Select your target and click "Add Package" again
Option 2: Package.swift
Add the following dependency to your Package.swift
:
Note: Swift Protobuf will be automatically installed as a dependency when you add the ZipyiOS package.
Zipy Initialization
For optimal performance and complete session capture, initialize the SDK as early as possible in your app's lifecycle, typically in AppDelegate
or SceneDelegate
. While you can integrate the SDK at any point in your application, early initialization ensures the best results and most comprehensive data collection.
In AppDelegate:
In SceneDelegate:
Last updated