Does amper support somehow to run the XCFramework ...
# amper
t
Does amper support somehow to run the XCFramework task?
f
What do you mean by the "XCFramework task"? A task that would assemble an XCFramework for the module?
t
Yes, in my gradle project I use
Copy code
import org.jetbrains.kotlin.gradle.plugin.mpp.apple.XCFramework
and then
Copy code
val xcf = XCFramework("SharedCode")
and then
Copy code
xcf.add(this)
and this generates an XCFramework with all the mentioned iOS/macOS/watchOS bits.
f
Do you use Gradle-based Amper or standalone Amper?
t
I have been experimenting with the stand-alone version, but if I need to use the gradle-based version I could certainly do that.
f
Thanks for clarifications! So, no, we currently do not support building an XCFramework in pure Amper. I suppose you can do that in Gradle the way you described