https://kotlinlang.org logo
#ktor
Title
# ktor
r

ribesg

03/01/2019, 11:31 AM
Anyone in here with experience packaging ktor-client in an iOS framework?
e

e5l

03/01/2019, 11:58 AM
Hi, @ribesg. Kotlin native doesn’t generate Swift methods for suspend functions. So probably you couldn’t export client methods directly to Swift for now.
r

ribesg

03/01/2019, 12:06 PM
I think the problem is that I was exporting too many dependencies because I had
transitiveExport
set, so it exported (or try to export) everything in all ktor deps, including a lot of things which cannot be properly exported. At least that’s what I understood