It doesn’t seem like I am able to call `Instant.to...
# ios
j
It doesn’t seem like I am able to call
Instant.toNSDate()
from my Swift code… Is there anyone else who has had this issue? https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/kotlinx.datetime/to-n-s-date.html
j
The API may not be exported to your Objective-C framework headers. Dependency APIs are only exported if they're used in your Kotlin code. Or you can manually export them.
💯 1
j
Awesome, thanks!