Comments (22)
I got it working!
I had a look at the files and the problem, for me, was that MacOS put the files in quaratine. By removing the file attribute "com.apple.quaratine" using
xattr -r -d com.apple.quarantine /Applications/imhex.app/
imhex works like a charme now.
from imhex.
Had the same issue, and this fixed it for me codesign --force --deep --sign - /Applications/imhex.app/
. (Thanks to @WerWolv via Discord).
from imhex.
No luck here on my 2nd Mac (an older 2019 MBP) still the same after a new install. Right after the start i get this error
(in german: imhex is demaged and cannot be opened and so on"
I have to remove it from quaratine first before i can use it
from imhex.
I'm having the same issue. It says the app is damaged and can't be opened, I've tried downloading from Github and through Homebrew. It has xattr of com.apple.quarantine in both cases. I'm on MacOS 12.7.2.
from imhex.
Hey
Could you please provide some more information about what's happening when you run them? Any error messages, logs, etc?
Both the M1 and the x86 work perfectly fine on my M2 macbook air fwiw.
Also cant use the ARM version (even though I'm on an M1 because my OS is 1 major version behind and listed as unsupported by the binary)
That has been fixed since. The latest nightly release now has the same OS version requirement as the x86 version.
from imhex.
Had the same issue, and this fixed it for me
codesign --force --deep --sign - /Applications/imhex.app/
. (Thanks to @WerWolv via Discord).
Same issue, its a code signing problem. I was able to get it to run by signing it myself or forcing an exception but neither are ideal. Will test again once I get a chance.
from imhex.
What's weird is that it works completely fine on my machine. Don't have to re-sign it myself.
from imhex.
I did check the xattr
quarantine attribute but deleting mine and correcting it both didn't fix it so it might be that re-signing its forcing some header rebuilding that is making it valid for older macs? I'm assuming the header itself is specifying it's only for newer MacOS versions regardless of the actual support.
https://en.wikipedia.org/wiki/Mach-O#Minimum_OS_version
As a result it just errors giving you a screen about updating and crossing out the binary.
from imhex.
Stumbled across the same problem, bot with 1.32.2 and latest nightly build. Even signing (mentioned above) does not help. I'm using a 13" MBP with MacOS 14.3
from imhex.
Latest nightly works fine for me too. Opening it regularly shows this screen here:
but then right clicking and choosing open shows
and I can just click on "Open" to launch ImHex.
Are there any settings you guys have enabled or I have disabled that would cause macOS to refuse to launch it? I seriously can't think of anything else. SIP is still enabled on my machine, that's the only one I know about
from imhex.
I haven't changed anything, at least not that i'm aware of.
from imhex.
That's not really a fix, that just makes macOS not check ImHex's signature anymore.
If there is an issue with the signatures, somehow my mac decided to not care about it or yours has some extra security settings enabled
from imhex.
possible but why is the re-signing process (above, #1500 (comment)) not working then? Or is it working but the extended file attributes, from first start try?, are still there? Will remove imhex tomorrow evening and reinstall it again for testing, my bed's calling me, i can hear it ;)
from imhex.
That's not really a fix, that just makes macOS not check ImHex's signature anymore. If there is an issue with the signatures, somehow my mac decided to not care about it or yours has some extra security settings enabled
There are 2 problems here. First is the signing issue and second is the min version header.
In my case I can sign and get it working on my mac using MacOS 14 but on my MacOS 13 mac (both are M2 macs) I get the errors in my screenshot above when using the ARM binary. Like I mentioned with the header, the header displays a minimum version of 14 minos 14.0
for ARM. However the x86 binaries have minos 12.7
.
As for signing, maybe there is some sort of new trust requirement for externally downloaded files or in the signing setup change under MacOS 14 or xcode 14 which may be causing this? I know of one such change, though the impact I'm not certain of, is the switch from atool
to notarytool
for xcode14....
from imhex.
Made one more change now, maybe that fixes it. If not, I'll need somebody who can reproduce the issue to try and debug this locally, I honestly don't think there's anything more I can do at this point.
from imhex.
@WerWolv is that the nightly for x86 macos?
from imhex.
I also had the damaged app message on my MacBook pro 2019 x86-64 (Sonoma 14.3.1). I ran the command from @ragnar76 to remove the file from quarantine and now I can run ImHex without any issue.
xattr -r -d com.apple.quarantine /Applications/imhex.app/
from imhex.
@alexdetrano thats a workaround and not really a fix. The question is, why does Macos put imhex into quarantine (maybe for the mac guys here easy, i'm not a mac guy) and what could be a solution?
from imhex.
@alexdetrano thats a workaround and not really a fix. The question is, why does Macos put imhex into quarantine (maybe for the mac guys here easy, i'm not a mac guy) and what could be a solution?
I'm heavily a mac user including driver development and I wasn't able to figure it out in 2-3 hours of reading and exploring. I dont have xcode setup to really dive deeply into the testing apps since I do all my work with clang but it is a weird one and only seems to be a problem on Ventura. It's obviously a gatekeepr behavior change but why exactly it's not obvious at all.
from imhex.
Have you tested the latest nightly build again?
I made some changes a few days ago that, at least for me, made it work fine on my M2 under Rosetta again.
I still find it extremely odd behavior that it would work when emulated on ARM but not on a real Intel machine
from imhex.
I have not tested the nightly. I will try that now. Also just realised I can run the binary at ImHex.app/Contents/MacOs/imhex
just fine but not the app at the top level itself.....
It is extremely weird indeed.
from imhex.
Checked the nightly artifact for arm and it's working perfectly now! Closing issue
from imhex.
Related Issues (20)
- [Feature] Command line option to diff two files
- [Bug] Text becomes blurry if enable "Restore window position" and restored maximized HOT 6
- [Bug] ImHex has problems with files opened in another process
- [Feature] Diff pattern data between two files
- [Bug] Extremely slow to launch (windows 11)-- 1.5 minutes from launch to display HOT 2
- [Feature] Add the ability to open multiple files at once
- [Feature] Retain last search string even if the form was closed
- [Bug] Saving a file doesn't work properly HOT 1
- [Bug] Do not allow opening the same file again
- [Bug] Processing Advanced Data Information fails HOT 1
- [Bug] Import menu disabled on read-only files HOT 2
- [Bug] Auto-load supported pattern not working anymore
- [Feature] Reload file button HOT 2
- [Feature] Selection size HOT 1
- Add exception stacktraces HOT 2
- [Bug] Scroll position when moving or selecting bytes down in hex editor using arrow keys HOT 3
- [Bug] "Save As..." Modifies Both the New File and the Original File HOT 1
- [Bug] Data loss, because confirmation dialog logic is inverted
- [Bug] Invalid loop sized array segfault
- [Bug] Endian pragma ignored HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imhex.