tidevice.exceptions.MuxServiceError: Could not start service: com.apple.testmanagerd.lockdown.secure

错误是在进行利用pycharm IDE和airtest框架进行苹果手机自动化测试遇到的

错误具体如下

[I 210715 10:32:34 _device:572] ProductVersion: 14.6
[I 210715 10:32:34 _device:551] Download https://tool.appetizer.io/iGhibli/iOS-DeviceSupport/raw/master/DeviceSupport/14.6.zip -> C:\Users\Xpeng\.tidevice\device-support\14.6.zip
Traceback (most recent call last):
  File "D:\softwareinstall\Anoconda\envs\artest\lib\site-packages\tidevice\_device.py", line 454, in start_service
    return self._unsafe_start_service(name)
  File "D:\softwareinstall\Anoconda\envs\artest\lib\site-packages\tidevice\_device.py", line 471, in _unsafe_start_service
    "Remember that you have to mount the Developer disk image on your device"
tidevice.exceptions.MuxServiceError: Could not start service: com.apple.testmanagerd.lockdown.secure! Remember that you have to mount the Developer disk image on your device

意思就是说在设备上没有装载开发人员磁盘映像,于是找到了这个帖子

https://testerhome.com/topics/27758

找到原帖

https://github.com/alibaba/taobao-iphone-device

运行tidevice developer,保错

 raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://github.com/iGhibli/iOS-DeviceSupport/raw/master/DeviceSupport/14.6.zip

外网,然后找到了devicesupport下载的位置(GitHub)

https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport

发现列表中确实没有14.6版本的developer下载,14.6是和苹果手机iOS版本对应的

于是找到了另一个博主:

https://blog.csdn.net/u013306324/article/details/101756841

下载下来后,在苹果系统重新build wda(重新利用xcode在手机上进行wda安装后,成功)

[I 210715 11:22:11 _device:998] DeviceIdentifier: 00008030-0002204634E0802E
[I 210715 11:22:12 _device:840] SignIdentity: 'Apple Development: qianxingyu95@icloud.com (3F84JU47BT)'
[I 210715 11:22:12 _device:846] CFBundleExecutable: WebDriverAgentRunner-Runner
[I 210715 11:22:12 _device:877] AppContainer: /private/var/mobile/Containers/Data/Application/123DD0EE-6668-4DEC-94F9-26CAC390DD13
[I 210715 11:22:13 _device:917] Launch 'com.xiaopeng.wda1.xctrunner' pid: 1544
[I 210715 11:22:13 _device:1092] ProductVersion: 14.6
[I 210715 11:22:13 _device:1047] Test runner ready detected
[I 210715 11:22:13 _device:1040] Start execute test plan with IDE version: 29
[I 210715 11:22:13 _device:953] WebDriverAgent start successfully
 

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

有情怀的机械男

你的鼓励将是我最大的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值