tuya / tuya-home-ios-sdk-sample-swift

This sample demonstrates how to use Tuya Smart Home iOS SDK features in Swift.
https://developer.tuya.com/docs/app-development/ios-app-sdk/feature-overview?id=Ka5cgmlybhjk8
MIT License
31 stars 16 forks source link

Crash after calling ThingSmartRoomBiz.sharedInstance().getRoomList #20

Closed dodyac closed 8 months ago

dodyac commented 8 months ago

How to reproduce If I go to room list screen, after the room list loaded, I am getting a crash

Screenshot 2024-02-29 at 10 22 20
rishatl commented 8 months ago

Hey, I'll take it upon myself, make me assignees, pls

taojingGino commented 8 months ago

@dodyac We did not reproduce your issue by running the demo locally, so we suspect that the crash was caused by a data issue. We suggest that you break a point near the getRoomList method and investigate step by step whether the data meets your expectations

dodyac commented 8 months ago

Im using simulator and getting crash, but when im using real device its not getting crash

taojingGino commented 8 months ago

@dodyac yeah,you can use real device first,we are fixing the problem about simulator