Files
oleksandr.karpovich f4f9372bbc Publish skiko with wasm (#650)
* publish skiko with wasm WIP

* Update versions in js samples

* Workaround wasm publication

* remove redundant change
2023-11-03 11:49:39 +01:00
..
2023-11-03 11:49:39 +01:00
2021-10-21 10:43:25 +03:00

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". import-build-gradle-project.png
  • Set target device and Run ios-run-in-appcode.png
  • 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