iOSRealRun / iOSRealRun-cli-17

(iOS 17+) 基于虚拟定位的 iOS 免越狱模拟跑步打卡,跨平台支持,在线拾取路径,可设置跑步速度,随机速度与路线
Mozilla Public License 2.0
159 stars 32 forks source link

总结一下常见问题 #76

Open KEVIN-G386 opened 1 week ago

KEVIN-G386 commented 1 week ago

由于作者的号好像被封了,提PR没有用了,恰好我最近身边几位朋友在使用该项目时出现了一些相似问题,故开这个issue总结一下常见的问题,希望对大家有帮助,也希望大佬补充。 大部分内容其实issue里找找也是有的。

  1. 手动指定 qh3 版本 最常见的问题,建议clone完项目就运行
    pip install qh3==0.15.1
  2. NoDeviceConnectedError 也是一个很常见的错误,原因比较多。建议使用原装数据线,同时将itunes 更新到最新版本,并确保串口畅通。
  3. python 版本 py3.13 常常会有奇怪的依赖报错,根据身边案例 py 3.9 - 3.12 均能正常使用,同时建议使用虚拟环境
  4. 运行 main.py 后在某处卡死,无报错 我也不知道为什么,但是确实在某同学的设备上偶尔发生,重启即可。 ~建议启动前先祈祷~
  5. connection timed out 大概率是线的问题,原装线总是会突然断联。
djgao234 commented 6 days ago

multiprocessing 报错该如何解决 iOS 17.6Beta1

djgao234 commented 5 days ago

Your system version is 17.6 2024-11-18 23:52:26 DESKTOP-PB10ASM main[2612] INFO init done 2024-11-18 23:52:26 DESKTOP-PB10ASM main[2612] INFO starting tunnel Process Process-1: Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\process.py", line 314, in _bootstrap self.run() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\Users\Administrator\Downloads\iOSRealRun-cli-17-main\iOSRealRun-cli-17-main\init\tunnel.py", line 7, in tunnel_proc server_rsd = connect.get_serverrsd() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\Downloads\iOSRealRun-cli-17-main\iOSRealRun-cli-17-main\driver\connect.py", line 49, in get_serverrsd return select_device(None) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\cli\remote.py", line 159, in select_device raise NoDeviceConnectedError() pymobiledevice3.exceptions.NoDeviceConnectedError

jiwei667 commented 4 days ago

Your system version is 17.3.1 2024-11-23 19:55:42 机尾 main[26276] INFO init done 2024-11-23 19:55:42 机尾 main[26276] INFO starting tunnel 2024-11-23 19:57:22 机尾 main[26276] INFO tunnel started 2024-11-23 19:57:22 机尾 main[26276] INFO got route from HNroute.txt 2024-11-23 19:57:22 机尾 main[26276] INFO tunnel process terminated Bye Traceback (most recent call last): File "C:\Users\86153\Desktop\iOSRealRun-cli-17-main\main.py", line 93, in main() File "C:\Users\86153\Desktop\iOSRealRun-cli-17-main\main.py", line 63, in main with RemoteServiceDiscoveryService((address, port)) as rsd: File "C:\Users\86153\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remote_service_discovery.py", line 120, in enter self.connect() File "C:\Users\86153\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remote_service_discovery.py", line 50, in connect self.service.connect() File "C:\Users\86153\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymobiledevice3\remote\remotexpc.py", line 50, in connect self.sock = create_connection(self.address) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\86153\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 865, in create_connection raise exceptions[0] File "C:\Users\86153\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 850, in create_connection sock.connect(sa) OSError: [WinError 10065] 套接字操作尝试一个无法连接的主机。 这是咋回事