以编程方式从 PC / Mac 读取 iPhone 文件
当使用 USB 电缆连接 iPhone 时,iPhone Explorer 等应用程序可以显示 Mac OS X(甚至在未越狱的设备上)上安装的每个 iPhone 应用程序的内容。我正在尝试做类似的事情,以编程方式从我的 iPhone 应用程序文件夹中复制一些文件。
我已经对使用 iTunes 框架构建的开源框架/产品进行了一些实验,例如 iPhoneBrowser 和 MobileDevice Library。我可以连接到iPhone,现在的问题是如何枚举Apps文件夹项目? iPhoneBrowser 或 MobileDevice Library 不支持或提供任何简单的方法。即使将我的应用程序路径硬编码到 iPhoneBrowser,它仍然拒绝显示该文件夹。 iPhone Explorer 可以在同一台设备上毫无问题地读取该文件夹,所以这绝对是可能的。
第二个问题是获取应用程序的路径,在每个设备上,它们都有不同的路径和一些哈希号文件夹名称。如何“解密”路径以便我可以在每台设备上访问我的应用程序文件夹?
Applications like iPhone Explorer can show the contents for each installed iPhone application on Mac OS X (even on non-jailbroken devices) when iPhone is connected using USB-cable. I'm trying to do something similar, programmatically copy some files from my iPhone app's folder.
I have done some experiments with open-source frameworks/products built to use iTunes-framework, like iPhoneBrowser and MobileDevice Library. I can connect to iPhone, now the problem is how to enumerate Apps folder items? iPhoneBrowser or MobileDevice Library don't support or provide any easy way for that. Even when hardcoding my application path to iPhoneBrowser it still refuses to display the folder. iPhone Explorer can read the folder without any trouble on the very same device, so it is definitely possible.
Second problem is getting path to apps, on each device they have different path with some hash number folder names. How to 'decrypt' the paths so that I can access my app folder on every device?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
该应用程序枚举使用其他协议,您可能会在这个 https://github.com/phildrip/fruitstrap
the app enumerate use another protocol, you may find some in this https://github.com/phildrip/fruitstrap
我编写了一个在 Windows 上运行的开源程序,这里是 github 项目 url:
https://github.com/Moligaloo /iPhoneFS
它可以访问越狱的 iPhone/iPod/iPad 上的文件(非越狱设备文件的访问受到限制)。
它还可以枚举 iDevice 上的应用程序。
I wrote a open source program that works on Windows, here is the github project url:
https://github.com/Moligaloo/iPhoneFS
It can access files on jailbroken iPhone/iPod/iPad (non-jailbroken devices files are limited accessible).
It can also enumerate apps on iDevice.