Closed yisibl closed 4 years ago
是不是签名问题导致的?我记得macOS 10.15还是什么时候,要求所有二进制,包括命令行,以及这种插件,都需要走苹果服务器认证后的签名。这个当时产出的二进制没有签名。
你先尝试本地测试下,用这个命令,把终端输出的日志发给我看看
qlmanage -t foo.avif -d 4
Beginning in macOS 10.14.5, software signed with a new Developer ID certificate and all new or updated kernel extensions must be notarized to run. Beginning in macOS 10.15, all software built after June 1, 2019, and distributed with Developer ID must be notarized. However, you aren’t required to notarize software that you distribute through the Mac App Store because the App Store submission process already includes equivalent security checks.
如果是这个问题的话,麻烦先临时绕过一下,在系统偏好设置.app中,选择“始终允许”,或者你临时执行这个命令,然后预览你的AVIF文件,完成一次后,再还原回去这个设置。我之后重新找个付费的开发者证书,打包一个二进制上传上来
sudo spctl --master-disable
sudo spctl --master-enable
@yisibl Try this one instead ? Which rebuilt using the Developer Account.
可以了 thx
使用空格预览文件没有缩略图。