Open fightingforyou46 opened 2 years ago
Unfortunately, we do not have any develops with MacOS hardware/knowledge. Happy, if someone would like digging into it…
I just build the latest release and it works just fine. Hyperion.zip
@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
So looks like the issue can be closed?
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
@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.
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
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:
I run Hyperion terminal and get this log:
System
Macbook Air M1 16G 256GB Hyperion.ng with commit https://github.com/hyperion-project/hyperion.ng/commit/5dc696b8dc4f4e224dba9e713ccf31958e34de88