Skip to content

iOS SDK ​

The iOS SDK comes in two lines: one embeds mini apps into a native iOS app (Host SDK / SuperEngineSDK), and one is for building mini apps that run natively (Native Mini App). This page is based on the SuperEngineSDK documentation.

Choose the documentation line that matches your role:

Host SDK — Embed Mini Apps into a Native App ​

For host app developers. SuperEngineSDK is distributed as a binary XCFramework via Swift Package. It initializes the mini-app runtime in a native iOS app, fetches the mini-app list, and launches mini apps via push / present / embedding and more, while providing host capabilities back to mini apps through providers.

  • Install — System requirements and Swift Package Manager integration
  • Usage Guide — Initialization, fetching the list, launching mini apps, embedded integration, wallet mini apps, helper functions, host capability providers, and troubleshooting

Native Mini App — Build Mini Apps that Run Natively ​

For mini-app developers. A scaffold project based on SDMMiniAppClientSDK: implement a native mini app with SwiftUI or UIKit, call host capabilities through the bridge, and package it as a Swift Package / XCFramework that hosts can integrate.

  • Development Guide — Project structure, development workflow, implementing the mini app and entry, reading launch context, using the bridge, lifecycle hooks, packaging and integration, environment variables, and additional notes