I created Kotlin native project to shared code bet...
# android
s
I created Kotlin native project to shared code between iOS and android.I did integration for cocoapods in-order to use in iOS project using POD file, Project successfully run on iOS and Android but when I tried to used iOS pod library in Kotlin native project, I start getting errors below. I know that I have to run pod install first from Xcode in-order to compile library in Kotlin native project. SO iOS pod library should be converted via cinterop, to use in Kotlin Native Project. I run below command just to check either framework compile successfully or not. ./gradlew SharedCodepackForXCode got this error
Copy code
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':SharedCode:cinteropAFNetworkingIos'.
> Cannot perform cinterop processing for AFNetworking: cannot determine headers location.

  Probably the build is executed from command line.
  Note that a Kotlin/Native module using CocoaPods dependencies can be built only from Xcode.
please find below Gradle file. build.Gradle.kts From a thread in #general