Jörn Buitink
Jörn Buitink

Reputation: 2916

XCode 4.4 "Permission denied" when trying to download Application Data

After updating my XCode to version 4.4 it seems to be impossible to retrieve Application Data from my devices.

In Xcode 4.3 (and all previuos version) I downloaded my Application Data (like SQLite databases and files I created) through the organizer (Organizer -> Devices -> "Device" -> Applications -> "Application" -> Download).

With Xcode 4.4 i get an error ("Permission Denied") when I try to download the Documents from the sandbox.

Is there anything new (maybe a new setting?) I have to change to obtain the Application Data from my device again?

Upvotes: 6

Views: 6875

Answers (6)

Hadi
Hadi

Reputation: 181

I have been temporarily mounting Xcode 4.3.3 from a disk image and using Organizer there. Not the best solution, but seems like an "okay" workaround.

UPDATE: seems to be fixed in Xcode 4.4.1

Upvotes: 1

Gamer
Gamer

Reputation: 369

Sorry for late reply for this question. I thought its worth putting up if anyone comes across this situation. The best way to get hold of the data is by directly accessing application folder by using an Application called "iPhone Explorer" or "iExplorer" both are free and will let you directly access iOS device file structure and you can copy Documents folder from it.

Hope it helps. Thank you :)

Upvotes: 0

Mike Akers
Mike Akers

Reputation: 12247

This bug appears to be fixed in Xcode 4.4.1

Upvotes: 3

Wei Chong
Wei Chong

Reputation: 56

Temporary fix is using itunes to get the files from the document folder.

In your .plist -> Information property list -> add:

UIFileSharingEnabled (YES)

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

Upvotes: 4

Adam Marks
Adam Marks

Reputation: 101

I'm seeing this problem also with Xcode 4.4, used iExplorer to get the files, someone else said PhoneView should should also work.

Upvotes: 0

flybayer
flybayer

Reputation: 352

I am having the same problem and will give a little more information:

Even though Xcode gives the "Permission Denied" error, it does export two files into a xcappdata file and does not even export the "Documents" folder.

AppDataInfo.plist
com.apple.PeoplePicker.plist

Then I deleted the app and all data off the device and reinstalled it using Xcode. I exported the data after running the app and generating a log (log saved into the documents folder). This new log file was properly exported inside the "Documents" folder, but Xcode still generated the "Permission Denied" error.

After further running the app and generating logs, attempting to export the new data resulted in identical exports as the the first export after reinstall.

Upvotes: 3

Related Questions