#Creating a folder in Application Support

2 messages · Page 1 of 1 (latest)

coarse needle
#

Hey everyone, I'm brand new to Tauri and having some issues connecting to an SQLite DB. I believe I was able to install the plugin properly, but I can't connect or at least I can't read anything from the DB. Initially I thought this was an issue with my SQLite config, but looking into it more I think it has to do with the Application Support file that my project generates. Most of these (for other programs) are folders, however the com.myproject is not a folder, it appears to be a file (~111kb) but when I try to open it Mac says: "You can’t open the application “com.myproject” because it may be damaged or incomplete."

Shouldn't this be a folder which would contain, among other things, myproject.db?
I have removed this file but it will come back whenever I run my application which makes me think this is not so much an issue connecting to the DB but an issue with my Application Support file.

zenith current
#

It sounds like it is a folder called com.myproject.app which macOS treats as an application rather than a folder. Change your bundle identifier to something that doesn’t end in .app and that should solve the issue.