Xcode 4.4 "Permission denied" when trying to load application data

After upgrading my Xcode to version 4.4, it seems impossible to get application data from my devices.

In Xcode 4.3 (and all previous versions), I downloaded my application data (for example, SQLite databases and the files I created) through the organizer (Organizer β†’ Devices β†’ "Device" β†’ Applications β†’ "Application" β†’ Download).

With Xcode 4.4, I get an error message ("Permission Denied") when I try to load documents from a sandbox.

Is there anything new (maybe a new parameter?) Do I need to change to get application data from my device again?

+6
source share
6 answers

The interim fix uses itunes to retrieve files from a document folder.

In your .plist -> List of information properties -> add:

UIFileSharingEnabled (YES)

Rebuild and go to itunes and get the files from the docs folder.

+4
source

I have the same problem and give a little more information:

Despite the fact that Xcode gives the "Allow Denial" error, it exports two files to the xcappdata file and does not even export the Documents folder.

 AppDataInfo.plist com.apple.PeoplePicker.plist 

Then I uninstalled the application and all the data from the device and reinstalled it using Xcode. I exported the data after starting the application and creating a log (the log is saved in the documents folder). This new log file was correctly exported to the Documents folder, but Xcode still generated an Allow Failure error.

After the application was further launched and the logs were created, an attempt to export new data led to an identical export as the first export after reinstallation.

+3
source

This bug seems to be fixed in Xcode 4.4.1

+3
source

I temporarily installed Xcode 4.3.3 from a disk image and used Organizer there. Not the best solution, but it seems like a β€œgood” workaround.

UPDATE: apparently fixed in Xcode 4.4.1

+1
source

I see this problem also with Xcode 4.4, using iExplorer to receive files, someone else said that PhoneView should work as well.

0
source

Sorry for the late answer to this question. I thought it was worth it to leave if someone faced this situation. The best way to get data is to directly access the application folder using the iPhone Explorer or iExplorer application, which are free and allow you to directly access the file structure of your iOS device, and you can copy the Documents folder from it.

Hope this helps. Thanks:)

0
source

Source: https://habr.com/ru/post/921381/


All Articles