tuya / tuya-home-ios-sdk-sample-objc

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

IOS App crashing while adding device (objc) #12

Closed gokselsina closed 12 months ago

gokselsina commented 1 year ago

Hi. I cloned the repo named tuya-home-ios-sdk-sample-objc via github. I have completed all the installation steps correctly. But the app crashes. I press the Activator button and select the type of device to pair. For example, the temperature sensor. Then I do the device search and the device is detected. At this time, there is the device detected on the screen and the add button next to it. As soon as I press the add button, the application freezes and crashes. I have uploaded the image as a file attachment, you can review it. I did not make any development to the application. I'm installing bizbundle on the sdk you provided. The only information I can get about the problem is that during the crash I see "ID is invalid" in the logs. I don't know what ID she's talking about. Can you assist me on how to solve this problem? iScreen Shoter - 20230828100206119

Video : https://www.youtube.com/watch?v=wQ5LV1nxVwY

taojingGino commented 1 year ago

1.Can you provide your mobile system version and Xcode version? This issue may be related to the version

2.Can you take a screenshot of all the information on the stack here?

screen

@gokselsina

gokselsina commented 1 year ago

Hi,

xcode version : 14.3.1 ios version : 16.4

image

logs i get when i press the button :

`2023-08-31 17:09:54.319986+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] This application is for testing only, but not for commercial use. If the number of registered users reaches the limit, new users cannot be registered. 2023-08-31 17:09:55.406072+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ThingEZPairinger: searchDevice 2023-08-31 17:09:55.406708+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ThingMultiActivatorService new device 2023-08-31 17:09:55.409885+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] [ThingRequest] request: domain = 18.158.94.86, url = https://18.158.94.86/api.json, api = smartlife.m.device.list.token, commonParams = { "bizDM" : "device_config_add", "lang" : "tr", "bizData" : "{\"miniappVersion\":\"{\\"MapKit\\":\\"3.0.7\\",\\"BizKit\\":\\"3.6.0\\",\\"BaseKit\\":\\"3.6.8\\",\\"container\\":\\"3.6.0\\",\\"MiniKit\\":\\"3.3.1\\",\\"DeviceKit\\":\\"3.7.10\\",\\"basicLib\\":\\"2.12.16\\"}\",\"customDomainSupport\":\"1\"}", "deviceId" : "7D9864F5-BB45-4635-9E1F-12B4390B33F4", "et" : "0.0.2", "osSystem" : "16.4", "bundleId" : "com.thingclips.test4864", "time" : "1693490995", "lon" : 0, "channel" : "sdk", "appVersion" : "1.0", "ttid" : "appstore_d", "ctId" : "", "os" : "IOS", "v" : "5.0", "sid" : "eu169217Y02188303SGyV3W399d3fb7fb6973ecf2284b4988f109026", "sign" : "0d8d40a7de9ffeffb6af30b485105d762ba00d050913b131a397909f6e354a90", "platform" : "Simulator", "requestId" : "82A42480-19EA-4E75-9F5D-611ED84EB157", "sdkVersion" : "4.3.0", "timeZoneId" : "Europe\/Istanbul", "lat" : 0, "clientId" : "fcrc7xf44rj9fym47xc3", "deviceCoreVersion" : "5.1.0", "a" : "smartlife.m.device.list.token", "appRnVersion" : "5.72", "cp" : "gzip" }, businessParams = { "token" : "ZfUNhgCH" } 2023-08-31 17:09:55.763420+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2205250] connect time : {"at":"345","ct":"0","tt":"0","rc":0,"mc":1,"dt":"0"} 2023-08-31 17:09:55.765368+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2205250] [ThingRequest] response: api = smartlife.m.device.list.token, data = { "result" : { "errorDevices" : [

],
"successDevices" : [
  {
    "ip" : "5.47.18.221",
    "isOnline" : true,
    "time" : 1693490934,
    "pv" : "2.2",
    "runtimeEnv" : "prod",
    "gwType" : "s",
    "icon" : "smart\/icon\/ay1503454220635O5UQz\/b8dcf8e3d85984ca0804f1cdc234114d.jpg",
    "lon" : "",
    "isActive" : true,
    "uuid" : "35004015483fda0aaf33",
    "cadVer" : "",
    "bv" : "5.57",
    "homeKit" : false,
    "productId" : "4uomwxat2whrx2ju",
    "activeTime" : 1693490934,
    "name" : "priz",
    "iconUrl" : "https:\/\/images.tuyaeu.com\/smart\/icon\/ay1503454220635O5UQz\/b8dcf8e3d85984ca0804f1cdc234114d.jpg",
    "id" : "35004015483fda0aaf33",
    "port" : 64018,
    "uid" : "eu16921702188303GyV3",
    "ability" : 0,
    "verSw" : "1.0.1",
    "lat" : "",
    "accessType" : 0,
    "localKey" : "9Vndo8N9~[&^F8ua"
  }
]

}, "success" : true, "status" : "ok", "t" : 1693490995831 } 2023-08-31 17:09:56.188209+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.188636+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.188937+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair tapCellByUniqueID]: 35004015483fda0aaf33, deviceData: ThingActivatorPairingDeviceData: [uniqueID]: 35004015483fda0aaf33 [context]: state: ThingActivatorPairingDeviceDefaultState processPercent: 0.000000 error: (null)

[activatorDevice]: <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 0, userInfo:(null)> [successDevice]: (null) 2023-08-31 17:09:56.190763+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.191005+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.191272+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair startPairingDevices begin]: ( "ThingActivatorPairingDeviceData: [uniqueID]: 35004015483fda0aaf33 \n[context]:\n state: ThingActivatorPairingDeviceDefaultState \nprocessPercent: 0.000000 \nerror: (null) \n \n[activatorDevice]:\n <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 0, userInfo:(null)> \n[successDevice]:\n (null) \n" ) 2023-08-31 17:09:56.195438+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.195741+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.195995+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[device start pair]: ThingActivatorPairingDeviceData: [uniqueID]: 35004015483fda0aaf33 [context]: state: ThingActivatorPairingDeviceDefaultState processPercent: 0.000000 error: (null)

[activatorDevice]: <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 0, userInfo:(null)> [successDevice]: (null) 2023-08-31 17:09:56.198220+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair stateChanged] indexpath:<NSIndexPath: 0xd034447a1ac8f742> {length = 2, path = 1 - 0}, uniqueID:35004015483fda0aaf33, state:<ThingActivatorPairingDevicePendingState: 0x60000066cb00> 2023-08-31 17:09:56.227142+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.227407+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] deviceTableViewCellDataAtIndexPath 0x600002059740 name:priz state:1 process:0.000000 2023-08-31 17:09:56.230300+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair device] pending, name: priz, uniqueID:35004015483fda0aaf33 2023-08-31 17:09:56.245629+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] state: { ThingKVONotificationKeyPathKey = state; kind = 1; new = "<ThingActivatorPairingDevicePendingState: 0x60000066cb00>"; old = "<ThingActivatorPairingDeviceDefaultState: 0x600000660d10>"; } 2023-08-31 17:09:56.245980+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[use case start pair device]: ---pendingList: ---processingList: 2023-08-31 17:09:56.246189+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.246548+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] [pairing] pending count 1 2023-08-31 17:09:56.246781+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] [pairing] original proccessing activator type: 0 2023-08-31 17:09:56.246861+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] [pairing] process proccessing activator type: 0 2023-08-31 17:09:56.246967+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.247082+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] [pairing] prepare pair device:<ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 0, userInfo:(null)> 2023-08-31 17:09:56.247343+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] [pairing] prepare pair device count:1 2023-08-31 17:09:56.247425+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] [pairing] prepare proccessing activator type: 32 2023-08-31 17:09:56.247950+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.248033+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.248149+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.248222+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] TYActivatorPairingNewUseCase pairingDevices ---pendingList: ---processingList: <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 0, userInfo:(null)> 2023-08-31 17:09:56.248688+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.248796+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐳🐳🐳 [EZSearch Service] start config devices : ( "<ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 0, userInfo:(null)>" ) 2023-08-31 17:09:56.249232+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.249294+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.249369+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ThingActivatorPairingNewUseCase searchActivator: <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 2, userInfo:(null)> error: (null) 2023-08-31 17:09:56.249912+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱pairingUseCaseSuccessedDevice save wifi ssid:redmi2 password:48640608 2023-08-31 17:09:56.252032+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.252163+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.252225+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.252402+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.252502+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair pairingDeviceSuccess device begin]: <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 2, userInfo:(null)> 2023-08-31 17:09:56.253076+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.253252+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair pairingDeviceSuccess device end]: <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 2, userInfo:(null)> 2023-08-31 17:09:56.253982+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ThingActivatorPairingPairEventTrack success { "bt_type" = 0; category = ""; linkmode = 1; pid = ""; } 2023-08-31 17:09:56.254142+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] begin removeDevice 2023-08-31 17:09:56.254214+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.254277+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.254340+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] end removeDevice 2023-08-31 17:09:56.254668+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.254729+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.254802+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.254886+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.254972+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.255051+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair pairingDeviceStart begin]: ThingActivatorPairingDeviceData: [uniqueID]: 35004015483fda0aaf33 [context]: state: ThingActivatorPairingDevicePendingState processPercent: 0.000000 error: (null)

[activatorDevice]: <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 2, userInfo:(null)> [successDevice]: (null) 2023-08-31 17:09:56.255294+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] setTimeoutInterval: 120.000000 2023-08-31 17:09:56.255441+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair stateChanged] indexpath:<NSIndexPath: 0xd034447a1ac8f742> {length = 2, path = 1 - 0}, uniqueID:35004015483fda0aaf33, state:<ThingActivatorPairingDeviceProcessingState: 0x600000ab8c00> 2023-08-31 17:09:56.259447+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.259543+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] deviceTableViewCellDataAtIndexPath 0x600002059740 name:priz state:2 process:0.000000 2023-08-31 17:09:56.261023+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair device] processing, name: priz, uniqueID:35004015483fda0aaf33 2023-08-31 17:09:56.263626+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] state: { ThingKVONotificationKeyPathKey = state; kind = 1; new = "<ThingActivatorPairingDeviceProcessingState: 0x600000ab8c00>"; old = "<ThingActivatorPairingDevicePendingState: 0x60000066cb00>"; } 2023-08-31 17:09:56.263726+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.263819+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.263951+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair pairingDeviceStart end ]: ThingActivatorPairingDeviceData: [uniqueID]: 35004015483fda0aaf33 [context]: state: ThingActivatorPairingDeviceProcessingState processPercent: 0.000000 error: (null)

[activatorDevice]: <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 2, userInfo:(null)> [successDevice]: (null) 2023-08-31 17:09:56.264153+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ThingActivatorPairingPairEventTrack start { "bt_type" = 0; category = ""; linkmode = 1; pid = ""; } 2023-08-31 17:09:56.264349+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ThingActivatorPairingNewUseCase start MQTT addDevice 2023-08-31 17:09:56.264958+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[use case finish pair device]: ---pendingList: ---processingList: 2023-08-31 17:09:56.265036+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.265114+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.265252+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair startPairingDevices end]: ( "ThingActivatorPairingDeviceData: [uniqueID]: 35004015483fda0aaf33 \n[context]:\n state: ThingActivatorPairingDeviceProcessingState \nprocessPercent: 0.000000 \nerror: (null) \n \n[activatorDevice]:\n <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 2, userInfo:(null)> \n[successDevice]:\n (null) \n" ) 2023-08-31 17:09:56.269094+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.269194+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.269276+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.269349+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.269425+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.269506+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] ID is invalid 2023-08-31 17:09:56.269606+0300 tuya-bizbundle-ios-sample-objc_Example[21098:2202866] 🐱🐱[Pair moveSuccessDevice begin]: ThingActivatorPairingDeviceData: [uniqueID]: 35004015483fda0aaf33 [context]: state: ThingActivatorPairingDeviceProcessingState processPercent: 0.000000 error: (null)

[activatorDevice]: <ThingSmartActivatorDeviceModel: 0x600003570f00, uniqueID: 35004015483fda0aaf33, devId:35004015483fda0aaf33, name: priz, deviceModelType: 1, activatorType: 32, deviceAbility: 0, deviceStatus: 2, userInfo:(null)> [successDevice]: (null) , indexPath: <NSIndexPath: 0xd034447a1ac8f742> {length = 2, path = 1 - 0} (lldb) `

gokselsina commented 1 year ago

Hi, is there any solution for the issue? @taojingGino

Proxy13 commented 1 year ago

Same.here.@taojingGino any solutions?

taojingGino commented 1 year ago

We did not reproduce this issue in the demo. Can you send your demo to the following email taojing@tuya.com

@gokselsina @Proxy13

gokselsina commented 1 year ago

Did you get my email from goksel.sina@hotmail.com @taojingGino

eyupturkaslan commented 1 year ago

I think I'm having a similar problem, how can we proceed?

tarikulker-js commented 1 year ago

i have been following the issue for a long time. when will we find a solution? @taojingGino

mustafaaygun commented 1 year ago

ActivatorBizbundle ile cihaz eşlerken uygulama çöküyor yaz

taojingGino commented 1 year ago

@gokselsina We get the demo you send to me, but we still not crash Can you provide all screen recordings and all logs of the app from startup to crash? thanks

and other guys, could you provide some information to help us investigate

gokselsina commented 1 year ago

Hi @taojingGino I recorded my experience Video : https://www.youtube.com/watch?v=yv2Cjk9eCpY&t=9s Logs : tuya_bizbundle_sdk_logs.txt

Proxy13 commented 1 year ago

@taojingGino same with attached video in previous comment .

Proxy13 commented 1 year ago

It seems library level problem or xcode and iOS version related

eyupturkaslan commented 1 year ago

My issue is the same as in the video, but with a difference that I'm trying to upgrade to version 16.4. I'm still getting the same error.

taojingGino commented 1 year ago

We have determined that this issue will crash in the simulator,perform normally in iOS devices, and will be resolved in the upcoming 5.2.0 version sdk

Proxy13 commented 1 year ago

thx for reply . we are trying real device(iPad 11 Pro M2) right now. We got all permissions (networking-multicast and App ID Configuration ) .But device did not sent airkiss (multicast ) .we are trying to fix it. Do you have any idea about this problem ? we could sent all cert. settings also pls dont forget to test iPadOS

Proxy13 commented 1 year ago

our cert https://developer.apple.com/contact/request/networking-multicast

Access Wi-Fi Information Custom Network Protocol DriverKit (development) DriverKit Allow Third Party UserClients DriverKit Family Networking (development) Extended Virtual Addressing HomeKit Hotspot Network Extensions

gokselsina commented 1 year ago

Based on the comment above, info.plist is attached. tuya-bizbundle-ios-sample-objc-Info.txt

Proxy13 commented 1 year ago

@taojingGino

taojingGino commented 12 months ago

This issue may be related to the compatibility of the router

You can try setting up a router, turn off 5GHz Wi Fi, only keep 2.4GHz Wi Fi, restart the router, restart the phone, and then try network distribution again

@Proxy13

Proxy13 commented 12 months ago

our cert https://developer.apple.com/contact/request/networking-multicast

Access Wi-Fi Information Custom Network Protocol DriverKit (development) DriverKit Allow Third Party UserClients DriverKit Family Networking (development) Extended Virtual Addressing HomeKit Hotspot Network Extensions

Could there be one missing?

@taojingGino

Proxy13 commented 12 months ago

@taojingGino also we can connect devices using tuya demo application in applestore same network and router

taojingGino commented 12 months ago

did you add

com.apple.developer.networking.multicast

in your xxx.entitlements @Proxy13

gokselsina commented 12 months ago

solved like this @taojingGino
We are waiting for the new version. Thank you for your support 🙏🏻

mustafaaygun commented 12 months ago

Ooh nice job @gokselsina.