使用xcode命令行从iphone下载应用程序的容器
我开发了一个iOS应用程序,这个应用程序保存了一些出现在应用程序容器中的日志。 我可以使用XCode-> Device-> Select App – > Download Container菜单选项下载此容器。 然后我可以在目录…. / AppData / Documents / mylog.log中看到我的日志文件
基本上流程描述在这里https://developer.apple.com/library/ios/recipes/xcode_help-devices_organizer/articles/manage_containers.html
但是我想自动执行此操作,是否可以通过命令行使用Xcode下载应用程序容器?
在github上有一个名为ios-deploy的项目。 https://github.com/phonegap/ios-deploy
//下载应用程序的文档,库和tmp文件夹
ios-deploy –bundle_id’bundle.id’–download – 到MyDestinationFolder//列出应用程序的Documents,Library和tmp文件夹的内容
ios-deploy –bundle_id’bundle.id’ – 列表//仅下载应用程序的Documents目录
ios-deploy –download = / Documents –bundle_id my.app.id –to ./my_download_location
此外,如果你有一个越狱手机,你可以最灵活地做任何与文件操作相关的事情。 例如,您可以使用’scp’,’rsyn’等工具复制文件;
- 为什么iOS SDK和iOS操作系统版本互相影响? 或者:什么是iOS SDK?
- APNS推进工作在前景,但不是背景
- Xcode Mass Multiplayer(不是你可能想的)
- UIViewController不会旋转到横向
- ASIHTTPRequestTester:asynchronous不起作用
- 从一个类调用Method并在另一个类中使用
- 将大多数逻辑和模型放在appDelegate中是否可以?
- Objective-C如何添加覆盖到video使用AVFoundation?
- Swift 2,使用Objective-C选择器’setOn:’的方法’setOn’与使用相同Objective-C选择器的’on’的setter冲突