can't find /var/mobile/applications directory for ios documents

前端 未结 8 2050
我寻月下人不归
我寻月下人不归 2021-02-04 02:28

I\'m trying to run a release build on my iPad device connected to xcode for debugging. I\'m not certain but guessing that when I do this the documents directory ends up somewher

8条回答
  •  离开以前
    2021-02-04 02:58

    (Original poster here) A few things I got wrong:

    1. Running it on the device whether with the debugger or not always puts the file on the device, not on the local drive. This /var/mobile directory must be essentially some location on the device itself that can't normally be accessed browsing from the mac.
    2. I needed to refresh the view in Organizer to see the files being placed there. I did so by detaching the iPad and then reattaching it (the usb), and the files would refresh.

    Instead of removing the question, I'll leave this here for others and myself for the tip in viewing/refreshing files in organizer and the clarification of where the files are being placed when run on the device.

提交回复
热议问题