• b

    Bill Mårtensson

    1 year ago
    How is the status om running KMM on iOS simulator on M1 Mac? I create new project using latest version. Can run on device but not on simulator.
    ld: warning: ignoring file /Users/xxxx/project/android/yyyy/shared/build/cocoapods/framework/shared.framework/shared, building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64
    Undefined symbols for architecture arm64:  "OBJC_CLASS$_SharedGreeting", referenced from:    objc-class-ref in ContentView.o ld: symbol(s) not found for architecture arm64
    b
    Osman Saral
    +2
    23 replies
    Copy to Clipboard
  • Samuel Michael

    Samuel Michael

    1 year ago
    Getting some errors with KMM plugin in AppCode, what is the ideal version to try for those who got it working? Also I seem to be unable to open an issue for this on YouTrack...
    Samuel Michael
    louiscad
    27 replies
    Copy to Clipboard
  • e

    eygraber

    1 year ago
    If I have a library that is written entirely in common code, and I want to consume it from Android and JVM, do I need both targets, or
    jvm
    would be enough?
    e
    rnett
    +2
    5 replies
    Copy to Clipboard
  • Robert Munro

    Robert Munro

    1 year ago
    What is the best URL/Uri class (or library) to use for KMP common?
    Robert Munro
    e
    +4
    6 replies
    Copy to Clipboard
  • Charles Prado

    Charles Prado

    1 year ago
    There's some way to export comments from shared module to iOS module (objc headers) ? I mean:
    / * 
    * It does something
    * /
    fun doSomething() { ... }
    In iOS when I type doSomething it's possible to make that comment visible there?
    Charles Prado
    hfhbd
    3 replies
    Copy to Clipboard
  • iamthevoid

    iamthevoid

    1 year ago
    Did anybody check AppCode+KMM plugin? Quick look shows me that my scripts and sources from buildSrc folder not recognized by appcode+kmm-plugin. explanation: i created empty kmm project with kmm-plugin from appcode and starts to modify my current work project gradle scripts (in androidApp module) the same way as in new project. When i finally changed gradle script structure in my work project build starts fail with errors (
    unresolved reference
    from buildSrc sources). I miss something or AppCode doesn’t recognize buildSrc sources?
    iamthevoid
    akapanina
    +1
    15 replies
    Copy to Clipboard
  • g

    Guilherme Delgado

    1 year ago
    Hello! In result from my KMM experiments with @Charles Prado, this is my (our) last post. Hope you find it useful 🙂 https://guidelgado.medium.com/kotlin-multiplatform-mobile-solving-network-responses-with-teamwork-c342762d9401
    g
    1 replies
    Copy to Clipboard
  • j

    Josep Rovira

    1 year ago
    I am having trouble with the kotlin multiplatform project templates, would you guys recommend the github one or android studio plugin?
    j
    g
    2 replies
    Copy to Clipboard
  • ptsiogas

    ptsiogas

    1 year ago
    Hello, I am trying to get a coverage report for a KMM shared module in Android Studio. The option “Run “All Tests” with Coverage” seems to ignore all tests in the “commonTest” folder. What is the suggested way to measure code coverage of a KMM shared module;
    ptsiogas
    1 replies
    Copy to Clipboard
  • i

    iamsteveholmes

    1 year ago
    Hey folks! I have what I think is a pretty common issue. I am building an app that will be connected to backend ktor servers from where it will get system data as well as create new data. The App will be fully operational offline. I'm planning to use either SQLDelight or Kodein DB to persist data on the device and when network is available it will send updates over the network to ktor servers storing state in a MongoDB. The issue is that you never know how long your app will be disconnected from the internet. Maybe you are going camping for the weekend. So it will need to persist the "RecordAdded"/Deleted/Updated events and send them when they are reconnected. Are there any libraries to do this? Some sort of polling solution that will attempt updates and only delete the local events when the update is successfully? Thanks in advance!
    i
    l
    3 replies
    Copy to Clipboard