-
|
Anybody know why this Codable implementation of an enum would throw an This works fine on iOS ( The same seems to happen with arrays of strings, doubles, and bools. The init also supports (non-array) strings, integers, etc. Those seem to work fine on both platforms. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Thanks for the report! We'll look into this. I believe our implementation may only support using keyed and unkeyed containers for arrays. So using an unkeyed container might be a temporary workaround if you can, but we'll try to get this corrected ASAP (And hey, maybe do some timer work while we're at it :) |
Beta Was this translation helpful? Give feedback.
-
|
This work is complete, but it involves coordinated updates to multiple modules, so I may have to wait until I have an uninterrupted block of time tonight to push and tag it all in quick succession |
Beta Was this translation helpful? Give feedback.
-
|
Pushed and tagged! You should get the fix if you use File->Packages->Update to Latest in Xcode. Please let us know if you have any issues with it, and thanks again for the report |
Beta Was this translation helpful? Give feedback.
Pushed and tagged! You should get the fix if you use File->Packages->Update to Latest in Xcode. Please let us know if you have any issues with it, and thanks again for the report