升级Xcode后重新打开编译工程,报错“xxx.Permission denied,Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure”,如下图:
只需对sh重新授权即可,方法如下:复制指令“sudo chmod -R 777 /var/log/”,终端输入,键入电脑密码,回车即可。如下图:
升级Xcode后重新打开编译工程,报错“xxx.Permission denied,Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure”,如下图: