Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
当设备装有字节的fastboot时,获取wda bundleID不正确,原因是bundleID的判断有问题。
将bundleID判断同tidevice一致后,获取结果正确
另一种建议
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