• Kwabena Berko

    Kwabena Berko

    1 month ago
    Hi folks, How do I run a custom gradle task that only runs after the build tasks completes in a KMM project?
    tasks.register("copySomething", Copy::class) {
       println("How Do I Run This Task After Build Completes?")
    }
    Kwabena Berko
    j
    +1
    14 replies
    Copy to Clipboard
  • s

    Sreeramktm 27

    1 month ago
    Hi everyone, is there any library to support json handling in KMM. I am trying to have common json implementation across platforms. Found kotlinx.serialization, which can be used in common and android but not in iOS.
    s
    v
    3 replies
    Copy to Clipboard
  • Asad Mukhtar

    Asad Mukhtar

    1 month ago
    Hi, everyone can you please let me know, can i use Compose for building Android UI, and swiftUI for IOS in KMM project?
    Asad Mukhtar
    hfhbd
    +2
    6 replies
    Copy to Clipboard
  • diego-gomez-olvera

    diego-gomez-olvera

    1 month ago
    Hello! is the task
    podPublishReleaseXCFramework
    from native.cocoapods plugin expected to generate a .dSYM? So far I see it when I run
    assemble<lib>XCFramework
    but not in that case
    diego-gomez-olvera
    kpgalligan
    16 replies
    Copy to Clipboard
  • Sebastian Sellmair [JB]

    Sebastian Sellmair [JB]

    1 month ago
    Hey Folks 👋 I was once convinced that sharing code between android + jvm (https://youtrack.jetbrains.com/issue/KT-42466/HMPP-JVM-Android-intermediate-source-set) is underrated. I wanted to write an internal document, making a case for it and trying to raise awareness. However, I currently fail to compile good enough arguments. So: If there is anybody who also thinks this is important, would you mind sharing your thoughts? (You’re also invited if you think this case is not important)
    Sebastian Sellmair [JB]
    hfhbd
    +5
    22 replies
    Copy to Clipboard
  • Francis Mariano

    Francis Mariano

    1 month ago
    please, where do I find good samples projects using KMP (android/ios/js/backend) ?? thanks a lot
    Francis Mariano
    Big Chungus
    +3
    8 replies
    Copy to Clipboard
  • c

    Ciaran Sloan

    1 month ago
    Has anyone any experience with swifts
    deinit
    function on classes that are extended from a kotlin class? I'm having a weird crash with little info in the stack trace. I've created an open class in my shared module and extending that class in Swift. I want to perform some operation in the
    deinit
    function (a cleanup of sorts), but im getting a crash when trying to access a protected property of the base class from the deinit function. I'm suspecting that possibly this object no longer exists? But I can't get enough information from the stacktrace to determine this
  • Vitor Hugo Schwaab

    Vitor Hugo Schwaab

    1 month ago
    So.... composite builds + hierarchical project structure = IDE not able to solve common code references, right? I have a structure like so:
    AndroidAppProject
    -app
    -appModuleA
    -appModuleB
    -multiPlatformProject 
     |-multiPlatformModuleA
     |-multiPlatformModuleB
    multiPlatformProject and its contents are included via
    includeBuild
    . Stuck on Kotlin 1.6.10 because of this. I came across this super creative work-around to trick the IDE into thinking we're using 1.6.10 in order to keep it working, but it didn't do the trick for me. Anyone else working around this issue?
    Vitor Hugo Schwaab
    1 replies
    Copy to Clipboard
  • f

    fathony

    1 month ago
    Hi, I'm trying to implements an interface that returns Flows on swift, something like
    callbackFlow {}
    in Kotlin. For example:
    // Kotlin common
    interface Repository {
        fun location(): Flow<LatLng>
    }
    // Kotlin android
    class AndroidRepository : Repository {
        override fun location(): Flow<LatLng> = 
            callbackFlow {
                // some implementation 
            }
    }
    How should I implements those on swift?
    // Swift iOS
    class IosRepository : Repository {
        func location() -> // how to?
    }
    I'm already looking at the topics but unable to find anything that solves above issue. Am I missing something here?
    f
    hfhbd
    2 replies
    Copy to Clipboard
  • Martin Rajniak

    Martin Rajniak

    1 month ago
    Hey folks, do you know what are my options to debug this issue with KMM?
    Task 'embedAndSignAppleFrameworkForXcode' not found in project ':ipInfo'.
    Currently it works perfectly on local machines but fails on CI. But I am experiencing this issue every now and then and would like to learn some tricks how to get to the bottom of the issue. Any ideas?
    Martin Rajniak
    r
    +1
    12 replies
    Copy to Clipboard