I save files to the Documents directory and wanted to look at the files themselves on the actual device. I know how to do this in the simulator by going to the iPhone Simulator directory->App->Documents->files. But is there a way to do this on the device? I can't seem to figure it out. In iTunes, I don't see my app since it's an app in testing. And if I plug it into a Windows machine, I only see pictures and movies stored on the device, not anything specific to my app which makes sense. Just didn't know if there was a way to get files off of the device. Thanks!
In XCode 6.1.1 (probably since 6, but 6.1.1 is what I have now), if you want files saved to the device's documents directory, you do...
Window
-> Devices
Installed Apps
section, select your app. Download Container
(that's the app's container)
From there, you can look in the Documents directory, Library, tmp, etc., which are all in the higher-level folder, AppData
.
您可以通过Xcode的管理器窗口或通过在Info.plist
文件中启用iTunes File Sharing并转到iTunes中设备上的“应用程序”选项卡来完成此操作。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.