Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode command line upload/download files to/from an iOS Device Application Sandbox

does someone of you know, how I can mange the file transfer of my App data like the Organizer from the command line? I tried to find a way with xcrun or Instruments, but currently without success.

My goal is to run acceptance tests on the device by jenkins. Currently I'm able to upload a new version of my app and start it by Instruments. But a way for reseting the client data or push modified data to test them is missing.

Thanks, Thomas

like image 728
ThWee Avatar asked Mar 04 '13 16:03

ThWee


1 Answers

In the info.plist you can add the key: Application supports iTunes file sharing and set it to YES. Then you be able to manage your app data using the iTunes. Open iTunes, go to your device and open the application tab.

Down in this page go to file sharing section and there you have your app Documents folder to pass all you data.

I hope this result useful.

like image 98
FedeH Avatar answered Sep 21 '22 13:09

FedeH