Detect-It-Easy icon indicating copy to clipboard operation
Detect-It-Easy copied to clipboard

macOS pgk of latest release crashes on launch

Open yossizahn opened this issue 3 years ago • 4 comments

The macOS installer versions from the latest release (die_mac_3.05.pkg & die_mac_qt6_3.05.pkg) crash upon launch:

>$ QT_DEBUG_PLUGINS=1 /Applications/die.app/Contents/MacOS/die
QFactoryLoader::QFactoryLoader() checking directory path "/Applications/die.app/Contents/MacOS/diePlugIns/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/Applications/die.app/Contents/MacOS/platforms" ...
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

[1]    25725 abort      QT_DEBUG_PLUGINS=1 /Applications/die.app/Contents/MacOS/die

I managed to run it like this:

QT_QPA_PLATFORM_PLUGIN_PATH=/Applications/die.app/Contents/PlugIns   /Applications/die.app/Contents/MacOS/die

yossizahn avatar Jul 25 '22 07:07 yossizahn

Hello! Thanks a lot for the report! I will take a look.

horsicq avatar Jul 25 '22 07:07 horsicq

I guess you should delete Detect It Easy from /Applications then reinstall pkg.

horsicq avatar Jul 25 '22 10:07 horsicq

I guess you should delete Detect It Easy from /Applications then reinstall pkg.

Interestingly that helped, I'm not sure why... thanks! Running from the command line as: /Applications/DiE.app/Contents/MacOS/die still errors.

yossizahn avatar Jul 25 '22 10:07 yossizahn

Cause qt5 version compiled for x64 and qt6 version complied for m1 arm. If you install them both will be a conflict.

horsicq avatar Jul 25 '22 10:07 horsicq