Pregunta

I was automating one test case where I need to push some images and videos to iOS device. Similar to "adb push" on android. Is there any command line option available to do this. On iOS simulator , I think adding files to "media" folder is enough. Any idea how to achieve this for real device.

¿Fue útil?

Solución

The general way to do command-line device access is with libimobiledevice: http://www.libimobiledevice.org

In your case, I think you want its patched version of iFuse to mount the app's sandbox into your filesystem.

These are the best docs I could find:

http://cgit.sukimashita.com/ifuse.git/tree/README

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top