Duck
Duck

Reputation: 36003

Is there a way to see the temp, cache, directories while debugging iOS app?

Is there a way to see the temp, cache, directories while debugging an iOS app?

If I am not wrong, earlier versions of Xcode had that...

I am particularly interested in seeing the contents of NSApplicationSupportDirectory.

Upvotes: 3

Views: 5767

Answers (2)

Lucas Paim
Lucas Paim

Reputation: 495

For real devices, you can do this downloading the "Container Folder", on xcode go to Window > Device and Simulators.

Select your app, and select "Download container", like this:

example

You will see the container, just open it with: "Show Package Contents", in this folder you can see, cache folder, UserDefaults etc.

Upvotes: 9

RAJA
RAJA

Reputation: 1214

even now you can see the contents of temp, cache directories for debugging.. but the library folder is hidden now.. you can view the directories from the following path..

/Users/<user-name>/Library/Application Support/iPhone Simulator/<iOS-version>/<app-identifier>/

I hope, I given answer for what you are expecting..

Upvotes: 2

Related Questions