I have developed an iOS app, this app saves some of the log, that appears in the applications container. I can download this container using Xcode > Device > Select App > Download Container menu option.
Then I can see my log file in directory ..../AppData/Documents/mylog.log
Basically process describe here https://developer.apple.com/library/ios/recipes/xcode_help-devices_organizer/articles/manage_containers.html
However I want to automate this, is there way to download an applications container using Xcode via command line?
Log in with your Apple ID (your account for iTunes) and enter in your name, recipient's name, and recipient's email. You'll get a chance to review the app gift before buying it. Once you do, your account will be charged, the app will be sent to your gift recipient, and you'll get a receipt.
There is a project called ios-deploy on github. https://github.com/phonegap/ios-deploy
// Download your app's Documents, Library and tmp folders
ios-deploy --bundle_id 'bundle.id' --download --to MyDestinationFolder// List the contents of your app's Documents, Library and tmp folders
ios-deploy --bundle_id 'bundle.id' --list// Download the Documents directory of the app only
ios-deploy --download=/Documents --bundle_id my.app.id --to ./my_download_location
Also, if you have a jailbreaked phone, you would have the most flexibility of do anything relative to file operations. For example you could copy files using tools like 'scp', 'rsyn';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With