• Jack Darlington

    Jack Darlington

    3 months ago
    Hi all, I am having issues trying to assemble XCFramework. i am getting the following errors: -
    ld: warning: Could not find or use auto-linked library 'swiftCore'
    ld: warning: Could not find or use auto-linked library 'swiftQuartzCore'
    ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
    ld: warning: Could not find or use auto-linked library 'swift_Concurrency'
    ld: warning: Could not find or use auto-linked library 'swiftFoundation'
    ld: warning: Could not find or use auto-linked library 'swiftCompatibility51'
    ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
    ld: warning: Could not find or use auto-linked library 'swiftDispatch'
    ld: warning: Could not find or use auto-linked library 'swiftDarwin'
    ld: warning: Could not find or use auto-linked library 'swiftUIKit'
    ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
    ld: warning: Could not find or use auto-linked library 'swiftCompatibility50'
    ld: warning: Could not find or use auto-linked library 'swiftCoreImage'
    ld: warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements'
    ld: warning: Could not find or use auto-linked library 'swiftMetal'
    ld: warning: Could not find or use auto-linked library 'swiftFileProvider'
    ld: warning: Could not find or use auto-linked library 'swiftDataDetection'
    ld: warning: Could not find or use auto-linked library 'swiftCompatibilityConcurrency'
    Jack Darlington
    David Nedrow
    3 replies
    Copy to Clipboard
  • kevin.cianfarini

    kevin.cianfarini

    3 months ago
    I'd like to re-raise
    Closeable
    as a feature Kotlin developers desire in the common stdlib. Here's an associated YouTrack Issue. This conversation has been brought up several times, and the argument against
    Closeable
    being defined in common was that the stdlib doesn't use it anywhere. Library maintainers have coped by creating their own implementations of
    Closeable
    and
    use
    . This is undesirable because: 1. Consumers of these libraries have to rectify multiple different namespaces of what is essentially the same interface. 2. Library maintainers need to recreate closeable for every one of their projects. Right now, Okio, SQLDelight, and Ktor all have their own implementations of
    Closeable
    . I'm sure there's many more libraries which do the same. I personally feel that coalescing around a single implementation of
    Closeable
    is import in the Kotlin ecosystem now that we've shown it to be a common use case in multiplatform code.
    kevin.cianfarini
    2 replies
    Copy to Clipboard
  • Alex Logan

    Alex Logan

    3 months ago
    Hey everyone! I wanted to ask what the general sentiment is around networking and KMM. I've found lots of people using KMM, but they keep their networking outside of the shared module. I've gone the other way, and I have the networking within the module, but its caused a lot of headaches, with every version of ktor having a new crash on iOS. Are others seeing this iOS instability, and other than pulling it out of shared, is there some way around it? There's various youtrack and github issues for every crash i've had, and more seem to spring up, but I don't see many people talk about these iOS problems 🤔
    Alex Logan
    wbertan
    +3
    7 replies
    Copy to Clipboard
  • Marek Niedbach

    Marek Niedbach

    3 months ago
    Hi there! Is there any way to set the current/default locale when run
    gradle check
    ? I have some logic that rely on Locale/NSLocale and the unit tests are using the machine locale which may be out of control..
    Marek Niedbach
    j
    7 replies
    Copy to Clipboard
  • Landry Norris

    Landry Norris

    3 months ago
    I am working on a kmm library that has UI elements at work. Right now, I’m using UIKit written in Kotlin for the UI on iOS, which allows me to have my logic and UI in the same codebase. I’m currently in the process of migrating the UI from the Android side to Compose, and was wondering if anyone’s used SwiftUI + KMM for a library. I know for a final app, it’s common to use SwiftUI in the app sources, but would this work just as well for a library, or are there any gotchas I may run into?
    Landry Norris
    kpgalligan
    +1
    9 replies
    Copy to Clipboard
  • Kwabena Berko

    Kwabena Berko

    3 months ago
    Hello! 👋 Is there a way to write parameterised tests with kotlin.test ?
    Kwabena Berko
    j
    2 replies
    Copy to Clipboard
  • Dimitri Giani

    Dimitri Giani

    3 months ago
    Hi all, I’ve a project with an old version of KM, how can I update the project to the new version?
    Dimitri Giani
    s
    3 replies
    Copy to Clipboard
  • r

    Ronny Remesnik

    3 months ago
    Hey all, I have android project that is using KMP project. KMP have modules and when I’m trying to import code of KMP modules to android project, the AS mark it with RED and say when I click “Can’t find declaration” When the imported code is not from module, but from the
    commonMain
    folder on the root, all imported well. But all code compiles well, no problem on compilation, only visual… problem started since upgrading Kotlin to 1.6.21 Thanks in advance…
    r
    mbonnin
    2 replies
    Copy to Clipboard
  • martmists

    martmists

    3 months ago
    Are there multiplatform alternatives to classes like Optional and StackOverflowError?
    martmists
    j
    +1
    16 replies
    Copy to Clipboard