Comments (4)
Try to restart the device, and then execute the command will re-push DeveloperImage
from py-ios-device.
hello, same thing after restarting the phone...here's the exception occuring after the previous error message :
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Python39\Scripts\pyidevice.exe_main.py", line 7, in
File "C:\Python39\lib\site-packages\ios_device\main.py", line 15, in cli
cli_commands()
File "C:\Python39\lib\site-packages\click\core.py", line 1128, in call
return self.main(*args, **kwargs)
File "C:\Python39\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "C:\Python39\lib\site-packages\click\core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Python39\lib\site-packages\click\core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Python39\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Python39\lib\site-packages\click\core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "C:\Python39\lib\site-packages\ios_device\cli\instruments.py", line 267, in cmd_monitor
rpc.sysmontap(on_callback_message)
File "C:\Python39\lib\site-packages\ios_device\cli\base.py", line 251, in sysmontap
self.system_attributes = self.system_attributes or list(self.device_info.sysmonSystemAttributes())
File "C:\Python39\lib\site-packages\ios_device\cli\base.py", line 190, in device_info
rpc = self.instruments
File "C:\Python39\lib\site-packages\ios_device\cli\base.py", line 178, in instruments
self.instruments_rcp = InstrumentServer(lockdown=self.lock_down).init()
File "C:\Python39\lib\site-packages\ios_device\servers\Instrument.py", line 32, in init
raise E
File "C:\Python39\lib\site-packages\ios_device\servers\Instrument.py", line 26, in init
self._cli = self.lockdown.start_service("com.apple.instruments.remoteserver.DVTSecureSocketProxy")
File "C:\Python39\lib\site-packages\ios_device\util\lockdown.py", line 344, in start_service
self.mount_developer_image()
File "C:\Python39\lib\site-packages\ios_device\util\lockdown.py", line 334, in mount_developer_image
with self._request_developer_image_dir() as _dir: # , signature_path:
File "C:\Python39\lib\contextlib.py", line 117, in enter
return next(self.gen)
File "C:\Python39\lib\site-packages\ios_device\util\lockdown.py", line 318, in _request_developer_image_dir
zf = zipfile.ZipFile(image_zip_path)
File "C:\Python39\lib\zipfile.py", line 1257, in init
self._RealGetContents()g
File "C:\Python39\lib\zipfile.py", line 1324, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
from py-ios-device.
Download the same version of DeviceSupport and put it in %USERPROFILE%/.py_ios_device/device-support
link:https://github.com/JinjunHan/iOSDeviceSupport/tree/master/DeviceSupport/
from py-ios-device.
thanks a lot, it works! the zip file was 32ko only instead of 11MB for the good one....
great job!
from py-ios-device.
Related Issues (20)
- start_get_fps 您好我问一下,为什么我在 iPhone12 系统iOS14.5.1 拿到的FPS和游戏内出入比较大
- Cannot launch app on ios 16 HOT 5
- Get issue when execute command pyidevice crash list --udid HOT 1
- iOS17的屏幕帧数获取在windows上存在延迟。 HOT 3
- iOS 17 Device Not Supporting HOT 3
- requests.exceptions.HTTPError: 404 Client Error: Not Found for url HOT 1
- 通过perfdog 与 tidevice 获取到的游戏应用CPU使用都是10%左右,而通过instruments appmonitor 获取到的cpuUsge 60%
- 截图问题: windows 上的截图太慢 长达10s 请问怎么解决 HOT 2
- ios 17.4.1 无法获取性能数据 ,另一个低版本的ios 17.2.1 一切正常
- ios17 截图不太稳定 经常提示报错 HOT 5
- socket 连接好像不稳定
- SimulateLocation: InvalidServiceError: No such service: com.apple.dt.simulatelocation HOT 2
- support screencap on ios>17 HOT 2
- fps may not work when time> 600s HOT 2
- 通过`pyidevice instruments monitor --filter=memory`命令拿到的内存信息不准确 HOT 4
- 【忽略,引用路径问题,已解决】:运行instrument_demo里面的文件,想进一步修改源码,比如util/usbmux.py相关的日志或者打印信息,都无法生效,是运行姿势不对么 HOT 1
- The CLI fails to start when Python 3.12 is used HOT 2
- The help output seems to be corrupted HOT 1
- 在Linux环境下执行pyidevice instruments stackshot --out 123.log报错,win环境下OK HOT 1
- app_lifecycle无数据输出 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-ios-device.