https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
a

Alejandro Moya

01/26/2023, 3:36 PM
If anyone is experiencing the same issue, I created a bug on youtrack: https://youtrack.jetbrains.com/issue/KTOR-5491/unable-to-export-internal-dependencies-on-native
h

hfhbd

01/26/2023, 3:41 PM
Do you get some errors? AFAIK the warnings are safe to ignore.
a

Alejandro Moya

01/26/2023, 3:43 PM
that’s not safe, since those are dependencies needed by ktor to work
h

hfhbd

01/26/2023, 3:43 PM
But did you actually test it?
a

Alejandro Moya

01/26/2023, 3:46 PM
I have a previous version of ktor on another project using kotlin 1.6.3 and didn’t get these warnings, since I’m creating a fat framework the same way I did on that previous project, I know this warning will result in a failure when trying to use the ios targets. I didn’t try yet as I’m in the early stage of the project, but created the issue to allow jetbrains to check this 😄
h

hfhbd

01/26/2023, 3:47 PM
I know this warning will result in a failure when trying to use the ios targets.
I don't think so. I get these warnings too but my apps work.
a

Alejandro Moya

01/26/2023, 3:52 PM
Well, that’s good to know 😄 , will test that myself when I get the chance
it’s weird since those are related to threading on ios, that should degrade the performance if it fails internally
5 Views