Hi folks, I have some code written for JVM that I’m trying to common-ify so that I can enable multi-platform builds for iOS as well. When I enable an iOS target, I get compiler errors on several basic constructs from `stdlib`:
• vararg toList()
• List.toTypedArray()
• map
• filter
• forEach
• lazy
• …
Two likely options:
1. These are supported for iOS targets, but I have something configured incorrectly
2. These are not supported for iOS targets
Should I expect the above to be supported for iOS? Is there any centralized place where I can confirm pieces of stdlib that have full multiplatform support?
s
Skaldebane
07/21/2024, 5:24 PM
All of these are supported (most of stdlib is), I guess something isn't correctly configured.
Try to base on one of the KMP templates from kmp.jetbrains.com, these work out-of-the box.