Brendan Weinstein
08/16/2023, 3:36 PMMapboxMaps 10.13.1
as a dependency to iosMain
module; I cannot import cocoapods.MapboxMaps.*
. Using the same instructions, I am able to successfully add Nuke 10.5.2
as a dependency to iosMain
and import cocoapods.Nuke.*
What's the difference between MapboxMaps
and Nuke
that allows one library to be used as an iosMain
dependency but not the other?Brendan Weinstein
08/16/2023, 3:48 PMCherrio LLC
08/16/2023, 4:13 PMCherrio LLC
08/16/2023, 4:14 PMBrendan Weinstein
08/16/2023, 5:41 PM.netrc
file defined. I am using mapbox in my ios native code and android native code without issue.
The problem I have is I am unable to reference the mapbox library within the shared/iosMain
module. And this manifests itself as an inability to import cocoapods.MaxboxMaps.*
but does not produce any error message when synchronizing/importing project.iXPert12
08/17/2023, 5:50 AMBrendan Weinstein
08/21/2023, 8:01 AMBrendan Weinstein
08/21/2023, 8:05 AMKotlin/Native provides bidirectional interoperability with Objective-C. Objective-C frameworks and libraries can be used in Kotlin code if properly imported to the build (system frameworks are imported by default). See compilation configurations for more details. A Swift library can be used in Kotlin code if its API is exported to Objective-C withgood callout on swift interop though. Pure Swift modules are not yet supported.@objc
Brendan Weinstein
08/21/2023, 9:21 AMUIKitView
as a workaround