Swift Package Manager

The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

  1. Follow the Apple documentation on how to add a package to your project.
  2. Paste the following URL, https://github.com/bridgefy/sdk-ios, into the Package Dependencies search bar.
  3. Use the version-based Package Requirements, and set the value to the latest version of the Bridgefy SDK.

Cocoapods

CocoaPods is a dependency manager that lets you add third-party frameworks and libraries to projects. For installation instructions, see Install CocoaPods.

Add the Bridgefy SDK to your Podfile and install it in your project as follows:

  1. Add pod 'BridgefySDK' to the do block:
platform :ios, '13.0'

target 'SDK test' do
use_frameworks!

pod 'BridgefySDK'
end
  1. Save the Podfile.
  2. Run the following command in the Terminal:
$ pod install

Manually

Bridgefy SDK offers the option to establish secure connections within the mesh network, encrypting the data traveling on the mesh using the Signal protocol. This ensures a secure connection and protects the data from unauthorized access.

  1. Download the BridgefySDK.framework from this repository.
  2. Drag the BridgefySDK.framework folder to the top of your project's hierarchy in Xcode.

Untitled

  1. Select Copy items if needed from the dialog window after releasing the folder into your project.

Untitled