You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I test many times but it not working on Apple M1 devices
Reacted by Dylan Gattey, ken1, Aleksei Maslakov, Fernando Bueno, mutouh, jm3, Jonathan del Strother, Vitaly Mavrin, Chris Grieser, Ryan Hart and 16 more
I've downloaded the project and compiled myself, but still, on M1 I'm having problems:
QLColorCode has no permission to read preferences. Check error on console app: "accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access"
colorize.sh seems not able to exec subprocess in go4it func, they get killed with a permission denied (enabling setStandardError on runtask shows script errors on preview window)
As a result, an empty white preview window is shown.
I made a few adjustments to the build configuration (#91) and went through the pain of getting it signed and notarized. Here is a working universal release for both Apple M1 and 64-bit Intel:
$ qlmanage -p ~/Downloads/testing.fun.Rmd
Testing Quick Look preview with files:
/Users/massisenergy/Downloads/testing.fun.Rmd
2022-06-10 13:56:56.433 qlmanage[9564:36798] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x9503, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2022-06-10 13:56:56.454 qlmanage[9564:36798] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x7e07, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
I added the dyn.ah62d4rv4ge81e5pe in proper place in ~/Library/QuickLook/QLColorCode.qlgenerator/Contents/Info.plist but it still doesn't work. It used to work for .Rmd files before.
Probably this repo is abandoned & out of maintenance. For now, I am using QLMarkdown and SourceCodeSyntaxHighlight, which does the job fine (quicklook preview) so far for all my required files.
Reacted by xxyxxyxyx1, Tony Li, gaosen, Yuwen Gu, Huang, sysadmin-mud, AnthoPak and Gustavo Bezerra
Activity
0x5e commentedon May 18, 2021
Same to me, here's my crash log:
antenando commentedon Jun 12, 2021
Same here
Apolsus commentedon Jul 30, 2021
Me too.
Device: MBP M1
OS: BigSur 11.5
harapeko commentedon Aug 10, 2021
This helped me.
whomwah/qlstephen#112
kikeenrique commentedon Aug 15, 2021
I've downloaded the project and compiled myself, but still, on M1 I'm having problems:
QLColorCode has no permission to read preferences. Check error on console app: "accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access"
colorize.sh seems not able to exec subprocess in go4it func, they get killed with a permission denied (enabling setStandardError on runtask shows script errors on preview window)
As a result, an empty white preview window is shown.
I've tried adding a new target that would be sandboxed with permissions, but I miss macOS development and quicklook plugin knowledge to be able to add the cli app into the bundle package and get it executed (maybe if I retake this in the future I can use this post as help https://blog.timac.org/2021/0516-mac-app-store-embedding-a-command-line-tool-using-paths-as-arguments/)
serge-ivamov commentedon Sep 14, 2021
No problems on m1 for me. Just compiled latest lua/highlight and
$ xcodebuildkikeenrique commentedon Sep 14, 2021
@serge-ivamov is it compiling? is it working properly? or both?
serge-ivamov commentedon Sep 15, 2021
both.
serge-ivamov commentedon Sep 15, 2021
I found the reason for the blank screen.
This is the absence of a dark theme file 'darkplus.theme'.
So u can just
or edit Common.m for it.
P.S. lol, looks like I got highlight from old location (https://github.com/andre-simon/highlight)
The gitlab version has darkplus.theme.
P.P.S. Found another problem for m1 - bad signing. Just need to resign.
btw adding
public.jsonto Info.plist will add support for .json files.jpc commentedon Sep 27, 2021
I made a few adjustments to the build configuration (#91) and went through the pain of getting it signed and notarized. Here is a working universal release for both Apple M1 and 64-bit Intel:
https://github.com/jpc/QLColorCode/releases/tag/release-4.1.2%2Bm1
ferologics commentedon Oct 26, 2021
@jpc absolute legend, thank you so much!
deden commentedon Oct 28, 2021
@jpc , thank you, it's working👍🏻
adavidzh commentedon Apr 6, 2022
Probably close. It's working for me on M1.
massisenergy commentedon Jun 10, 2022
Not working in MacOS 12.4, M1Pro.
I added the
dyn.ah62d4rv4ge81e5pein proper place in~/Library/QuickLook/QLColorCode.qlgenerator/Contents/Info.plistbut it still doesn't work. It used to work for.Rmdfiles before.xxyxxyxyx1 commentedon Jul 22, 2022
I get the same errors as massisenergy when attempting to preview
.pyfiles. I have an M1Max computer with macOS 12.5massisenergy commentedon Jul 26, 2022
Probably this repo is abandoned & out of maintenance. For now, I am using QLMarkdown and SourceCodeSyntaxHighlight, which does the job fine (quicklook preview) so far for all my required files.
Juskinbo commentedon Aug 6, 2024
M1 Pro,MacOS 12.7 works