YueChen-C / py-ios-device

IOS Professional Performance Testing Tool . You can get CPU, GPU, Memory , Lifecycle and other metrics from real iOS devices . iOS 性能测试工具
GNU General Public License v3.0
667 stars 183 forks source link

iOS17设备支持问题 #124

Closed Nnnnut closed 7 months ago

Nnnnut commented 12 months ago

大佬求助一下,关于刚更新的 iOS17。 iOS17 对应的 Xcode15 Beta 里没有给出 DeviceSupport 包,现在有办法采集 iOS17 设备的数据吗?

YueChen-C commented 12 months ago

没有现在都没有很好的办法,不过可以参考这个库的实现 https://github.com/doronz88/pymobiledevice3

Nnnnut commented 11 months ago

感谢大佬指了一条路,看了一下pymobiledevice3那边目前在mac上应该是有戏的,想要尝试实现一下,但不得不说咱们两边的库都复杂得很 想请教一下,目前py-ios-device在ios17上得考虑重新实现的是哪些个模块呢?

ZhyliaievD commented 10 months ago

Hello Could you please elaborate more on how should pymobiledevice3 help with iOS 17+ and what actually should be done?

From what I see now, apple no longer provides per-version support files, resulting in py-ios-device attempts to download 17.0.zip files from different souces(with no luck as such files do not exist)

I've tried to simply copy 16.4 files to 17.0 folder, but such a silly option obviously didn't work (due to "ios_device.util.exceptions.StartServiceError: Unable to start service='com.apple.instruments.remoteserver.DVTSecureSocketProxy' - InvalidService" error)

It looks like we need a way to reuse CoreDevice files and use it in py-ios-device?

PS: I'm using Xcode 15.0.1

YueChen-C commented 7 months ago

Completed support