nythepegasus / SideJITServer

A JIT enabler for iOS 17 with a Windows/macOS computer on the same WiFi!
GNU General Public License v3.0
247 stars 17 forks source link

pymobiledevice3/utils.py:55: DeprecationWarning: There is no current event loop #33

Closed boa-z closed 2 months ago

boa-z commented 2 months ago

I install the latest version through pypi on macOS, and stuck here

(SideJITServer) xxx@XX SideJITServer % SideJITServer     
INFO:     Started server process [80485]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:49151 (Press CTRL+C to quit)
/opt/miniconda3/envs/SideJITServer/lib/python3.12/site-packages/pymobiledevice3/utils.py:55: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()

iOS 17.4.1 macOS 14.4.1

takov751 commented 2 months ago

You have to first run pairing process SideJITServer -y before next run

boa-z commented 2 months ago

You have to first run pairing process SideJITServer -y before next run

I did it, then I run SideJITServer and meet the problem.

(SideJITServer) xxx@XX SideJITServer % SideJITServer -y
Attempting to pair to a device! (Ctrl+C to stop)
[<PlistUsbmuxLockdownClient ID:0xxx VERSION:17.4.1 TYPE:iPhone1x,x PAIRED:True>]
2024-05-02 22:38:56 HX.lan pymobiledevice3.lockdown[1430] INFO Creating host key & certificate
2024-05-02 22:38:56 HX.lan pymobiledevice3.lockdown[1430] INFO waiting user pairing dialog...
Continue? [y/N]: y
INFO:     Started server process [1448]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:49151 (Press CTRL+C to quit)
/opt/miniconda3/envs/SideJITServer/lib/python3.12/site-packages/pymobiledevice3/utils.py:55: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
stossy11 commented 2 months ago

do this: sudo SideJITServer as running it without sudo stops SideJITServer launching flask

boa-z commented 2 months ago

do this: sudo SideJITServer as running it without sudo stops SideJITServer launching flask

That works! Thanks~