AirtestProject / AirtestProject/AirtestIDE

连接iOS点击connect时报错

Open
#1,036 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
236
Forks
40
PR merge metrics
No merged PRs in 30d

Description

:bulb:**相关项目:** AirtestIDE

**标题:** [BUG提交]连接iOS点击connect时报错

**AirtestIDE版本:** 1.2.13

**未使用本地Pyhton环境运行脚本**

**报错描述:**
    点击connect提示
self.instruct_helper = InstructHelper(info['uuid'])
TypeError: string indices must be integers

**相关截图:**
![](https://hfc20-issue-helper.s3.nie.netease.com/media/2022/01/09/219/image.png)

**报错Log:**
```
[19:11:26][DEBUG] /Applications/AirtestIDE.app/Contents/MacOS/airtest/core/android/static/adb/mac/adb devices
[19:11:28][ERROR] Traceback (most recent call last):
File "app/plugins/devicepool/abstract/device.py", line 82, in run
File "app/plugins/devicepool/ios/device.py", line 79, in connect
File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 105, in __init__
self.instruct_helper = InstructHelper(info['uuid'])
TypeError: string indices must be integers

```

**连接设备信息:**
设备类型 | 设备型号 | 系统版本号 | apk名称/下载链接 | 使用的wda版本 | wda更新到最新
------------ | ------------- | ------------- | ------------- | ------------- | -------------
iOS | iphone xs max | 14.8.1 | | Appium/WebDriverAgent | 否

**提供最小可复现此BUG的代码:**
```

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.