BruceChenZebra
BruceChenZebra
> [@yufansong](https://github.com/yufansong) I cloned your brach local-service and followed your instructions, although I got these errors: > > Cost estimation failed: "Failed to get cost estimate." > > Source src/hooks/useDiagram.ts...
if I start an app and then close it, then I can start it more than 188 times without encountering this problem. 
我使用的是Markdown Exporter 版本:1.8.0
 { "md_text": "Below are the detailed test steps for the identified test scenarios for **ATSP-409**:\n\n---\n\n### Detailed Test Steps for ATSP-409\n\n| ID | Test Scenario Title | Priority | Detailed...
发现上次上面给的文本他把那个回车< b r > 都去掉了。我发个附件给你吧 [new 2.txt](https://github.com/user-attachments/files/21133947/new.2.txt)
是的,我也有同样的问题。就是当同一个电脑连接了多个iphone设备,有些iphone设备没有启动WDA就会遇到这个问题。 解释下为啥我们用户要有些iphone不启动WDA呢: 我们测试人员跑自动化case的时候,并不能让WDA一直打开,因为这样跑的case多了,后面就不稳定了。我们就每条case开头和结尾分别启动WDA和关闭WDA,这样每条case就跑的很稳定了。 解决方案就是: root cause: 就是usb_dev = wda.Client(url=wda.requests_usbmux.DEFAULT_SCHEME + udid) 中的udid要是对应的iphone没有启动WDA,就会拿不到usb_dev.info['uuid']的信息,尝试去拿就会报错。 所以我们应该: device_list = wda.usbmux.Usbmux().device_list() 这里获取了device_list 之后,不要循环for dev in device_list:, 这样usb_dev = wda.Client(url=wda.requests_usbmux.DEFAULT_SCHEME + udid)中的udid就没有对应上WDA的iphone,就不会有报错了