macOS Installation

Installation

Add the SDK to a project using Cocoapods or the Swift Package Manager.

Installation using Cocoapods

Add the pod to your Podfile:

pod 'Glassfy', '~> 1.3.8'

Then, run the following command:

pod install

Installation with Swift Package Manager

In an Xcode project select _File -> Add Packages…, add the Glassfy GitHub URL:
https://github.com/glassfy/ios-sdk

Set the version "Up to Next Major" to the version you want to use.

Import

After installing the SDK in your project import Glassfy into code by adding the following to your Swift or Objective-C code:

import Glassfy
@import Glassfy;