User |
Post |
6:45 pm
August 16, 2008
|
wishfullthinkng
iCoder
|
|
|
|
|
posts 6
|
|
|
I'm having some severe issues trying to follow the SQLite 3 tutorial listed here:
I can't even get past the first few steps…
First of all, I go to sqlite.org as directed and download the latest version of Sqlite 3 (sqlite3-3.6.1-osx-x86.bin.gz). It downloads as a .bin file, and whenever I double click it, it makes a new file almost on top of the old one, and this one has the same name as the original file besides now it ends in a .cpgz instead of .bin. If I click on this new .cpgz file, it just loops and creates a new .bin version. It's like a twisted circle.
I tried to follow the next step by firing up terminal although it says command prompt in the tutorial and was able to make a database (I think). I go to add the database to the project, and it's nowhere to be found. Where exactly is this “PWD (Present Working Directory)” anyways?!
I haven't been this lost or frustrated by a standard in quite some time. To top it off, there is NO good, clear and concise answer on the internet, I've been searching for hours.
Thank you.
|
|
7:27 pm
August 16, 2008
|
Admin
|
|
brandontreb
|
|
|
posts 88
|
|
|
You're in luck! I just happen to be writing my next tutorial on SQLite3. I will be showing all of the steps including the creation of the tables. If all goes well, it should be out Monday. I would have had it out soon but I had company in town this week.
So stay tuned…
|
If debugging is the process of removing bugs, then programming must be the process of putting them in.
-Edsger Dijkstra
|
|
7:29 pm
August 16, 2008
|
wishfullthinkng
iCoder
|
|
|
|
|
posts 6
|
|
|
Brandon,
That is great news indeed. Thank you very much for taking your time to help those of us who are IPhone SDK-challenged.
Hopefully the part involving SQLite3 will have even the rudimentary parts (like simply starting the app(service?)) all mapped out in black and white because I can't even really get that far…
Cheers,
Joseph
Edit: Does the new tutorial have any nested tables? I've been trying to find a good tutorial on a 3-tier nested table app and have come short on that as well.
|
|
2:56 pm
August 22, 2008
|
wishfullthinkng
iCoder
|
|
|
|
|
posts 6
|
|
|
EDIT: I figured it out. Why Apple didn't package a GUI interface for SQL is beyond me. As much as I love command-lines it's silly not to have a GUI for something like this.
|
|
3:23 am
August 26, 2008
|
g29
Noob
|
|
|
|
|
posts 1
|
|
|
Hi Brandon,
of course, at the point left in SQLite Tutorial I, debugging your code gives me 27 errors and 14 alerts (!)
When can we expect the part II and all the fixes?
Thank you mate
|
MacBookPro 4Gb/250Gb – iPhone3G 16Gb
|
|
7:34 am
August 26, 2008
|
Admin
|
|
brandontreb
|
|
|
posts 88
|
|
|
that is odd that you get all of those errors. Many people have completed the tutorial with none. Are you sure that you have the latest sdk? These errors are probably because you didn't import the correct sqlite libraries into your project. That would most likely be the problem.
|
If debugging is the process of removing bugs, then programming must be the process of putting them in.
-Edsger Dijkstra
|
|