Working in xCode everything works OK if I execute by double-clicking the project down in the working directory but not from xCode itself doing a Build and Run. Then the database isn’t being found correctly.
How do I modify…
sqlite3_open("Airports.sqlite", &db);
so it can find Airports.sqlite in the current working directory?
Copy your database to your applications directory and after that you can use your database 🙂