https://kotlinlang.org logo
Title
a

andrew

04/15/2023, 10:46 PM
Are there any plans to support swiftpm as opposed to cocoapods?
s

SrSouza

04/15/2023, 10:59 PM
Correctly if I’m wrong but is possible to generate a
.framework
or a
.xcframework
and bind it your self using anything you like For example KMMBridge uses the same resulted binary (xcframework) for SPM and Cocoapods. Cocoapods is only for convenience because it also allows easily do resource sharing. But I truly don’t know if there is any limitation in Compose iOS that does not let you use xcframework.
h

hfhbd

04/15/2023, 10:59 PM
So yes, this is exactly what you have to do: create the XCFramework and add a package manifest file.
a

andrew

04/15/2023, 11:12 PM
That's perfect, thank you so much for the link!