Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is iOS developer able to view file system?

I wonder if developer has some sort of ways to be able to view file system on iOS device like iFile but without jailbreak the device? Need it for devlopement purpose.

EDIT Thanks for your answers! I know there is a place inside app folder and can be read and write to. But I was looking for a way to view the data quickly without coding, like iFile. So I can check if my write functions suceed or not.

like image 937
巫妖王 Avatar asked Sep 11 '11 09:09

巫妖王


People also ask

Does iOS have a file manager?

Apple has finally given us a decent file manager in iOS 11. The new "Files" app replaces the not-very-old iCloud Drive app that appeared in iOS 9, but you can still access your iCloud Drive files in the new Files app, as well as files from third-party cloud services.

What files does iOS app access?

Apple's Files app lets you view and access files stored on online services, such as iCloud Drive, Box, Dropbox, Google Drive, and Microsoft OneDrive, all in one place. You can also view your files directly on your iPhone or iPad and run a variety of commands on them.

Can I see the source code of an iOS app?

You can contact the developer and ask to see the source code. Otherwise, no, and if there were such a way no commercial developer would ever make apps for that platform. You can contact the developer and ask to see the source code.


2 Answers

While the file system on the iDevice is sandboxed, the one in iPhone Simulator is not. You can run your app with the simulator and check the content via:

~/Library/Application Support/iPhone Simulator/5.0/Applications

It should work for your needs.

like image 159
Liz Avatar answered Sep 30 '22 05:09

Liz


For device: use the desktop-application iPhone-Explorer it reads the filesystem via USB (It can read and write the entire user-designated zone (applications, music, photos, videos, notes, etc.), but not the entire system unless you jailbreak and install afc2add)

for iPhoneSimulator (like Liz mentioned): ~/Library/Application Support/iPhone Simulator/5.0/Applications

like image 32
thomas Avatar answered Sep 30 '22 06:09

thomas