Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibreVNA-GUI.app is damaged #282

Open
dd5fz opened this issue Jan 2, 2025 · 8 comments
Open

LibreVNA-GUI.app is damaged #282

dd5fz opened this issue Jan 2, 2025 · 8 comments

Comments

@dd5fz
Copy link

dd5fz commented Jan 2, 2025

LibreVNA Version

v1.6.1
LibreVNA-GUI-OSX-v1.6.1.zip
f2b01f7
MacBook Pro, 16 inch, 2021, Apple M1 Max processor, Sequoia 15.1.1

Steps to reproduce

LibreVNA GUI launch does not work - I get the following error message:

“LibreVNA-GUI.app” is damaged and can’t be opened. You should move it to the Bin.

Expected behavior

A successful start of the GUI.

Extra information & Setup and Calibration files

The 1.6.0 version does not have this problem.

BTW: A native Apple processor build of the GUI would be nice too.

@jankae
Copy link
Owner

jankae commented Jan 2, 2025

BTW: A native Apple processor build of the GUI would be nice too.

I am not really familiar with apple, what do you mean by that?

In general, I am probably not able to help much here as I have no OSX device to test this with. Is there any additional info you can give me apart from that error message?

@dd5fz
Copy link
Author

dd5fz commented Jan 2, 2025

  1. When I try starting the GUI directly from a shell, I immediately get the same error message without any further information. Sorry.

  2. Apple uses emulation for legacy (Intel) code. "Native" Apple processors: https://en.wikipedia.org/wiki/Apple_silicon

@cypacmori
Copy link

I get the same error on Intel Macs.

@bendelathouwer
Copy link

bendelathouwer commented Jan 6, 2025

I also have problems with the osx app , my error is that the app is not suported(app version 1.6.1). but when running the 1.6.0 app i can get it to work(running on intel silicon).

@dd5fz
Copy link
Author

dd5fz commented Jan 6, 2025

FWIW, LibreVNA-GUI-OSX-v1.6.1-2025-01-03-16-08-32 (https://github.com/jankae/LibreVNA/actions/runs/12600463666) has the same problem.

This leaves me wondering if there might be an incompatibility with the newest MacOS.

@cypacmori
Copy link

I tried building it myself.
Environment: Intel MacBook Pro 16"
OS: Sequoia 15.2
Create an environment by installing homebrew (including Xcode)
brew install libusb
brew install qt@6

Since there are various other settings, the above settings may not work.
After that, refer to the document LibreVNA/Documentation/DeveloperInfo/BuildAndFlash.md

git clone https://github.com/jankae/LibreVNA.git
cd LibreVNA
git checkout refs/tags/v1.6.1
cd Software/PC_Application/LibreVNA-GUI
qmake6
make -j10

I created a binary file, ran it, and confirmed that it worked to some extent.
It may work perfectly if you just put the created binary under .App in the distribution file, but
The distribution file also includes Qt binaries, so it may not work.
I'm not familiar with Qt-related builds or Mac environment builds, so I don't really understand them.

@jankae
Copy link
Owner

jankae commented Jan 6, 2025

Interesting, that is almost the exact same build process as on the automatic builds (apart from some additional version extraction and file naming). I would love to know where the difference is and what breaks the binary but I am afraid that is for someone else to figure out. I can neither build nor run any OSX binaries myself.

@miek
Copy link

miek commented Jan 6, 2025

I found a few discussions online that suggest that this can be caused by the quarantine flag being set (because it's downloaded from the internet rather than the mac store).

You can check whether it's set by running xattr -l /path/to/LibreVNA-GUI.app and see if com.apple.quarantine is listed.

If it is, the flag can be removed by running xattr -dr com.apple.quarantine /path/to/LibreVNA-GUI.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants