Anyone have some gradle magic that they use to ove...
# kotlin-native
a
Anyone have some gradle magic that they use to override the filename and
spec.name
that the cocoapods plugin generates? We use an umbrella module with a name like
xcode-umbrella
but... that's not the name we want for our actual cocoapod. Setting
framework.baseName
works for the final
.framework
and the value for what's included in the Podspec, but doesn't impact the
spec.name
or actual
*.podspec
filename
r
You could give this a shot https://youtrack.jetbrains.com/issue/KT-43815#focus=Comments-27-4584531.0-0 Alternatively, you can edit the podspec manually and add
noPodspec()
in your
cocoapods
block so it doesn't get overwritten.
👍 1
a
Must be missing something when editing the podspec manually I'm able to change the project name in settings.gradle.kts and it looks like this can be a temporary thing, since the latest code for the Cocoapods plugin (I think in 1.6.20) provides a DSL for changing the pod name 🙂 Thanks!
r
Yeah that ticket mentions a 1.6.20 target which should correspond to what’s currently in master.