Hi,
I’m trying to generate frameworks for my project but I’m not being to deploy because the output is incorrect
Does someone know how can I configure the
xcode
block from the
kotlin("xcode-compat")
plugin in order to achieve that?
For example, with this
Copy code
xcode {
setupFramework("KotlinNativeFramework")
}
a directory called KotlinNativeFramework will be created inside of the build folder, but the actual frameworks inside of this folder (
*.framework
,
*.framework.dSYM
) have a much longer name and also their inner definitions will be pointing to this other name.
It looks like tha name come from the linkTask but I don’t know how to change the output definitions, does someone know?
GarouDan
01/19/2020, 9:32 PM
I was able to fix with
xcode {
setupFramework(“KotlinNativeFramework”) {
baseName = “KotlinNativeFramework”
}
}
iosX64() {
binaries {
framework {
baseName = “KotlinNativeFramework”
}
}
}
in case someone also needs this