Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复WDA bundleID获取异常,同tidevice一致 #1171

Closed
wants to merge 1 commit into from

Conversation

e790a8
Copy link
Contributor

@e790a8 e790a8 commented Nov 9, 2023

当设备装有字节的fastboot时,获取wda bundleID不正确,原因是bundleID的判断有问题。
image

将bundleID判断同tidevice一致后,获取结果正确
image

另一种建议
https://github.com/AirtestProject/Airtest/blob/master/airtest/core/ios/ios.py#L322C27-L322C27
如果wda_bundle_id没有其他用途的话,可以直接透传,由tidevice决定需要启动的wda。

tidevice相关
https://github.com/alibaba/taobao-iphone-device/blob/main/tidevice/_device.py#L964
tidevice识别wda的bundleID标识为com.*.xctrunner

@yimelia
Copy link
Member

yimelia commented Nov 22, 2023

非常感谢你的PR,将在1.3.2版本中放出

@yimelia yimelia closed this Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants