Since coroutines and serialization are already sup...
# multiplatform
m
Since coroutines and serialization are already supporting
Apple silicon targets
, does anyone know anything about when
ktor
will add support for this as well? There doesn't seem to be much traffic on those issues https://youtrack.jetbrains.com/issue/KTOR-3082 https://youtrack.jetbrains.com/issue/KTOR-3144
2
t
i
Target Shortcut 😐
m
CI Failed 😞
But you need a compatible CI.
https://kotlinlang.slack.com/archives/C3PQML5NU/p1630522970076000?thread_ts=1629917120.375100&cid=C3PQML5NU @hfhbd do you think this is what happened here? @e5l would you know who could help us with the CI? (sorry if wrong mention - if so, could you please refer someone who can help here?) sorry for DM, this is currently blocking me from using Ktor, so any guidance appreciated 🙏
h
The CI failed because of wrong caches (some XML compiler errors are cached). See other PRs. The main branch works fine.
e
The was a problem with imports in the
main
branch and it was fixed 19Oct, could you check if the fix is included in your branch?
h
It's not. thanks for the hint
e
No problem, sorry for this. I forgot to check the package name in tests after refactoring
m
you are best guys - didn't expect reply so soon 🙂
change seems to helps but CI is still failing
now we are down to 4 failing checks ( was 8 ) failing tests now: • TomcatWebSocketTest.testReceiveMessages[jvm] io.ktor.tests.websocket, • WebSocketJvmTest.testWebSocketDeflateNoContextTakeover[CIO][jvm] io.ktor.client.tests, • MultithreadedTest.numberTest[Apache][jvm] io.ktor.client.tests, • JvmContentTest.inputStreamTest[Apache][jvm] io.ktor.client.tests, • JvmContentTest.inputStreamTest[CIO][jvm] io.ktor.client.tests,
h
These tests are flaky
m
@e5l thanks for merging this 🎉 Any way I can try it (other than building it locally)? E.g. is master build published somewhere or we have to wait for another release (any ETA on that)? Thanks for help 🙏
h
m
it is in pending changes https://ktor.teamcity.com/buildConfiguration/Ktor_KtorPublish_AllEAP?branch=%3Cdefault%3E&buildTypeTab=pendingChangesDiv probably they have nightly builds or something similar (cause it is still just 13h from the merge)
h
the eaps are nightly builds, building every day at 20:00. I think, it is 20:00 UTC, so in 1 hour. Edit: UTC is confirmed :)
🦠 1
m
it has been built as
main-252
and it works (as before) on Android but for iOS (simulator) it fails because it cannot find new artifacts
Copy code
Execution failed for task ':shared:compileKotlinIos'.
> Could not resolve all files for configuration ':shared:iosCompileKlibraries'.
   > Could not find io.ktor:ktor-client-core-iossimulatorarm64:main-252.
     Searched in the following locations:
       - <https://maven.pkg.jetbrains.space/public/p/ktor/eap/io/ktor/ktor-client-core-iossimulatorarm64/main-252/ktor-client-core-iossimulatorarm64-main-252.pom>
     Required by:
         project :shared > io.ktor:ktor-client-core:main-252
Do you guys know if it is this something I can fix locally? (e.g. copying the arm64 artifacts to local maven with simulator name) or it will have to be fixed in library (I assume those artifacts need to be published as well)
h
It's not a local problem. We need to update the CI publishing tasks too, to include the new publications.
m
Seems like KTor 2.0 is getting close. Should I create a ticket for the publishing as well or shall we reuse the existing one?
e
There is a PR already, I’m going to merge it soon.
🦠 1
h
And it's merged 😄
🦜 2
m

https://media.giphy.com/media/Mnw7GYKVJjX20/giphy.gif

e
2.0.0-eap-257
is building with Apple Silicon support, sorry for the delay
🤘 1
m
No worries - thanks for update