https://kotlinlang.org logo
j

james

02/05/2020, 4:56 AM
Having an issue with the cocoapods plugin. • Have included the pod in build.gradle
cocoapods { }
block • Generate podspec with Gradle task •
pod install
in the ios project folder successfully • Try to build from Xcode but get the following error:
Copy code
> Task :someapp:cinteropSomeModuleIos

`Showing All Messages
Exception in thread "main" java.lang.Error: /var/folders/nv/hdlrvk9j2g77bsvj_npsm46r0000gn/T/tmp8525659560237793549.m:1:9: fatal error: module 'SomeModule' not found`
I checked FRAMEWORK_SEARCH_PATHS and it includes the path to SomeModule.framework Any ideas?
a

Artyom Degtyarev [JB]

02/05/2020, 7:04 AM
Hello! Do you have any dashes in the framework name? There was a problem with that, see(https://github.com/JetBrains/kotlin-native/issues/2884).
j

james

02/05/2020, 11:42 PM
Hey! Thanks for replying, unfortunately no dashes in the framework name 😞
f

fcosta

02/06/2020, 2:14 PM
Have tou ever tried to call
generateDummyFramework
in Gradle project before
pod install
?
@james
j

james

02/06/2020, 10:03 PM
Thanks @fcosta I'll take a look!
r

Ravin Jain

12/05/2020, 3:03 AM
Hi @james were u able to resolve the issue i am also facing the same issue ?
j

james

03/29/2021, 1:14 AM
@Ravin Jain I was not, any chance you did?
14 Views