Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access files in /var/mobile/Containers/Data/Application without jailbreaking iPhone

Tags:

ios

iphone

A program logs some message in directory /var/mobile/Containers/Data/Application on iPhone. Is there any way I can get access to this directory without jailbreaking iPhone? If no, is there any directory on iPhone that I can log into and read my logs without jailbreaking?

like image 351
ZigZagZebra Avatar asked Jun 27 '16 22:06

ZigZagZebra


People also ask

How do I access VAR mobile containers Data app on iPhone?

Just select your app from the list of installed apps, and click on the "gear" icon and choose "Download Container". Once you've downloaded it, right click on the file in the Finder and choose "Show Package Contents".

Where is private var mobile containers data application?

/private/var/mobile is a folder in the iOS filesystem. Inside it, the (root)/private/var/containers/Bundle/Application folder contains some app store apps, though others may be located in .

What is private var mobile containers shared AppGroup?

/private/var/mobile/Containers/Shared/AppGroup/In order to share information, application developers can assign a “group” to their application. According to Apple's developer information, these groups can then share data between each other.


1 Answers

If this is your app, if you connect the device to your computer, you can use the "Devices" option on Xcode's "Window" menu and then download the app's data container to your computer. Just select your app from the list of installed apps, and click on the "gear" icon and choose "Download Container".

enter image description here

Once you've downloaded it, right click on the file in the Finder and choose "Show Package Contents".

like image 180
Rob Avatar answered Oct 08 '22 21:10

Rob