如何使用MobileDevice框架编写一个文件到我的应用程序的Documents目录? [英] How to use MobileDevice framework to write a file to my Application's Documents directory?
问题描述
所以,我需要以编程方式写在我的iPhone的文件到我的应用程序的文件目录。我不能使用libimobiledevice许可证的限制。 iphonedisk不再维护,据我收集你不能真正反正访问应用程序的数据。
So I need to programmatically write a file to my Application's Documents directory on my iPhone. I can't use libimobiledevice for license restrictions. iphonedisk is no longer maintained and as far as I gather you can't actually access the Application data anyway.
所以,我想我需要直接使用使用mobileDevice框架。
So I think I need to use the MobileDevice framework directly.
http://theiphonewiki.com/wiki/index.php?title=MobileDevice_Library
是否有人知道如何做到这一点?
Does anybody know how to do this?
推荐答案
您可以通过使用fruitstrap做到这一点//github.com/phildrip/fruitstrap
You can do this by using fruitstrap : https://github.com/phildrip/fruitstrap
fruitstrap upload [--id=device_id] --bundle-id= --file=filename [--target=filename]
这篇关于如何使用MobileDevice框架编写一个文件到我的应用程序的Documents目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!