Within the new cocoapods gradle plugin, can I chan...
# multiplatform
g
Within the new cocoapods gradle plugin, can I change the name of the module so my iOS project uses MyModuleCommon instead of mymodule_common?
s
What do you mean by “the name of the module”?
g
Sorry for the confusing wording. I meant that my common code is inside an IntelliJ module named “project_common” and thus that’s the name of the Framework I have to import inside Swift code
import project_common
. I’d like to specify in the cocoapods plugin that I’d like to rename the framework to be “ProjectCommon” and not “project_common”
s
Try renaming your Gradle project.
g
No way to specify a different name in the gradle plugin extension?
s
I’m afraid so.
g
Okay, thanks
t
any plans on adding this? i am looking for the same thing, and since I am using the same lib for both Android and iOS with Android being the primary consumer I would prefer to change the name in the gradle file. Thank you.
🙏 1
i
Yes, we have such plans but probably not in the nearest release. I've created a ticket to track this issue: https://youtrack.jetbrains.com/issue/KT-31542
g
@ilya.matveev Thank you!