Open tipa opened 2 years ago
I played around a little more and it seems that when not using the NuGet package (neither sqlite-net-pcl
nor SQLitePCLRaw.lib.e_sqlite3.osx
) but simply copying the source file SQLite.cs
into the app, then the app works without issues even when building for ARM64.
Maybe there's something wrong with the NuGet package and the dependencies it pulls...
I want to build my Xamarin.macOS app for the Apple Silicon ARM64 architecture. This is currently a preview feature and can be enabled as described here: https://docs.microsoft.com/en-us/xamarin/mac/release-notes/7/7.13#preview-of-apple-silicon-support I was able to build & run apps targeting x64 with sqlite-net successfully in the past using
sqlite-net-pcl 1.8.116
&SQLitePCLRaw.lib.e_sqlite3.osx 1.1.14
. When building for ARM64, the following exception occurs:Perhaps this needs to be fixed in SQLitePCL.raw and I should open an issue here @ericsink?