如何使用 MobileDevice 框架将文件写入我的应用程序的 Documents 目录?

2023-12-19

因此,我需要以编程方式将文件写入 iPhone 上的应用程序文档目录。由于许可证限制,我无法使用 libimobiledevice。 iphonedisk 不再维护,据我所知,无论如何您实际上都无法访问应用程序数据。

所以我想我需要直接使用MobileDevice框架。

http://theiphonewiki.com/wiki/index.php?title=MobileDevice_Library http://theiphonewiki.com/wiki/index.php?title=MobileDevice_Library

有人知道怎么做这个吗?


您可以通过使用fruitstrap来做到这一点:https://github.com/phildrip/fruitstrap https://github.com/phildrip/fruitstrap



fruitstrap upload [--id=device_id] --bundle-id= --file=filename [--target=filename]
  
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何使用 MobileDevice 框架将文件写入我的应用程序的 Documents 目录? 的相关文章