• Javier

    Javier

    1 year ago
    gradlew allTests
    is not running
    allTests
    for
    androidTest
    source set, so I have to use
    gradlew test
    , is there a way to force
    allTests
    to detect the android tests? I could do something like allTests dependsOn test but should be great
    allTest
    just works by default with them
    Javier
    1 replies
    Copy to Clipboard
  • j

    Jiri Bruchanov

    1 year ago
    Hi, anyone who could help with a kmm project setup ?
    j
    Mustafa Ozhan
    5 replies
    Copy to Clipboard
  • Paulo Pinheiro

    Paulo Pinheiro

    1 year ago
    What is the proper way on multiplatform to add an external java sourceset?
    Paulo Pinheiro
    1 replies
    Copy to Clipboard
  • m

    max.cruz

    1 year ago
    Hi. Someone has experience working with KMM on the m1/apple silicon/arm macbooks? I can configure the shared module to run on iOS physical devices but it’s broken for simulators
    Building for iOS Simulator, but linking in dylib built for iOS, file '/Users/.../Shared.framework/Shared' for architecture arm64
    m
    s
    +2
    14 replies
    Copy to Clipboard
  • j

    Jean Carlos

    1 year ago
    Hello! Someone has an example of a multi-module based KMM? I have seperated the domain and I want to share it embedded into shared module
    j
    d
    +1
    11 replies
    Copy to Clipboard
  • a

    Amritansh

    1 year ago
    I am getting unresolved reference due to sqldelight when I run
    ./gradlew build
    Unresolved reference: UIKit
    Unresolved reference: UIDevice
    Unresolved reference: db
    Unresolved reference: squareup
    Unresolved reference: SqlDriver
    Unresolved reference: NativeSqliteDriver
    Unresolved reference: AppDatabase
    It works fine when I run the app. KotlinVerion = 1.4.2 sqldelight version =1.4.4
    a
    2 replies
    Copy to Clipboard
  • dirk.dittert

    dirk.dittert

    1 year ago
    Has anyone experience with building and integrating KMM code into an iOS application? I have prototyped the complete workflow for an Android and iOS app. One thing that I could not get to work on iOS was debugging. The debugger in Xcode basically only shows the address of the object but no members. Is there a way to improve that behavior?
    dirk.dittert
    John O'Reilly
    4 replies
    Copy to Clipboard
  • m

    Marcus

    1 year ago
    Hi everyone! Is there some up-to-date guide on how to use a Cocoapod in the iOS part of a shared module? Following this isn't even quite possible since apparently the syntax for pod() changed since it's creation. And if I extrapolate the instructions and simply add
    pod("AFNetworking")
    to the cocoapods section in build.gradle.kts, I get
    > Task :shared:cinteropAFNetworkingIosArm64 FAILED
    Exception in thread "main" java.lang.Error: /var/folders/4g/3s9scp9d5593dphx7n_7nhk40000gn/T/tmp1272859169392324213.m:1:9: fatal error: module 'AFNetworking' not found
    I'm trying this in an KMMApplication template from AndroidStudio 4.1.1 running Kotlin Plugin 1.4.21-release-Studio4.1.1, in which I've only modified build.gradle.kts to add
    kotlin("native.cocoapods")
    to the plugins, changed the
    ios {
    …
    }
    block to
    ios()
    to get rid of the
    Caused by: java.lang.IllegalArgumentException: Cannot create binary debugFramework: binary with such a name already exists
    error that appears when adding the Cocoapods plugin and added this
    cocoapods {
            pod("AFNetworking")
    }
    section. Am I missing something?
    m
    kpgalligan
    +3
    29 replies
    Copy to Clipboard
  • d

    drofwarcs

    1 year ago
    I have a KMM project with targets for Android/iOS only. Whenever I invoke a test from commonMain from the IDE gutter it defaults to running the
    cleanIosTest iosTest
    gradle tasks. I can edit the configuration of past tests to use a different gradle task but am curious if there is a way to have the tests that are started from the gutter to use a different gradle task?
    d
    russhwolf
    2 replies
    Copy to Clipboard
  • ludOS

    ludOS

    1 year ago
    Hi everybody 👋 I'm proposing an open source (LGPL) KMM app targeting iOS and Android. As I did it as a hobbie and because my ticket for the KotlinConf workshop was cancelled per Covid (I do hail from Montréal), I didn't have time to really talk about or document it. The source is there: https://github.com/f8full/herdr I'm glad to be here because I have a lot of questions, I tried to integrate MokoMvvn and could never figure out the iOS setup.
    ludOS
    alex009
    4 replies
    Copy to Clipboard