• Mohit Khanna

    Mohit Khanna

    1 year ago
    Hi all, Wondering if anyone has experimented around what the size impact is if using KMM instead of native platform for doing the same work? I tried, but not sure if I'm measuring it right on iOS.. To measure it, I created simple Hello World apps using XCode and AndroidStudio. The native iOS app (created by default in XCode) seems to be ~450 KB while the one created for iOS using KMM in AndroidStudio seems to be ~2.5 MB. This difference seems HUGE! And I feel I might be doing something wrong in measuring the sizes as I'm not from iOS background. Here's what I'm doing - For the app created in XCode, I created an Archive of it, and then zipped the archive (followed one of the SO posts). For the one created through KMM in AndroidStudio, I'm looking at the size of file called 'iosApp' in build->ios->Debug-iphonesimulator->iosApp. I did similar test for Android, where sizes are comparable. Can someone share if I'm measuring the iOS size wrongly? Or what your observations of size impacts of using KMM have been?
    Mohit Khanna
    e
    +4
    36 replies
    Copy to Clipboard
  • e

    edwinRNDR

    1 year ago
    Does anyone have recommendations (pref existing ones) for gradle plugins that turn a directory of files (text files in my case) into a .kt file with string vals holding the contents of the files?
    e
    Big Chungus
    +1
    6 replies
    Copy to Clipboard
  • j

    Jad Doueik

    1 year ago
    Heyy I am trying to make an API call using ktor using the native engines, on ios I am getting an TLS sessions are not supported on Native platform error can anyone help me find a solution please? I am using ktor 1.6.0
    j
    r
    12 replies
    Copy to Clipboard
  • r

    Rak

    1 year ago
    Hi, I’m seeing an error when i run :
    mutation attempt of frozen kotlin.collections.HashMap@2be0d88
    I’ve tried the fix here : https://github.com/Kotlin/kotlinx.serialization/issues/1450 but it still fails
    r
    John O'Reilly
    3 replies
    Copy to Clipboard
  • Colton Idle

    Colton Idle

    1 year ago
    https://blog.jetbrains.com/kotlin/2021/06/kmm-for-appcode/ Looks pretty cool. I don't do iOS development so I don't know what certain features actually mean to me as a KMM dev... like
    To build the iOS part, AppCode generates a temporary Xcode project and invokes the Xcode build system, so you can be sure that our Gradle project model will work the same as a regular Xcode project does.
    Can anyone shed light on this? I'm using kmm now and doesn't it always generate an xcode project in the begining which is what allows us to open up the project in xcode?
    Colton Idle
    iamthevoid
    +4
    11 replies
    Copy to Clipboard
  • a

    alorma

    1 year ago
    Hello... i'm very new to multiplatform, I've tried to copy PeopleInSpace (from @John O'Reilly) here: https://github.com/alorma/Irc-Compose, but i'm receiving some errors 🧵
    a
    John O'Reilly
    +1
    23 replies
    Copy to Clipboard
  • Yaniv Sosnovsky

    Yaniv Sosnovsky

    1 year ago
    Hi guys. Does anyone know a DB (SQL\NO-SQL) library for multiplatform that supports iOS, Android & linux? I know that SQLDelight doesn’t support linux at the moment. It also looks like Realm (No-SQL) doesn’t support it either. Same goes for Kodein-DB which is also in Beta… Frustrating… Edit: I encountered this site which states that sqldelight supports linux as well, has anyone tried to integrate this on linux?
    Yaniv Sosnovsky
    kpgalligan
    2 replies
    Copy to Clipboard
  • Kurt Renzo Acosta

    Kurt Renzo Acosta

    1 year ago
    Hi. When I’m building my project using cocoapods, it takes a really long time on my first build. Specifically the
    podBuild<Library>Iphoneos
    and ``podBuild<Library>Iphonesimulator` tasks. They run up to 20 mins when I invalidate caches on my IDE… Does anyone have an idea on why this is happening? Thanks!
    Kurt Renzo Acosta
    e
    2 replies
    Copy to Clipboard
  • l

    linz

    1 year ago
    hey folks. has anyone else run into this error when trying to validate an iOS build with appstoreconnect? I wasn't having this issue before adding cocoapods to my kmm project.
    l
    1 replies
    Copy to Clipboard
  • Toby

    Toby

    1 year ago
    So apparently, I can't anymore use
    var
    in an object.. What can I do about it? (language version 1.5.10 and only in within the multiplatform module)
    Toby
    e
    4 replies
    Copy to Clipboard