Join Slack
Powered by
Can KMP projects be packaged into standard .framew...
# multiplatform
z
zfan93
12/28/2023, 12:19 PM
Can KMP projects be packaged into standard .framework for ios? I have a kmp project need to build a .framework for other projects who not use kmp.
zfan93
12/28/2023, 12:23 PM
for now,KMP build into a .klib for ios , and i found xcode-frameworks/Debug/iphoneos17.0/ComposeApp.framework in my project, is it what i want?
j
John O'Reilly
12/28/2023, 12:42 PM
there's a few more options here e.g. building XCFramework
https://kotlinlang.org/docs/multiplatform-build-native-binaries.html
John O'Reilly
12/28/2023, 12:43 PM
another option is to build Swift Package.....using for example likes of KMMBridge (
https://github.com/touchlab/KMMBridge
) or
https://github.com/luca992/multiplatform-swiftpackage
z
zfan93
12/29/2023, 1:45 AM
thanks
4
Views
Open in Slack
Previous
Next