I have an app that includes barcode scanning. I know you need macOS 15 to use the barcode scan class, but the function is only exposed if the user is running macOS 15 (Catalina) or later, so that is not an issue. A build made with Xojo2024R1.1 was widely distributed and there were no reports of problems.
I recently released an app update, built with Xojo2024R2, in which the barcode scanning code wasn’t touched. Today I was contacted by a user who says he can’t launch it on a Mac running 10.14.6. He gets this error:
Runtime Error: Location: Common/plugin.cpp:1048 Condition: false Message: Could not open plugin Barcode.dylib (dlopen(/Applications/MyApp_1504.app/Contents/Frameworks/Barcode.dylib, 5): no suitable image found. Did find: /Applications/MyApp_1504.app/Contents/Frameworks/Barcode.dylib: cannot load 'Barcode.dylib' (load command 0x80000034 is unknown) /Applications/MyApp_1504.app/Contents/Frameworks/Barcode.dylib: cannot load 'Barcode.dylib' (load command 0x80000034 is unknown))
He confirmed that the previous version launches normally on that machine. And that the current version works fine on another Mac running macOS 14.5.
I’m wondering if there was a regression in Xojo2024R2. Can anyone confirm that apps that include the barcode scan class run in versions of macOS prior to Catalina?
16 posts - 5 participants