Skip to main content

MaestroKit Setup

This guide will walk you through the process of integrating Maestro into your iOS application.

Prerequisites

Before you begin, please make sure you have the following:

  • Xcode installed on your development machine.
  • An iOS app project set up in Xcode.

Installing

To add MaestroKit SDK to your iOS project, choose one of the following methods based on your preferred dependency management approach:

Manual Adding the Framework

To add the MaestroKit framework into your project:

  1. Open your Xcode project.
  2. Navigate to your project settings by clicking on it in the project navigator.
  3. Make sure that your target is selected and General tab is open
  4. Click the plus sign and add the framework
  5. Select “Embed & Sign” for your newly added XCFramework

Swift Package Manager

To add MaestroKit using Swift Package Manager:

  1. Open your Xcode project.
  2. Go to File > Swift Packages > Add Package Dependency.
  3. When prompted with Choose Package Repository Enter the URL for the MaestroKit SDK package: https://github.com/lessthan3/MaestroKit.swift.git and Click Next.
  4. Choose the desired version rule, or select a specific branch, tag, or commit. Then Click Next
  5. Xcode will resolve the package and present you with options to add the package to your targets.
  6. Make sure your main target is selected and click Finish.

The MaestroKit SDK package will be added to your project.

CocoaPods

To add MaestroKit using CocoaPods:

  1. Open your Xcode project.
  2. Navigate to your project's directory in the terminal.
  3. Create a new Podfile with touch Podfile in the root folder if you don't have one already.
  4. Open the Podfile using a text editor and add the following line:
pod 'MaestroKit'
  1. Save the file and run the following command in your terminal:
pod install
  1. Wait for CocoaPods to install MaestroSDK in your project and set up the dependencies.

The MaestroKit SDK package will be added to your project.