tidevice.exceptions.MuxServiceError: Could not start service: com.apple.testmanagerd.lockdown.secure
錯(cuò)誤是在進(jìn)行利用pycharm IDE和airtest框架進(jìn)行蘋果手機(jī)自動(dòng)化測(cè)試遇到的
錯(cuò)誤具體如下
[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
意思就是說在設(shè)備上沒有裝載開發(fā)人員磁盤映像,于是找到了這個(gè)帖子
https://testerhome.com/topics/27758
找到原帖
https://github.com/alibaba/taobao-iphone-device
運(yùn)行tidevice developer,保錯(cuò)
?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
外網(wǎng),然后找到了devicesupport下載的位置(GitHub)
https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport
發(fā)現(xiàn)列表中確實(shí)沒有14.6版本的developer下載,14.6是和蘋果手機(jī)iOS版本對(duì)應(yīng)的
于是找到了另一個(gè)博主:
https://blog.csdn.net/u013306324/article/details/101756841
下載下來后,在蘋果系統(tǒng)重新build wda(重新利用xcode在手機(jī)上進(jìn)行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
?
總結(jié)
以上是生活随笔為你收集整理的tidevice.exceptions.MuxServiceError: Could not start service: com.apple.testmanagerd.lockdown.secure的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: js获取当前时间格式YYYY/MM/DD
- 下一篇: 拉普拉斯逆变换matlab,利用MATL