For now MapboxDirections Cocoapod can't be processed by cinterop tool, it not allow us to implement buildRoute method.
Exception in thread "main" java.lang.Error: /var/folders/c6/fcjx052j7jx6dn5jdygs4_h00000gp/T/tmp8468429452304852533.m:1:9: fatal error: could not build module 'MapboxNavigation'
at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:152)
at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesASTFiles(ModuleSupport.kt:67)
at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesInfo(ModuleSupport.kt:13)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.buildNativeLibrary(main.kt:499)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:264)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.interop(main.kt:72)
at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:45)
at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:19)
at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:37)
Task :maps-mapbox:cinteropCocoapodMapboxNavigationIosX64 in maps Finished
We should wait for fix of cinterop, or create own cocoapod, what will contains all work with MapboxDirections inside, and create interop with own cocoapod, not directly to MapboxDirections
For now MapboxDirections Cocoapod can't be processed by cinterop tool, it not allow us to implement
buildRoute
method.We should wait for fix of cinterop, or create own cocoapod, what will contains all work with MapboxDirections inside, and create interop with own cocoapod, not directly to MapboxDirections