You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Android demo works great, the iOS demo seems to have a problem trying to retrieve the data from the shared KMM module.
I also noticed that the iOS template that's generated with KMM plugin v0.2.6 is different from the one in the tutorial and this repo. The plugin now generates a template with iOSApp.swift and ContentView.swift only (there is no AppDelegate.swift or SceneDelegate). In my fork I made some changes to make it run, unfortunately, it gives me the following error when launching: "mutation attempt of frozen kotlin.collections.HashMap@1cad628"
Hey @falcon4ever, thanks for reporting it. I've updated the sample (added a workaround). The final branch was forced-pushed (to keep the clean history, which represents the steps of the tutorial)
Hi,
I was following the tutorial Kotlin Multiplatform Hands-on: Networking and Data Storage from scratch using Android Studio Arctic Fox Beta 4 and KMM plugin v0.2.6.
The Android demo works great, the iOS demo seems to have a problem trying to retrieve the data from the shared KMM module.
I also noticed that the iOS template that's generated with KMM plugin v0.2.6 is different from the one in the tutorial and this repo. The plugin now generates a template with iOSApp.swift and ContentView.swift only (there is no AppDelegate.swift or SceneDelegate). In my fork I made some changes to make it run, unfortunately, it gives me the following error when launching: "mutation attempt of frozen kotlin.collections.HashMap@1cad628"
Steps to replicate:
Any ideas how to fix the demo code?
I'm using:
edit June 30th 2021
I also tried updated the existing final branch to see if it was some XCode proj issue (but it gives the same result):
The text was updated successfully, but these errors were encountered: