安装了不同版本的AutoCAD之后卸载再重装时候出现 “安装错误: AutoCAD for Mac 2022安装无法完成。错误112″。
解决方法:
打开Finder,单击“前往”>“实用程序”>“终端”。
在终端中逐个执行以下命令,每个命令后跟ENTER键,提示Password:时要输入你的Mac开机密码再按ENTER键确认,注意:密码输入过程时看不见的。
sudo rm -rf /Library/Application\ Support/Autodesk/AdODIS
sudo rm -rf /Library/Application\ Support/Autodesk/DDA
sudo rm -rf /Library/Application\ Support/Autodesk/ODIS
sudo rm -rf /Library/Application\ Support/Autodesk/AdskLicensing
sudo rm -rf /Library/Application\ Support/Autodesk/AdskLicensingService
sudo rm -rf /Library/Application\ Support/FLEXnet\ Publisher
sudo rm -rf /Library/Frameworks/Adlm.framework
sudo rm -rf $HOME/Adlm
sudo rm -rf $HOME/Library/Application\ Support/Autodesk
sudo rm -rf $HOME/Library/Logs/Autodesk
sudo rm -rf $HOME/Library/Logs/Autodesk\安装程序
sudo rm -rf $HOME/Library/Application\ Support/AutodeskInstaller
sudo launchctl unload /Library/LaunchDaemons/com.autodesk.AdskLicensingService.plist
sudo pkgutil –forget com.autodesk.AdskLicensing
sudo rm /Library/LaunchDaemons/com.autodesk.AdskLicensingService.plist
sudo killall AdskLicensingService
操作完之后重启一下Mac系统基本就可以了。
如果上述操作未能解决,请再次尝试终端输入下面的命令运行,之后再重启macOS系统就可以完美解决了。
sudo rm -rf /Users//Library/Application\ Support/Autodesk*
sudo rm -rf /Users//Library/Logs/Autodesk*
sudo rm -rf /Library/LaunchDaemons/com.autodesk.*
sudo rm -rf /Library/Application\ Support/Autodesk*
sudo rm -rf /Applications/Autodesk
sudo pkgutil —pkgs | grep -i autodesk | xargs -n1 pkgutil —fogter