Integrating MimiSDK

The MimiSDK can be integrated into your project in the following ways:

  1. Using Swift Package Manager (SPM)
  2. Using CocoaPods
  3. Manual Integration

Integrating MimiSDK using Swift Package Manager (SPM)

MimiSDK is available to be integrated via Swift Package Manager (SPM). Add the following dependency in your Xcode project:

  1. Open your project in Xcode.
  2. Go to “File” > “Swift Packages” > “Add Package Dependency…”
  3. Enter the repository URL: https://github.com/MimiHearingTechnologies/SDK-iOS-Binaries.git
  4. Follow the prompts to integrate the SDK into your project.

Integrating MimiSDK using CocoaPods

MimiSDK is available to be integrated via CocoaPods. We provide the URL for the Podspec which allows for pinning to a specific version or always the current stable release.

If you’re new to CocoaPods, take a look at the Getting Started guide.

Your Podfile

You can now modify your Podfile.

Always Use the Latest Release:

use_frameworks!

target :YourTargetName do
    pod 'MimiSDK', :git => 'https://github.com/MimiHearingTechnologies/SDK-iOS-Binaries.git'

end

Pinning to a Specific Version (e.g. 9.2.0):

use_frameworks!

target :YourTargetName do
    pod 'MimiSDK', :git => 'https://github.com/MimiHearingTechnologies/SDK-iOS-Binaries-Test.git', :tag => '9.2.0'
end

Once you have completed your Podfile, simply run pod install.

Note for Xcode 15 and above:

If you’re using Xcode 15 and above, make sure to disable User Script Sandboxing in the Build settings. This ensures smooth integration with the SDK.

Integrating MimiSDK Manually

You can manually integrate the MimiSDK dynamic frameworks into your project.

  1. Download Frameworks: Get the latest MimiSDK frameworks here.

  2. Drag into Xcode Project:

    • Open your Xcode project.
    • Drag all the MimiSDK frameworks into the Frameworks, Libraries and Embedded Content section of your target, including:

      • MimiSDK.xcframework
      • MimiAuthKit.xcframework
      • MimiTestKit.xcframework
      • MimiHTEKit.xcframework
      • MimiUXKit.xcframework
      • MimiCoreKit.xcframework

      Auto Insetting