I recently upgraded to kotlin 1.4.1 and it seems t...
# multiplatform
a
I recently upgraded to kotlin 1.4.1 and it seems that the adding any pod file via the native.cocoapods plugin is causing the the gradle task
linkDebugFrameworkIosSim
to throw an error
Could not find <project-name> in …
I’ve attached the relevant trace for completeness. How do I resolve this or am I missing something?
a
Hello, @Anvith! The error seems similar to an old problem with dashes in the framework name. Is this true, or I’m getting something wrong?
a
Hi @Artyom Degtyarev [JB]! Thanks for responding. My cocoapods config looks like this
Copy code
cocoapods {
    // Configure fields required by CocoaPods.
    ios.deploymentTarget = "10.0"
    summary = "Abc Mobile Core"
    homepage = "<https://github.com/anvith/abc-shared>"
    frameworkName= "abcframework"
    pod("DarklyEventSource", "~> 4.1")

}
And I’m still getting the error, also this wasn’t the case with kotlin
1.3.72
a
Ok. Could you please also run
./gradlew :AbcMobileCore:linkDebugFrameworkIosSim --info
and post the results?
a
Sure, here it is
a
I was unable to reproduce it locally. Could you share the project? It can be done using kotl.in/issue. From logs i would assume that something is wrong with
AbcMobileCore.klib
, maybe manifest file is incorrect.
a
I’ll try making an min reproducible version and raise an issue.