This module contains shared WireOne UI for iOS and Web (Wasm).
./gradlew :wireone-kmp:wireoneWebRunOpen the URL printed by webpack-dev-server (for example http://localhost:8083/).
./gradlew :wireone-kmp:wireoneWebBuild- Open Gradle tool window.
- Go to
wireone-kmp > Tasks > other. - Run
wasmJsBrowserDevelopmentRun.
- Open
Run > Edit Configurations.... - Add new
Gradleconfiguration. - Name:
WireOne Web. - Gradle project:
wire-android (root). - Tasks:
:wireone-kmp:wasmJsBrowserDevelopmentRun. - Run config and open URL from logs.
Deployment target: iOS 15+
- Open
wireone-kmp/iosApp/WireOne/WireOne.xcodeprojin Xcode. - In target
WireOnesetSigning & Capabilities > Team(one-time per developer). - Select an iOS Simulator.
- Run the app (
Cmd + R).
- The app includes a Run Script phase that builds the KMP framework:
bash "${PROJECT_DIR}/../scripts/build-kmp-framework.sh"
- The app links and embeds:
wireone-kmp/build/bin/iosSimulatorArm64/debugFramework/WireOneKmp.framework
- For device builds, the script switches to
:wireone-kmp:linkDebugFrameworkIosArm64.