MAC上非常经典的系统工具Alfred下载后一直无法打开,通过CleanApp发现有崩溃报告,通过记事本打开后提示如下:
Dyld Error Message: Library not loaded: @rpath/Alfred Framework.framework/Versions/A/Alfred Framework Referenced from: /Applications/Alfred 3.app/Contents/MacOS/Alfred 3 Reason: no suitable image found. Did find: /Applications/Alfred 3.app/Contents/MacOS/../Frameworks/Alfred Framework.framework/Versions/A/Alfred Framework: code signature in (/Applications/Alfred 3.app/Contents/MacOS/../Frameworks/Alfred Framework.framework/Versions/A/Alfred Framework) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?) /Applications/Alfred 3.app/Contents/MacOS/../Frameworks/Alfred Framework.framework/Versions/A/Alfred Framework: stat() failed with errno=1
通过Google搜索其中一段代码:
Reason: no suitable image found. Did find: /Applications/Alfred 3.app/Contents/MacOS/../Frameworks/Alfred
找到一个网页https://www.reddit.com/r/techsupport/comments/avrq2u/cannot_open_an_application/
有个网友在最后回复
Oh I know that. We should disable SIP protection in mac, which will solve this problem.
然后我在百度搜索 :MAC SIP
找到:https://www.jianshu.com/p/fe78d2036192(Mac开启关闭SIP(系统完整性保护))
根据该办法关闭了SIP后,Alfred可以成功使用,谨在此把解决问题的思路和方法记录一下,希望能帮助到有需要的人,以及给自己备用。
注:在关闭SIP之前,我已经设置了“允许任何来源下载的应用”。至于如何更改这个设置,https://blog.csdn.net/xuefujin/article/details/80264471 有解决方案。
至于Alfred最新版我就不共享了,网上一大堆,这个软件用惯了还真的有依赖性,非常好用哦。
网友评论