Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/269.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为mac构建c#_C#_Macos_Sqlite_Unity3d_Mono - Fatal编程技术网

为mac构建c#

为mac构建c#,c#,macos,sqlite,unity3d,mono,C#,Macos,Sqlite,Unity3d,Mono,我正在尝试为MAC构建System.Data.SQLite库 我已经构建了libSQLite.Interop.so,下面是这个示例: 我的Unity项目包含我的libSQLite.Interop.so(从我的linux计算机构建)和我的System.Data.SQLite.dll(从windows构建) 当我使用Unity为MAC构建应用程序时,它会启动,但无法加载库 以下是日志: 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/

我正在尝试为MAC构建System.Data.SQLite库

我已经构建了libSQLite.Interop.so,下面是这个示例:

我的Unity项目包含我的libSQLite.Interop.so(从我的linux计算机构建)和我的System.Data.SQLite.dll(从windows构建)

当我使用Unity为MAC构建应用程序时,它会启动,但无法加载库

以下是日志:

回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.dylib 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.so 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.bundle 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/SQLite.Interop.dll 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dylib 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.so回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.bundle 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/SQLite.Interop 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.dylib 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.so 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.bundle 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.dylib 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.so 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.bundle 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/SQLite.Interop.dll 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dylib 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.so回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.bundle 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/SQLite.Interop 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.dylib 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.so 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll.bundle 回退处理程序无法加载库 /Users/victor/Desktop/BUILD_MAC.app/Contents/Frameworks/MonoEmbedRuntime/osx/libSQLite.Interop.dll DllNotFoundException:SQLite.Interop.dll位于(包装器 管理到本地) System.Data.SQLite.unsafentivemethods.sqlite3\u config\u none(System.Data.SQLite.SQLiteConfigOpsEnum) 在中的System.Data.SQLite.SQLite3.StaticIsInitialized()[0x0001c]处 :0 at 中的System.Data.SQLite.SQLiteLog.Initialize()[0x00000] :0 at System.Data.SQLite.SQLiteConnection..ctor(System.String 中的connectionString,System.Boolean parseViaFramework)[0x00021] :0 at System.Data.SQLite.SQLiteConnection..ctor(System.String 连接字符串[0x00000]位于:0
at(包装器远程处理调用和检查) System.Data.SQLite.SQLiteConnection..ctor(字符串)位于 LibLOCA.localization.LoadLanguage(LibLOCA.GameLanguage) [0x0004a]输入:0

在这个过程中我错过了什么吗?我猜我在混搭建筑时做错了什么,但这真的让我困惑

编辑 我已经成功地使用脚本构建了它,并将新的动态库文件放在构建的托管文件夹中。它似乎可以工作,但当我打开数据库时,出现以下异常:

System.EntryPointNotFoundException:在DLL“sqlite3”中找不到名为“sqlite3\u rekey”的入口点

看起来这个人也有类似的经历