tidevice 版本:0.4.14
python 版本:3.8.6
手机型号:iPhone 6S
iOS 版本:10.3.2
报错信息:
Exception in thread perf:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_perf.py", line 247, in append_data
for _type, data in idata:
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_perf.py", line 210, in iter_cpu_memory
for minfo in _iter_complex_cpu_memory(d, rp): # d.iter_cpu_mem(bundle_id):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_perf.py", line 140, in _iter_complex_cpu_memory
for info in d.instruments.iter_cpu_memory():
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_instruments.py", line 892, in iter_cpu_memory
self.call_message(channel_id, "start", [])
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_instruments.py", line 360, in call_message
return self.wait_reply(_id).result
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_instruments.py", line 548, in wait_reply
ret = self._reply_queues[message_id].get(timeout=timeout)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/queue.py", line 178, in get
raise Empty
_queue.Empty
PS:在 IOS12,14 的手机上都可以正常收集到流量、cpu、内存数据,在 iOS10 上收集不到 cpu、内存,只有流量。报上述的异常。