
After updating to 1.3.1 and swift sdk to 2.0.0 I have a crash on teams.create. I think it's a casting problem, receiving an empty list and expecting a dictionary
Could not cast value of type '__NSArray0' (0x7fd1f98ce158) to 'NSDictionary' (0x7ff863f59f00).
2023-04-12 20:42:54.790689+0200 babybottle[92246:22609523] Could not cast value of type '__NSArray0' (0x7fd1f98ce158) to 'NSDictionary' (0x7ff863f59f00).
Could not cast value of type '__NSArray0' (0x7fd1f98ce158) to 'NSDictionary' (0x7ff863f59f00).
CoreSimulator 857.14 - Device: iPhone 14 Pro Max (3ADF35A1-3B88-4DA6-A4BF-830833E2194F) - Runtime: iOS 16.2 (20C52) - DeviceType: iPhone 14 Pro Max

are you able to share the network response?

actually, would you be able to create an issue?

Here is the network response (prefs
is returned as empty list). Do you want me to create an issue on the swift sdk github or on the main repo?

main appwrite repo please!

Hi @DjeBen - is this resolved? do you need more help with this?

Hi @joeyouss thanks for jumping here. No it's still not resolved, but the fix has been merged I'm just waiting for the new 1.3.2 release

In the meantime I have downgrade the apple sdk I used (from 2.0.0 to 1.2.3) So I don't have the crash because the pref on team don't exist below 2.0.0

Github issue link: https://github.com/appwrite/appwrite/issues/5365

We just released 1.3.2! See https://discord.com/channels/564160730845151244/636818236310159360/1101246221089263617
Recommended threads
- Still getting ServiceContextModule linke...
Hey team - I'm still getting ServiceContextModule linker errors even after updating to SDK 13.2.2. Error: - Undefined symbol: static ServiceContextModule.Servi...
- Swift SDK 13.2.1: Missing AppwriteEnums ...
## Issue Build fails with error: `Unable to find module dependency: 'AppwriteEnums'` ## Environment - **SDK Version:** 13.2.1 (swift-for-apple) - **Xcode:** 16...
- sdk-for-apple v.10.2.0 produces errors
I am trying to get the Apple SDK v10.2.0 to work on my tvOS project. I previously used v6.0.0 but decided to update. When I update the dependencies, the build f...
