日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

發布時間:2023/12/10 编程问答 55 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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
?

總結

以上是生活随笔為你收集整理的tidevice.exceptions.MuxServiceError: Could not start service: com.apple.testmanagerd.lockdown.secure的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。