mirror of
https://github.com/bitsycore/skiko.git
synced 2026-10-07 15:37:27 +00:00
# Conflicts: # samples/SkiaMultiplatformSample/build.gradle.kts # skiko/build.gradle.kts # skiko/gradle.properties # skiko/src/commonMain/kotlin/org/jetbrains/skia/Typeface.kt # skiko/src/macosMain/kotlin/org/jetbrains/skiko/SkiaLayer.macos.kt
Skia multiplatform samples
run iOS with Xcode
- Install xcodegen
- run
xcodegen - run
open SkikoSample.xcodeproj
run iOS with debug in AppCode
- If you need to debug skiko sources without publish to maven local, then set environment variable
export SKIKO_COMPOSITE_BUILD=1(on MacOS in ~/.zshrc) - Install KMM plugin for AppCode
- In AppCode open samples/SkiaMultiplatformSample (File -> Open).
Choose "Open as Project".

- Set target device and Run

- Now you may use breakpoints in common and native Kotlin code
run on browser:
./gradlew jsBrowserRun
run desktop awt:
./gradlew runAwt
run desktop on native MacOS
./gradlew runNative