Unknown SQL alert when quitting my app

I have a macOS app which uses an embedded SQLite DB. For some reason when I quit the app, a OK/Cancel dialog appears with this warning: 'Startup errors may overwrite unloaded queries. Do you wish to overwrite the query database?'.

Anyone have any idea why this is occurring. It only started ~15mins before this post was created. I only ever read from the DB, never written.

Google search comes up with nothing.

Ventura 13.3. Xcode Version 14.3 (14E222b). Deployment target 10.15. Cocoa app.

Replies

Ok. Alert never appeared again when I pressed OK.

Still no clue as to why it happened.