Page 1 of 1

Permission denied creating SQLite File under iOS

Posted: Fri 01 Jul 2016 17:37
by itsds
Hi actually i can not use static linked SQLite Files because i get Permission Denied Error creating Database file in any Folder (e.g. System.IOUtils.TPath.GetDocumentsPath / System.IOUtils.TPath.GetLibraryPath)

I verified the Folder exists and
ForceCreateDatabase is set to true.
Direct is set to true

Am i Doing something wrong or is there a Bug ?

Setting NOSTATIC works as Expected !
Do i Have to set something special under iOS the Static works also as expected unter Android / Windows !
Only iOS - Static has Permission Problems.

The iOS Folder used is :
'/var/mobile/Containers/Data/Application/A7F814A5-2A95-4521-99BD-A0213425D974/Documents'

Here is the exception:
Erste Gelegenheit für Exception bei $0000000100B4E7BC. Exception-Klasse EFCreateError mit Meldung 'Datei "/var/mobile/Containers/Data/Application/A7F814A5-2A95-4521-99BD-A0213425D974/Documents/myapp.db" kann nicht erstellt werden. Permission denied'. Prozess tasysmobile (805)

Re: Permission denied creating SQLite File under iOS

Posted: Mon 11 Jul 2016 11:27
by AlexP
Hello,

Please specify the exact version of UniDAC.