(iphone) access device's documents directory from mac?

前端 未结 8 983
心在旅途
心在旅途 2020-12-01 09:02

I\'m trying to access the documents directory at iphone device to see a log file that I saved while executing the app.

I know this can be done for simulator. (you

8条回答
  •  栀梦
    栀梦 (楼主)
    2020-12-01 09:23

    With MacOS Catalina, Apple has made it very easy for reading the files written from the Documents directory.

    Here are the steps:

    1. Once the device is connected to the Mac, it should be listed under the 'Locations' section in Finder as follows:

    1. Select the device. From the tab bar below the device details select 'Files'. You will be able to see a list of apps that stored files to the Documents directory. Expanding each app will show the files with its document directory.

    You can drag and drop these files to any location in the Mac for further use

提交回复
热议问题