# kmp **Repository Path**: TonyQ/kmp ## Basic Information - **Project Name**: kmp - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-11 - **Last Updated**: 2025-05-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README This is a Kotlin Multiplatform project targeting Android, iOS, Web, Desktop. * `/composeApp` is for code that will be shared across your Compose Multiplatform applications. It contains several subfolders: - `commonMain` is for code that’s common for all targets. - Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name.1 For example, if you want to use Apple’s CoreCrypto for the iOS part of your Kotlin app, `iosMain` would be the right folder for such calls. * `/iosApp` contains iOS applications. Even if you’re sharing your UI with Compose Multiplatform, you need this entry point for your iOS app. This is also where you should add SwiftUI code for your project. Learn more about [Kotlin Multiplatform](https://www.jetbrains.com/help/kotlin-multiplatform-dev/get-started.html), [Compose Multiplatform](https://github.com/JetBrains/compose-multiplatform/#compose-multiplatform), [Kotlin/Wasm](https://kotl.in/wasm/)… We would appreciate your feedback on Compose/Web and Kotlin/Wasm in the public Slack channel [#compose-web](https://slack-chats.kotlinlang.org/c/compose-web). If you face any issues, please report them on [GitHub](https://github.com/JetBrains/compose-multiplatform/issues). You can open the web application by running the `:composeApp:wasmJsBrowserDevelopmentRun` Gradle task. Web 端白屏​ ​现象​:浏览器无内容显示。 ​解决​: 检查控制台错误(如 WASM 加载失败)。 运行 ./gradlew :composeApp:wasmJsBrowserWebpack 重新生成 JS 包。