I am not trying to access it on a iDevice. I am trying to access it on my Mac.

How do I build the database and then give the iOS app access?



________________________________
From: Simon Slavin <[email protected]>
To: General Discussion of SQLite Database <[email protected]>
Sent: Wed, November 21, 2012 7:57:15 AM
Subject: Re: [sqlite] Finding .db file in XCode project


On 21 Nov 2012, at 3:53pm, Donald Steele <[email protected]> wrote:

> The problem is that mesaSQLite can not open the database. I did try a 
> different 
>
> SQLite database editor and it can't open the file either

Does it find a file with the right name in the location you're pointing it to ? 
 
Ignore the fact that you're looking for something to do with SQLite for the 
moment and just concentrate on looking for a file with the right name.

> but it give an error 
> message stating the file is read only. In order to change it to read-write I 
> need to find it. I have tried to look at the folders within my Xcode project. 
> I 
>
> fact I even turned on "showallfiles" and still can't find my database file. 
>I've 
>
> saved it in NSDocumentDirectory and I see no such when I search the hard 
drive.

Files created by an iOS app are stored in a folder accessible only by that app. 
 
Depending on how you're looking at that app you would probably see that space 
as 
part of the app's bundle.  You won't be able to use another app on the same 
iDevice to access them because that other app will be looking inside its own 
space.

Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to