https://www.zhihu.com/question/58579274
根本原因在于texstudio默认的调用本地poppler的目录与实际安装目录不匹配。这是因为mac系统升级后文件布局发生改变opt/homebrew/Cellar/poppler,但是texstudio仍然用老目录导致usr/local/share/poppler
对于M1 Mac可以参考如下步骤:
1. 查看当前texstudio的libpoppler版本,
cd /Applications/texstudio.app/Contents/Frameworks
ls
2. 查看texstudio的libpoppler调用的本地poppler目录,
strings -a /Applications/texstudio.app/Contents/Frameworks/libpoppler.116.dylib | grep poppler
3. 找到本地安装的poppler目录,一般homebrew安装的在/opt/homebrew/Cellar/poppler下,
cd /opt/homebrew/Cellar/poppler
ls
4. 将二者建立连接,本地poppler的share/poppler连接到libpoppler默认调用的目录share
sudo ln -s /opt/homebrew/Cellar/poppler/21.12.0/share/poppler /usr/local/share/poppler