https://kotlinlang.org logo
#ios
Title
# ios
l

Landry Norris

05/13/2022, 6:53 PM
I have a project with two modules that both use cocoapods. They both depend on the Intercom pod and are set up nearly identically. One of them builds just fine, but the other always fails when commonizing the cinterop for Intercom with this message
Unresolved classifier: cocoapods/Intercom/ICMHelpCenterCollectionContent
What should I be looking for to figure out why this fails for only one of the modules?
If I manually ./gradlew module1build, it completes fine. Clearing all caches and running ./gradlew module2build always fails.
Setting kotlin.mpp.enableCInteropCommonization=false in gradle.properties seemed to fix this for me.
5 Views