SonicCloudOrg / sonic-agent

🎉Agent of Sonic cloud real machine platform. Sonic云真机平台Agent端。
https://soniccloudorg.github.io/
GNU Affero General Public License v3.0
2.1k stars 484 forks source link

[Bug] 是否有计划针对 iOS17 设备修改 wda 的启动和调用逻辑? #437

Closed wangier closed 1 month ago

wangier commented 5 months ago

Search before asking

Sonic version

iOS17 不再支持xcrunner 独立启动了,需要通过 xcodebuild 从代码启动,或者通过 xcrun 启动已安装的 xctest runner。 有计划针对 iOS17 进行修改吗?

Deploy platform

macOS 14.4.1

Minimal reproduce step

连接 iOS17 设备

Are you willing to submit a PR?

ropon commented 3 months ago

同问,什么时候能支持iOS7呢

wangier commented 3 months ago

同问,什么时候能支持iOS7呢

我把这个问题解决了,但是没权限提交上去

ropon commented 3 months ago

如何解决的呢

wangier commented 3 months ago

如何解决的呢

iOS17不能直接通过现在版本的sib运行xcrunner,必须通过执行 xcrun devicectl device process launch 的方式启动xcrunner

sam80180 commented 2 months ago

I have managed to do it on Linux with the help of other great tools. Here are my steps:

  1. Run go-ncm in background. https://github.com/danielpaulus/go-ios/tree/main/ncm

  2. Run go-ios tunnel start in background. https://github.com/danielpaulus/go-ios

  3. Connect your device(s), wait until you see go-ios says tunnel(s) are established.

  4. Mount personalized image using t3 -u xxxxxx exec mounter auto-mount. https://github.com/codeskyblue/tidevice3 https://github.com/doronz88/pymobiledevice3

  5. Start WDA using go-ios --udid xxxxxx runwda.

ZhouYixun commented 1 month ago

目前v2.7.1已支持iOS17及以上,仅MacOS