dominicmarmion
12/04/2024, 12:44 PMdominicmarmion
12/04/2024, 12:44 PMdominicmarmion
12/04/2024, 12:45 PMdominicmarmion
12/04/2024, 12:45 PMCLOVIS
12/04/2024, 4:20 PMbuild.gradle.kts
with the kotlin("multiplatform")
plugin, include it in your main settings.gradle.kts
, then you can depend on it with project("your-kmp-library")
just like you depend on any other library modules.
> • ios: update my podspec to add the GreetingKMP pod
I don't do iOS development myself, so I can't tell you how easy it is to do, but there is an official tutorial to do exactly what you asked: https://kotlinlang.org/docs/apple-framework.htmlCLOVIS
12/04/2024, 4:21 PMdominicmarmion
12/04/2024, 4:44 PMapi fileTree(dir: '<your_path>/KotlinProject/shared/build/outputs/aar', include: ['shared-debug.aar'])
Obviously not a good idea and I'll try getting the setup you mentioned.
But first, will try to get xcode using the generated framework...dominicmarmion
12/04/2024, 5:11 PM./gradlew :shared:embedAndSignAppleFrameworkForXcode
Again a hack, but neat to quickly see shared code running in my app!! Now for more docs reading!CLOVIS
12/04/2024, 5:14 PM