Open mcrossley opened 4 weeks ago
Well that's a bit troubling. I'm guessing we upgraded the version of the tools used to build the native dylib (which we usually do only when necessary), and that is causing the symptom you are seeing.
I have reverted to 2.1.8 for now. I hope you can find the cause.
Could you try the 2.1.10-pre release on nuget and see if it fixes this problem?
Thanks!
Thanks, I'll create a test build of my program tomorrow and get it out to a Mac user for testing. I do not have a Mac myself.
Sorry to report the test user says this build has the same error.
What version of SQLitePCLRaw are you using? 2.1.9
If you are using one of the SQLitePCLRaw bundle packages, which one? SQLitePCLRaw.bundle_green
What platform are you running on? What operating system? Which version? What CPU? mac M2, macOS, Darwin 23.6.0, ARM64
What target framework are you building for? .NET 8.0
Are you using
PackageReference
orpackages.config
? PackageReferenceAre you using the command line, or an IDE? Which IDE? Which version of that IDE? Visual Studio 2022 - v17.11.0
Is this problem something that just started happening? For example, were things working well for you and then you updated something and then the problem showed up? What changed? Package version 2.1.8 works OK. Copying in the version of libe_sqlite3.dylib from 2.1.8 to the user's system prevents the error, and the program runs OK There are no problems with the 2.1.9 runtimes for Linux or Windows - just macOS
What is the exact error message you are seeing when the problem happens?
code signature in <DF408A36-B4FE-3FE0-9E23-77AB4D848DA1> '/Users/......./runtimes/osx-arm64/native/libe_sqlite3.dylib' not valid for use in process: library load disallowed by system policy
If you are using mobile platforms, are you on classic/legacy Xamarin or on .NET 6 and higher? No mobile
Sometimes other packages using SQLitePCLRaw cause problems when they are mixed together. What other packages are you including in your project? BouncyCastle.Cryptography EmbedIO FluentFTP FluetFTP.Logging HidSharp MailKit MQTTnet MySQLConnector NReco.Logging.File ServiceStack.Text SixLabors.ImageSharp SSH.NET +a bunch of MS System packages