hyperion-project / hyperion.ng

The successor to Hyperion aka Hyperion Next Generation
https://hyperion-project.org/
MIT License
3.04k stars 377 forks source link

Build successfully for mac M1 (Apple Silicon), but Hyperion app can't run #1468

Open fightingforyou46 opened 2 years ago

fightingforyou46 commented 2 years ago

Bug report

Build successfully for mac M1 (Apple Silicon), but Hyperion app can't run with error

Steps to reproduce

I builded Hyperion app follow this guild https://github.com/hyperion-project/hyperion.ng/blob/master/doc/development/CompileHowto.md in Mac M1.

and run Hyperion.app but got error.

What is expected?

Hyperion app can run natively in Mac M1

What is actually happening?

I builded Hyperion.app in Mac M1, everything was ok until I run command "cpack", I could still create the complete .dmg file, but I had got these warning lines while cpack was running:

macbookairm1@Macbooks-MacBook-Air build % cpack
CPack: Create package using DragNDrop
CPack: Install projects
CPack: - Run preinstall target for: hyperion
CPack: - Install project: hyperion []
CPack: -   Install component: Hyperion
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/platforms/libqcocoa.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtDBus.framework/Versions/5/QtDBus
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/platforms/libqminimal.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/platforms/libqoffscreen.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/platforms/libqwebgl.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtQml.framework/Versions/5/QtQml
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtQmlModels.framework/Versions/5/QtQmlModels
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtQuick.framework/Versions/5/QtQuick
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtWebSockets.framework/Versions/5/QtWebSockets
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/sqldrivers/libqsqlite.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtSql.framework/Versions/5/QtSql
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqgif.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqicns.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqico.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqjpeg.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqmacheif.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqmacjp2.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqsvg.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtSvg.framework/Versions/5/QtSvg
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqtga.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqtiff.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqwbmp.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqwebp.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libusb-1.0.0.dylib
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/Python.framework/Versions/3.10/Python
/Library/Developer/CommandLineTools/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/xxx/hyperion/build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.13-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtSerialPort.framework/Versions/5/QtSerialPort
Add Python 3.10 to bundle
PYTHON_MODULES_DIR: /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10
CPack: Create package
CPack: - package: /Users/xxx/hyperion/build/Hyperion-2.0.13-macOS-arm64.dmg generated.

I run Hyperion terminal and get this log:

macbookairm1@Macbooks-MacBook-Air ~ % /Users/xxx/Desktop/Hyperion.app/Contents/MacOS/Hyperion ; exit;
zsh: killed     /Users/xxx/Desktop/Hyperion.app/Contents/MacOS/Hyperion

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

System

Macbook Air M1 16G 256GB Hyperion.ng with commit https://github.com/hyperion-project/hyperion.ng/commit/5dc696b8dc4f4e224dba9e713ccf31958e34de88

Lord-Grey commented 1 year ago

Unfortunately, we do not have any develops with MacOS hardware/knowledge. Happy, if someone would like digging into it…

Rastafabisch commented 1 year ago

I just build the latest release and it works just fine. Hyperion.zip

imkebe commented 1 year ago

@Rastafabisch your zip won't work for me. I also compiled the latest version and it work. hyperion-2.0.16-beta.1-arm64.zip

Lord-Grey commented 1 year ago

So looks like the issue can be closed?

DonaldTrump-2020 commented 1 year ago

no, because they just work with their mac , because their build dont include additional libraries to work in any mac os. you see, their builds are just 6.8mb and 10.8mb, What do you think they have? @Lord-Grey

imkebe commented 1 year ago

@DonaldTrump-2020 What libraries you are talking about? My compilation is arm64 which should work on M1/M2 CPU's. If you look for universal dmg package it should contains also x64 build. There is no such thing as universal architecture build.

Actual dmg file containing x64 build of 2.0.15 has executable of 11,3 MB.

imkebe commented 1 year ago

Sorry for incomprehension. I didn't build dmg file, however now I did it. I can confirm that there is an issue with created dmg package. I dig a little and found that it's related to those "signature" warnings. ARM builds on MacOS are forced to some kind strict signing process. There is an issue with builtin codesing tool.

As for now I altered files created in ./build/_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app directory. Re-signed files with errors and hyperion executable.

Also created custom .dmg from ALL_IN_ONE folder (I don't know how to change temp.dmg instead). Please try it. https://github.com/imkebe/random/blob/main/Hyperion-2.0.16-beta.1-macOS-arm64.dmg

codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/platforms/libqcocoa.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libglib-2.0.0.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtDBus.framework/Versions/5/QtDBus
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libfreetype.6.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libintl.8.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libgthread-2.0.0.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libpng16.16.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libpcre2-16.0.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libpcre2-8.0.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/platforms/libqminimal.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/platforms/libqoffscreen.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/platforms/libqwebgl.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtQml.framework/Versions/5/QtQml
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtQmlModels.framework/Versions/5/QtQmlModels
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtQuick.framework/Versions/5/QtQuick
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtWebSockets.framework/Versions/5/QtWebSockets
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/sqldrivers/libqsqlite.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtSql.framework/Versions/5/QtSql
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqgif.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqicns.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqico.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqjpeg.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqmacheif.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqmacjp2.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqpdf.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtPdf.framework/Versions/5/QtPdf
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqsvg.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtSvg.framework/Versions/5/QtSvg
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqtga.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqtiff.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libtiff.5.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqwbmp.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/plugins/imageformats/libqwebp.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libsharpyuv.0.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libwebp.7.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libwebpdemux.2.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libwebpmux.3.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libusb-1.0.0.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/Python.framework/Versions/3.11/Python
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/QtSerialPort.framework/Versions/5/QtSerialPort
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libzstd.1.5.4.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/Frameworks/libjpeg.8.2.2.dylib
codesign -s - -f -vvvvv ./_CPack_Packages/macOS/DragNDrop/Hyperion-2.0.16-beta.1-macOS-arm64/ALL_IN_ONE/Hyperion.app/Contents/MacOS/Hyperion

So it's an issue with building properly signed .dmg package.

More on this. https://stackoverflow.com/questions/71744856/install-name-tool-errors-on-arm64 https://github.com/hluk/CopyQ/issues/1605 https://github.com/Homebrew/brew/issues/9082 https://github.com/golang/go/issues/42684 https://github.com/Homebrew/brew/pull/9102