Adding the Framework

To integrate the SDK, follow these steps:

  1. Clone the Repository Clone the SDK repository to your local machine using the following command:

    git clone https://github.com/Cramiumlabs/sdk-mpc-ios.git
    
  2. Unzip the Framework Files Navigate to the exports folder within the cloned repository and unzip the following files:

    • mpc.framework.zip

    • Client.xcframework.zip

    • CryptoSwift.framework.zip

  3. Add the Frameworks to Your Project Drag the mpc.framework, Client.xcframework and CryptoSwift.framework into your Xcode project.

    • Place it in the Frameworks group or any folder of your choice.

    • Ensure Copy items if needed is checked when prompted.

  4. Add the framework to the Linked Frameworks and Libraries section:

    • In Xcode, go to your project settings.

    • Under the General tab, find Frameworks, Libraries, and Embedded Content.

    • Click the + button and add the framework.

  5. Set the framework to Embed & Sign to ensure it is bundled with your app.

Last updated