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.
10/13/2020, 5:10 AM
Such generated XCFramework can be distributed via Cocoapods (I mean remote cocoapods not local)?
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.