The way to view doc listing contents for the app put in on actual iPhone gadget in xcode – iOSTutorialJunction

A few of the app on which we’re working must to retailer some information regionally. For instance, photos or some database file like .sqlite. Whereas working with simulators, its simple to view contents being saved inside doc listing. However while you testing your app on actual IPhone gadget then you aren’t capable of view the identical as doc listing and app information is on gadget not on mac. On this put up, we are going to discover ways to view doc listing contents or app information for the apps put in on our iPhone gadget.

Steps to view app contents for the apps put in on iPhone

Step 1: Join your iPhone to Xcode. Choose “Window” -> “Units and simulator”.

Step 2: Choose the IPhone, and the app (on left aspect) whose content material you wish to view.

1 – Choose your iPhone

2 – Choose the app whose content material we wish to view.

3 – Click on on gear icon.

4 – A choice window will pop up, click on on “Obtain container” and save the file. File may have extension “.xcappdata”.

5 – Proper click on on the file and choose present bundle content material.

6 – This may you entry to contents saved in doc listing of the app.

See also  goal c - The place does iOS retailer property knowledge on the filesystem?

Leave a Reply