You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using this package within a Flutter app it crashes on MacOS if using code signing. Seems like something is not properly setup to sign the .dylibs.
Steps to reproduce:
Build a release build of the flutter example
Sign using codesign
Try to run the app
Here is the relevant stack trace, (pay attention to '/Applications/Prospera.app/Contents/Frameworks/libonnxruntime.1.17.1.dylib' (code signature invalid in <6971EAE1-0FAB-3BA9-8D3F-51235C356A01>)
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Prospera [94615]
Path: /Applications/Prospera.app/Contents/MacOS/Prospera
Identifier: de.gigadroid.kukuk
Version: 0.2.49 (0.2.49)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2024-11-11 10:30:06.2877 +0100
OS Version: macOS 15.1 (24B83)
Report Version: 12
Anonymous UUID: E7979DD0-231C-4A3A-8C9E-F7B6AEAAFA23
Sleep/Wake UUID: 4ED9FA32-2C80-4209-983D-CB1CD0581C3F
Time Awake Since Boot: 62000 seconds
Time Since Wake: 5731 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/libonnxruntime.1.17.1.dylib
Referenced from: <263415C7-3B13-347F-8ECF-3C90840A324F> /Applications/Prospera.app/Contents/MacOS/Prospera
Reason: tried: '/usr/lib/swift/libonnxruntime.1.17.1.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/libonnxruntime.1.17.1.dylib' (no such file), '/Applications/Prospera.app/Contents/Frameworks/libonnxruntime.1.17.1.dylib' (code signature invalid in <6971EAE1-0FAB-3BA9-8D3F-51235C356A01> '/Applications/Prospera.app/Contents/Frameworks/libonnxruntime.1.17.1.dylib' (errno=1) sliceOffset=0x01978000, codeBlobOffset=0x016A2770, codeBlobSize=0x00031FD0), '/Applications/Prospera.app/Contents/MacOS/Frameworks/libonnxruntime.1.17.1.dylib' (no such file), '/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libonnxruntime.1.17.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault
(terminated at launch; ignore backtrace)
The text was updated successfully, but these errors were encountered:
Hey,
when using this package within a Flutter app it crashes on MacOS if using code signing. Seems like something is not properly setup to sign the .dylibs.
Steps to reproduce:
codesign
Here is the relevant stack trace, (pay attention to
'/Applications/Prospera.app/Contents/Frameworks/libonnxruntime.1.17.1.dylib' (code signature invalid in <6971EAE1-0FAB-3BA9-8D3F-51235C356A01>
)The text was updated successfully, but these errors were encountered: