Having an issue with the cocoapods plugin. - Have...
# multiplatform
j
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
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
Hey! Thanks for replying, unfortunately no dashes in the framework name 😞
f
Have tou ever tried to call
generateDummyFramework
in Gradle project before
pod install
?
@james
j
Thanks @fcosta I'll take a look!
r
Hi @james were u able to resolve the issue i am also facing the same issue ?
j
@Ravin Jain I was not, any chance you did?