Skip to content

Cannot be opened because Apple cannot check it for malicious software #95

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

Open
ghost opened this issue Jun 6, 2022 · 3 comments
Open

Comments

@ghost
Copy link

ghost commented Jun 6, 2022

When attempting to quicklook a file

Screenshot 2022-06-06 at 11 23 20

@prShadoko
Copy link

To let your mac know that you trust the app you must open it once from the finder. To do so, go to ~/Library/QuickLook/QLColorCode.qlgenerator/Contents/MacOS/QLColorCode (tip: use the "go to" feature of the finder using cmd+shift+g to go directly into the app package), right-click on it and select "Open". You will be asked for confirmation, after that the system will remember you allowed this program to run.

@frozenpandaman
Copy link

@prShadoko Thanks! However, I did this, and (on macOS 12.3.1, ARM arch) am getting:

Failed to execute process '/Users/username/Library/QuickLook/QLColorCode.qlgenerator/Contents/MacOS/QLColorCode'. Reason:
exec: Exec format error
The file '/Users/username/Library/QuickLook/QLColorCode.qlgenerator/Contents/MacOS/QLColorCode' is marked as an executable but could not be run by the operating system.

@Hoasd
Copy link

Hoasd commented Mar 11, 2023

Same for me. Obviously, the binary is only for X86 compiled:

file /Users/home/Library/QuickLook/QLColorCode.qlgenerator/Contents/MacOS/QLColorCode
/Users/home/Library/QuickLook/QLColorCode.qlgenerator/Contents/MacOS/QLColorCode: Mach-O 64-bit bundle x86_64

But it should be like this:

file /Applications/RunJS.app/Contents/MacOS/RunJS
/Applications/RunJS.app/Contents/MacOS/RunJS: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64]
/Applications/RunJS.app/Contents/MacOS/RunJS (for architecture x86_64):	Mach-O 64-bit executable x86_64
/Applications/RunJS.app/Contents/MacOS/RunJS (for architecture arm64):	Mach-O 64-bit executable arm64

But here is another quicklook plugin which works flawless on Apple Silicon.

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

3 participants