I cannot import sqlite3 at all! Even though I created bridging header, imported libraries nothing works in swift. But when I tried in Objective-C, it worked just perfectly!
There is also another issue... The simulator also throws an error on the physical device. The database connection is established, I can retrieve data, but there is no way I can submit data to the datase;
ERROR:
No such table 'username'
Hope someone could help me out!