Sometimes you want to grab all the directory and files you wrote into your app's document directory for testing/debugging. When running on the simulator, you can print the document directory and access it directly. How's how you can do it on an actual device:
- Plug in your iOS device via USB
- In Xcode, choose
Window
>Devices
- Click on your iOS device under
DEVICES
- Under
Installed Apps
, click on your app - Click the gear button
- Click
Download Container
This will download the entire sandbox container, including temp files.
Happy debugging!
Your feedback is valuable: Do you want more nuggets like this? Yes or No
.
.