• Frankablu

    Frankablu

    1 year ago
    How do I remove a target from a multiplatform gradle file? I've commented out all the native lines but I'm getting "Task 'nativeMainBinaries' not found in root project 'GoalTradeOffsMP'."
    Frankablu
    1 replies
    Copy to Clipboard
  • Animesh Sahu

    Animesh Sahu

    1 year ago
    Something weird is happening with me. The commonMain seems to have "kotlin not configured" error while the other modules have no problems for it... Any idea?
    Animesh Sahu
    3 replies
    Copy to Clipboard
  • aleksey.tomin

    aleksey.tomin

    1 year ago
    Can I perform syntax check mingw code on macOS host? macos/mingw code on linux host? I don’t want to build result - I want only syntax check.
    aleksey.tomin
    s
    2 replies
    Copy to Clipboard
  • Cicero

    Cicero

    1 year ago
    Is there a way, besides writing in ios and android, to securely store data in the common without external libraries? A friend of mine said something about storing in secrets but when googling it I didn’t found anything
    Cicero
    Giorgos Neokleous
    2 replies
    Copy to Clipboard
  • d

    Daniele B

    1 year ago
    Sharing a slide I am preparing for my next talk, putting KMP and JetpackCompose and SwiftUI on a timeline
    d
    russhwolf
    +4
    44 replies
    Copy to Clipboard
  • t

    Tristan Blakers

    1 year ago
    does anyone know of a multiplatform URL representation, with basic parsing capability? Ktor has one, but it's too heavy to drag into the browser for just one class...
    t
    e
    +1
    16 replies
    Copy to Clipboard
  • solidogen

    solidogen

    1 year ago
    JVM backend module sees common classes only inside androidMain - like commonMain and jvmMain do not exist. JS app and Android app modules work fine with commonMain code. Any idea what could go wrong? Android Studio tells me to add dependency on common.commonMain, but of course it doesn't work
    solidogen
    Mustafa Ozhan
    3 replies
    Copy to Clipboard
  • j

    Jeff Tycz

    1 year ago
    I have a KMP library that uses Ktor, 99.9% of the code is in the common package and the only thing in the android and ios is to set the ktor engine. I am not sure about how to provide the necessary dependencies to be used for my library to be used in ios and android. do I have to build a gradle dependency for ios and android just to get the ktor engine and then the common dependency with all the code?
    j
    e
    10 replies
    Copy to Clipboard
  • Paul Woitaschek

    Paul Woitaschek

    1 year ago
    We are having issues with type inference. I just added the watchos targets as well as the io targets and created a common source set for them (with the hierachical structure enabled). Now the code accessing NSDateComponents does no longer compile.https://developer.apple.com/documentation/foundation/nsdatecomponents/1411355-hour The issue is that
    NSDateComponents().hour
    is a
    Long
    in the iosX64Main source set and a
    Int
    in the
    watchOsArm64Main
    source set. Is there any way around that?
    Paul Woitaschek
    t
    2 replies
    Copy to Clipboard
  • João Rodrigues

    João Rodrigues

    1 year ago
    Hey everyone 👋 I've been experimenting with kotlin multiplatform, and following the hands on has been really helpful. However, I think that the hands on is a bit out of date, the code examples don't always match the automatically generated code by the android studio's KMM wizard. I'd really like to follow an updated version of this!
    João Rodrigues
    1 replies
    Copy to Clipboard