Push images/videos to real iOS device
سؤال
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.
المحلول
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:
لا تنتمي إلى StackOverflow