Library does not create the db-file for SQLite on MacOS
See original GitHub issueAs I was able to use the SQLite provider with the main library in my Xamarin.Forms iOS app, I tried to use it in the additional Mac app as well.
It creates the MonkeyCache folder in the folder I specify, but does not create the db file(s). I tried several folders on my Mac without success.
If I try to access Barrel.Current, I get this:
System.TypeInitializationException: The type initializer for 'SQLite.SQLiteConnection' threw an exception.
I am running out of ideas why this is happening with the latest version of the package and MacOS Monterey.
Any hint how to get around this would me helpful.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Can not create SQLite database on mac (permission) issues
when I do ls -l on the folder I get: drwxr-xr-x , but for some reason I can not create the db file...
Read more >Mac OS - cannot create sqlite database · Issue #79
Probably SQLite is not installed on your system." This results in the Files section bing greyed out and I can't create checksums of...
Read more >Trying to "Open Database" Safari History.db file and get Error
Go to System Preferences > Security & Privacy (click the lock to make changes) > select Full Disk Access and check the box...
Read more >SQLite3 and Mac OS X App sandbox problem
I have run into a problem using my own created database files external to the App Sandbox. The problem is that sqlite3 needs...
Read more >How to package an app with sqlite3 database - Ask Different
For this purpose I've used Packages, however the program seems no to copy the db into the ~/Library/Application Support/ folder since no new ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
awesome! thanks for the repro, i will take a look
The problem is still present with .NET MAUI… Had to follow this recommendation to get it working with MacCatalyst…