https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
g

georg

10/12/2020, 6:10 PM
Hey everyone, I created a Gradle plugin that generates an XCFramework and a Package.swift file so that you can distribute your multiplatform library as a binary target for Apple platforms. You can find all the details on Github. Please give it a shot and let me know what you think. Looking forward for your feedback. https://github.com/ge-org/multiplatform-swiftpackage
🎉 7
🆒 6
🙌 1
k

KamilH

10/13/2020, 5:10 AM
Such generated XCFramework can be distributed via Cocoapods (I mean remote cocoapods not local)?
g

georg

10/13/2020, 8:57 AM
Hi @KamilH, yes it’s possible to distribute XCFramework using Cocoapods. Please take a look at the official docs: https://blog.cocoapods.org/CocoaPods-1.9.0-beta/
k

KamilH

10/13/2020, 8:58 AM
Very well, thank you I will take a look at this
t

tylerwilson

11/05/2020, 1:49 PM
This is great. I do think XCFramework is Apples way forward for their ‘multiplatform’ (Apples definition). An extension of this that would be killer would be the ability to integrate Swift files that are in the iOS target (like .java files can be built in on the jvm/android side). Will be giving this a try shortly.
5 Views