taobao-iphone-device iOS 15.7 tidevice截图和结束应用都报错“tidevice.exceptions.MuxError: ImageMountFailed”

pexxcrt2  于 3个月前  发布在  iOS
关注(0)|答案(1)|浏览(88)

(base) PS C:\Users\xxxx\Desktop> $picpath="ios_"+(Get-Date).ToString('yyyy-MM-dd-HH-mm-ss_fff')+".png";tidevice screenshot ${picpath}
截图已保存到ios_2022-10-12-16-29-42_020.png
[I 221012 16:29:44 _device:602] ProductVersion: 15.7
[I 221012 16:29:44 imagemounter:157] Pushing DeveloperDiskImage.dmg
[I 221012 16:29:44 _imagemounter:170] Push complete
Traceback (most recent call last):
File "D:\CodeIDE\Anaconda3\lib\site-packages\tidevice_device.py", line 484, in start_service
return self.unsafe_start_service(name)
File "D:\CodeIDE\Anaconda3\lib\site-packages\tidevice_device.py", line 503, in unsafe_start_service
raise MuxServiceError(error)
tidevice.exceptions.MuxServiceError: InvalidService
在处理上述异常的过程中,发生了另一个异常:
Traceback (most recent call last):
File "D:\CodeIDE\Anaconda3\lib\runpy.py", line 197, in *run_module_as_main
return *run_code(code, main_globals, None,
File "D:\CodeIDE\Anaconda3\lib\runpy.py", line 87, in *run_code
exec(code, run_globals)
File "D:\CodeIDE\Anaconda3\Scripts\tidevice.exe
main*.py", line 7, in
File "D:\CodeIDE\Anaconda3\lib\site-packages\tidevice
main*.py", line 951, in main
actions args.subparser
File "D:\CodeIDE\Anaconda3\lib\site-packages\tidevice
main*.py", line 278, in cmd_screenshot
d.screenshot().convert("RGB").save(filename)
File "D:\CodeIDE\Anaconda3\lib\site-packages\tidevice_device.py", line 528, in screenshot
return next(self.iter_screenshot())
File "D:\CodeIDE\Anaconda3\lib\site-packages\tidevice_device.py", line 533, in iter_screenshot
conn = self.start_service(LockdownService.MobileScreenshotr)
File "D:\CodeIDE\Anaconda3\lib\site-packages\tidevice_device.py", line 486, in start_service
self.mount_developer_image()
File "D:\CodeIDE\Anaconda3\lib\site-packages\tidevice_device.py", line 663, in mount_developer_image
self.imagemounter.mount(image_path, signature_path)
File "D:\CodeIDE\Anaconda3\lib、site-packages、tidevice_imagemounter.py", line 139, in mount
return self.mount_fileobj(image_reader, image_size, signature_content)
File "D:\CodeIDE\Anaconda3、lib、site-packages、tidevice_imagemounter.py", line 182, in mount_fileobj
self._check_error(ret)
File "D:\CodeIDE、Anaconda3、lib、site-packages、tidevice_imagemounter.py", line 123, in _check_error
raise MuxError(ret['Error'])
tidevice.exceptions.MuxError: ImageMountFailed

8iwquhpp

8iwquhpp1#

15.7应该是由于增加了苹果的开发者模式导致的。
tidevice 0.10.0 增加了对iOS16自动开启开发者模式的支持,而15.7尚未进行兼容处理。

相关问题