Skip to content

Unix Executable File cannot be verified by Apple. #8976

Answered by rokm
bobleer asked this question in Help
Discussion options

You must be logged in to vote
  1. ** No problem in build mac. But I transferred the file to another Mac, and the problem happened in another one.**

  2. I compared the files from the build Mac and the receiving Mac using xattr -l FILENAME. The file from the build Mac has no attributes. However, the transferred file has com.apple.quarantine and com.apple.macl attributes.

That's the root of the problem, then. When a binary is downloaded, macOS applies the com.apple.quarantine attribute. (Likely the same if the executable was inside a .zip archive).

You could have user manually remove the attribute: xattr -dr com.apple.quarantine <filename> (the recursive option is redundant in this case, since it's a single file).

You co…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bobleer
Comment options

@rokm
Comment options

rokm Jan 8, 2025
Maintainer

Answer selected by bobleer
@bobleer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants