k

    kavi

    1 year ago
    Hi! I’m just getting started with KMM and but rather than building an Android app and iOS app, I’d like to build an Android and iOS SDK, with a shared Kotlin library/framework that each depends on. However the Android Studio/IntelliJ template seems to only be setup for outputting apps as the final products rather than SDKs. I’m comfortable with android and gradle, and I’ve managed to change the android app to a library, but am much more unfamiliar with iOS and so was after a bit of direction please 🙏🏾 My plan is to just create a new xcode workspace with a new framework target, and copy the pod file and build script steps from the KMM generated iOS app template. Does this seem correct? I am a bit concerned about missing some steps to get it all linked together properly… Are there any Github repos or docs that would help me with this? Also it would be great if in future the wizard could ask whether you wanted to produce an app or library
    s

    Steven Veltema

    1 year ago
    You could create a swift package instead of a pod with https://github.com/ge-org/multiplatform-swiftpackage