Hi! Perhaps somebody has already researched about ...
# multiplatform
s
Hi! Perhaps somebody has already researched about the size increase of an iOS XCFramework written in Kotlin, what expected percentage increase would it be vs a framework written in Swift?
i
In KMP, one uses
Ktor
client for HTTP requests in a API client library, for example, code written in Kotlin. We can use the KMP library for JVM, Android, etc. In case of iOS/macOS native XCFramework, we tend to use
NSURLSession
along with
async/await
, code written in Swift. Surely, there will be difference in the size of the XCFrameworks created via these two pathways. But, can we call the comparison fair?
s
I mean, if you had to create an XCFramework either entirely native or with KMP, and an important criterion for making the decision is that the size does not increase significantly. At a percentage level, how much could a KMP-based framework increase in size compared to a fully native one?