mercredi 7 octobre 2015

Swift SqLite Setup

Im making an application for IOS 9, using swift, and my application will consist of using a database. I searched on the internet and set up a SqLite database and am using the Firefox add on to have a GUI to view it. I make a Xcode project and as many tutorials said to do I went to my Build Phases > Link Binary With Libraries and searched for libsqlite3.0.dylib but I only found libsqlite3.tbd and libsqlite3.0.tbd . I said ok and clicked on libsqlite3.tbd hoping that it wouldnt matter, but I got stuck at the next step of using sqlite in IOS. I had to

    #import <sqlite3.h> 

but the thing was that i would get an error when ever that happened. I just need some step by step instructions on how to get my SqLite database to start working!!! I can't find anything on the web that isn't using IOS 7 and adding libsqlite3.dylib to their build phase. Please help!!

Aucun commentaire:

Enregistrer un commentaire