背景情况:从windows转到Mac,从git上把项目clone下来跑,报Cause: error=86, Bad CPU type in executable错
解决方案:升级rosetta库,然后编译,解决。
升级库指令:
sudo softwareupdate --install-rosetta
- 然后输入密码
- 然后entry A
- 结束
背景情况:从windows转到Mac,从git上把项目clone下来跑,报Cause: error=86, Bad CPU type in executable错
解决方案:升级rosetta库,然后编译,解决。
升级库指令:
sudo softwareupdate --install-rosetta
- 然后输入密码
- 然后entry A
- 结束