https://kotlinlang.org logo
#ios
Title
e

epool

09/12/2022, 11:00 PM
hi! sorry, is this plugin the recommended way for sharing a kotlin library with swift package manager? or do you have another plugin/article/post alternative? thanks in advance!
x

xxfast

09/12/2022, 11:40 PM
dont think it is officially recommended, but yeah. @John O'Reilly had a post for this here
j

John O'Reilly

09/13/2022, 6:28 AM
Unfortunately that plugin isn't being maintained any more, though there are several forks....that in particular add m1 support
It's also become easier since that article to create your own build code for this and I think that's the approach many are taking
h

hfhbd

09/13/2022, 6:33 AM
l

Landry Norris

09/13/2022, 1:38 PM
I’ve been using https://github.com/luca992/multiplatform-swiftpackage for a project at work, but recently switched off of it, since it seems to build all XCFrameworks. Due to the way another project was set up, the library I’m working on had to be set up as a cocoapod as well. When I ran createSwiftPackage, it was building release/debug XCFrameworks for all targets, then doing this again for the pods, which meant building took way too long.
16 Views