Skip to content

Commit 13ee9e6

Browse files
buenaflorcursoragent
authored andcommitted
feat(kmp): update debug symbols guide and stubbed targets section (#14458)
Update the debug symbols page of Compose Multiplatform and add a stubbed target --------- Co-authored-by: Cursor Agent <[email protected]>
1 parent e3e1c8d commit 13ee9e6

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

docs/platforms/kotlin/guides/compose-multiplatform/index.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,18 @@ This snippet includes an intentional error, so you can test that everything is w
4242

4343
<PlatformContent includePath="getting-started-verify" />
4444

45+
## Supported Platforms
46+
47+
For a complete list of supported platforms and target presets, see the [Kotlin Multiplatform features documentation](/platforms/kotlin/guides/kotlin-multiplatform/features/#supported-platforms).
48+
4549
## Debug Symbols
4650

4751
Error stack traces in your app might appear unreadable or obfuscated, making it hard to debug issues. To make stack traces clear and human-readable in Sentry, you need to upload your app's debug symbols.
4852

49-
For step-by-step instructions, see the [Debug Symbols guide](/platforms/kotlin/guides/kotlin-multiplatform/debug-symbols/).
53+
### Android
54+
55+
For Android applications, you need to manually upload ProGuard mapping files using the `sentry-cli`. Follow the [ProGuard Mapping Upload guide](/cli/dif/#proguard-mapping-upload) for detailed instructions.
56+
57+
### iOS
58+
59+
For iOS applications, follow the [Uploading Debug Symbols guide](/platforms/apple/guides/ios/dsym) to set up debug symbols upload.

docs/platforms/kotlin/guides/kotlin-multiplatform/features/index.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,14 @@ The table below lists supported platforms and their corresponding presets.
2929
| macOS | <ul><li>`macosArm64`</li><li>`macosX64`</li></ul> |
3030
| watchOS | <ul><li>`watchosArm32`</li><li>`watchosArm64`</li><li>`watchosX64`</li><li>`watchosSimulatorArm64`</li></ul> |
3131
| tvOS | <ul><li>`tvosArm64`</li><li>`tvosX64`</li><li>`tvosSimulatorArm64`</li></ul> |
32+
33+
## Stubbed Platforms (No-Op Implementations)
34+
35+
You can add these targets to your project and they will compile and satisfy the API surface, but **do nothing at runtime**.
36+
37+
| Target Platform | Target preset |
38+
|---------------|---------------------------------------------------|
39+
| JS | <ul><li>`js`</li></ul> |
40+
| Wasm JS | <ul><li>`wasmJs`</li></ul> |
41+
| Linux | <ul><li>`linuxx64`</li><li>`linuxarm64`</li></ul> |
42+
| Windows | <ul><li>`mingwx64`</li></ul> |

docs/platforms/kotlin/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Select your platform to get started:
1717
- [Java](/platforms/java)
1818
- [Android](/platforms/android)
1919
- [Kotlin Multiplatform](/platforms/kotlin/guides/kotlin-multiplatform/)
20+
- [Compose Multiplatform](/platforms/kotlin/guides/compose-multiplatform/)
2021

2122
## Kotlin Extensions
2223

0 commit comments

Comments
 (0)