Skip to content

Trying to use sqlite-net in an uno maccatalyst app and it fails in release mode #1276

@cconner100

Description

@cconner100

I am trying to use sqllite-net in maccatalyst. This solution works in ios, android and windows in release, in Maccatalyst it runs fine in debug but in release mode i get the following error.

Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @executable_path/../../Contents/MonoBundle/libe_sqlite3.dylib
Referenced from: /Users/USER/*/ZiiDMSApp.app/Contents/MacOS/ZiiDMSApp
Reason: tried: '/Users/curtisconner/ZiiDMS-NextGen/Client/Desktop/ZiiDMSApp/ZiiDMSApp/bin/Release/net9.0-maccatalyst/maccatalyst-arm64/ZiiDMSApp.app/Contents/MonoBundle/libe_sqlite3.dylib' (code signature in <80716F2F-E895-3472-9785-BD2C1437D4F0> '/Users/curtisconner/ZiiDMS-NextGen/Client/Desktop/ZiiDMSApp/ZiiDMSApp/bin/Release/net9.0-maccatalyst/maccatalyst-arm64/ZiiDMSApp.app/Contents/MonoBundle/libe_sqlite3.dylib' not valid for use in process: Trying to load an unsigned library)
(terminated at launch; ignore backtrace)

I checked the output directory its complaining about and the libe_sqlite3.dylib is there.

This is a .net 9 uno application.

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions