Download container for an app from iPhone using Xcode command line

后端 未结 1 413
醉话见心
醉话见心 2021-02-04 10:00

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 > Downlo

1条回答
  •  心在旅途
    2021-02-04 10:39

    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';

    0 讨论(0)
提交回复
热议问题