• w

    wakingrufus

    3 years ago
    if i have a gradle multi project build, and one subproject is an MPP project, how can another subproject, which is a regular jvm project, depend on the jvm output from the MPP project?
    w
    Dico
    +1
    9 replies
    Copy to Clipboard
  • h0tk3y

    h0tk3y

    3 years ago
    Hi everyone, In the latest 1.3.20 EAP, we've added a few improvements to Multiplatform Projects, including publishing Android libraries (AAR) as a part of a multiplatform library. See the details in the thread. You are welcome to try it and share your feedback!
    h0tk3y
    h
    +3
    36 replies
    Copy to Clipboard
  • russhwolf

    russhwolf

    3 years ago
    I’m having trouble consuming a library using single-variant aar publishing in eap-100. See sample project at https://github.com/russhwolf/AndroidLibDemo Here’s my process:1. run
    ./gradlew clean build check publishToMavenLocal
    in root directory 2. run
    ./gradlew clean build check
    in
    app
    directory If the library used
    publishAllLibraryVariants()
    this works fine, but if I do
    publishLibraryVariants("release")
    I get an error because the debug app build can’t figure out which library variant to use.
    russhwolf
    h0tk3y
    9 replies
    Copy to Clipboard
  • russhwolf

    russhwolf

    3 years ago
    Also, another issue: The android tests in
    app
    fail to build unless I add the library dependency to both
    commonMain
    and
    commonTest
    .
    russhwolf
    1 replies
    Copy to Clipboard
  • galex

    galex

    3 years ago
    Hello, could someone explain what happened to the multiplatform plugin? I guess I missed the last big change, from “kotlin-platform-common” to “org.jetbrains.kotlin.multiplatform”. Before that change, we were supposed to have one module for common, one per platform and then our projects depends on those platform modules. Now with org.jetbrains.kotlin.multiplatform all of the common + platform specific code is built under one only module? Is that correct?
    galex
    gildor
    2 replies
    Copy to Clipboard
  • einar

    einar

    3 years ago
    Is there a good tutorial/example-project out there describing how to setup SQLDelight in a multiplatform project (Android/iOS)?
    einar
    a
    +1
    14 replies
    Copy to Clipboard
  • t

    Tzahi Moyal

    3 years ago
    Hi, I’m trying to compile iOS framework with all architectures support Arm64 and iosX64, someone knows how to do it?
    t
    s
    +1
    5 replies
    Copy to Clipboard
  • alexfacciorusso

    alexfacciorusso

    3 years ago
    Hello everyone! I can’t find anything about how to change the generated framework (ios) name in the multiplatform project build.gradle file. Does anyone know how to do that?
    alexfacciorusso
    1 replies
    Copy to Clipboard
  • nikolaymetchev

    nikolaymetchev

    3 years ago
    Hello I have an inline function defined in kotlin and compiled to javascript using kotlin multiplatform. It appears as though that function doesn't get exported and so I cannot use it from javascript. Am I correct in making this deduction?
    nikolaymetchev
    gildor
    8 replies
    Copy to Clipboard
  • kgonyon

    kgonyon

    3 years ago
    Hello, I am currently trying to make a multiplatform library for our android and ios applications. I have everything except I want to pull in the Firebase SDK for ios using cinterop. I have everything hooked in and working except when I build the linker gives me the following error.
    Undefined symbols for architecture arm64:
      "___isOSVersionAtLeast", referenced from:
          +[GULAppEnvironmentUtil isAppStoreReceiptSandbox] in GoogleUtilities(GULAppEnvironmentUtil.o)
      "_utf8_nextCharSafeBody", referenced from:
          -[FSRWebSocket _innerPumpScanner] in FirebaseDatabase(FSRWebSocket.o)
    ld: symbol(s) not found for architecture arm64
    kgonyon
    olonho
    +1
    5 replies
    Copy to Clipboard