[英]How can I push files to a non-jailbroken iPad/iPhone from the OSX terminal?
Edit: Assume the device is not jailbroken 编辑:假设设备没有越狱
Here's what I've done so far: I have looked at libimobiledevice and ifuse. 到目前为止,这是我所做的:我已经研究过libimobiledevice和ifuse。 From what I could tell, they were basically developed for Linux, but they are supposed to work on OSX.
据我所知,它们基本上是为Linux开发的,但是应该可以在OSX上使用。 I was able to compile them for OSX by using Homebrew, but I have not been able to figure out how to actually use ifuse as it takes a mount path, and OSX doesn't seem to expose the device's mount path.
我可以使用Homebrew来为OSX编译它们,但是由于它需要一个装载路径,因此我无法弄清楚如何实际使用ifuse,并且OSX似乎没有公开设备的装载路径。
Has anyone actually been able to access the Documents directory on the iPad/iPhone via the OSX terminal window? 真的有人可以通过OSX终端窗口访问iPad / iPhone上的Documents目录吗? How did you do it?
你是怎么做到的?
The mount point is the path on your Mac where you want to mount the app's Documents folder. 挂载点是Mac上您要挂载应用程序的Documents文件夹的路径。 For example, with ifuse 1.1.3 , to mount the Documents folder of an app as a folder called
MyApp
on your desktop: 例如,使用ifuse 1.1.3 ,将应用程序的Documents文件夹挂载为桌面上名为
MyApp
的文件夹:
ifuse --documents <BundleID> ~/Desktop/MyApp
Make sure ~/Desktop/MyApp
exists before trying to mount the device. 在尝试安装设备之前,请确保
~/Desktop/MyApp
存在。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.