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

diego-gomez-olvera

03/24/2022, 11:29 AM
Hello everyone ! I am exploring the KMM
XCFramework
publication and found an interesting plugin. Something that I am missing is the iOS/Swift project definition of the dependency. Is anyone using it? https://github.com/prof18/kmp-fatframework-cocoa
k

Konstantin Tskhovrebov

03/24/2022, 1:44 PM
You can try 1.6.20-RC with cocoapods plugin. it provides
podPublish...
task which assembles XCFramework + podspec
m

Matthew Kruk

03/24/2022, 1:49 PM
I would also recommend this for publication: https://github.com/ge-org/multiplatform-swiftpackage It includes frameworks and swift package.
k

Konstantin Tskhovrebov

03/24/2022, 1:50 PM
./gradlew podPublishReleaseXCFramework
Copy code
xcframework successfully written out to: .../shared/build/cocoapods/publish/release/shared.xcframework
d

diego-gomez-olvera

03/24/2022, 3:56 PM
ah, pretty nice! thanks!
5 Views