I am trying to upload some modified data files to my app using XCode 5. My app takes makes modifications to an sqlite database that I want to be able to restore easily for testing purposes.
So I downloaded the datafiles from the app (containing the db) with the intention of reuploading it later after the app does some modifications to the db.
I download the files through the Organizer -> My iPad -> Applications -> Download (under Data files in Sandbox). I want to reupload by the Upload button right next to it.
However when I try to upload it returns the error "Permission Denied". There is nothing in the device logs indicating what exactly what permissions I need.
Does anyone know of the proper build settings or device settings I need to be allowed to upload modified datafiles for my App?
I've found that the cached Snapshots can interfere with the upload process. If you go into the downloaded app data folder and remove the Snapshot image, then try to re-upload to the device, it should work.
Verify the App isn't running on the device (even in the background), as that can lock files in its data directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With