mkrussel
12/14/2020, 7:25 PMkotlin {
ios {
binaries {
framework {
baseName = "SharedCode"
export(Deps.kotlinDateTime)
export(project(":pangea-core"))
export(project(":pangea-coroutines"))
export(project(":pangea-gis"))
export(project(":pangea-time"))
export(project(":pangea-data"))
export(project(":pangea-visual"))
export(project(":pangea-overlay"))
export(project(":pangea-source"))
export(project(":pangea-map"))
export(project(":pangea-mapbox"))
}
}
}
}
When I do this I do not see anything about KotlinDateTime in the build output. Not listed in the list of libraries that were exported.
When opening the produced header for the framework that gets generated. Instant is called SharedCodeKotlinx_datetimeInstant
which is the pattern I saw for non exported classes. The converter functions for going from Instant to NSDate and back are also not there.transitiveExport
as true allows the symbols to be exported.