当我尝试安装 Cocos2d-iphone 3.0.0 RC4
时,出现错误:(在没有 sudo
的情况下运行)
Error -60005 occurred while executing script with privileges.
因此,我尝试显示其包内容并使用终端执行以下操作:cd ...Cocos2D Installer 3.0.0.app/Contents/MacOS
我尝试这个命令:(使用sudo
)
sudo ./Cocos2D\ Installer\ 3.0.0
它有效,但我得到了一些错误的日志:
[1m>>> Installing Cocos2D-v3.0.0 files (B[m
[1m>>> Installing Cocos2D-v3.0.0 templates (B[m
[4m[1mCocos2D Template Installer (Cocos2D-v3.0.0)(B[m
Error: [31m✖︎(B[m Script cannot be executed as root.
In order for it to work properly, please execute the script again without 'sudo'.
If you want to know more about how to use this script execute '/Users/viethung/Downloads/Cocos2D-v3.0.0/install.sh --help'.
[1m>>> Building/Installing Cocos2D-v3.0.0 documentation, this may take a minute.... (B[m
appledoc version: 2.2 (build 963)
Generation step 4/5 failed: GBDocSetInstallGenerator failed generating output, aborting!
Documentation set was installed, but couldn't reload documentation within Xcode.
Xcode got an error: No documentation set present at specified path.
[1m>>> Cocos2D-v3.0.0 installation complete! (B[m
还有比这个更好的方法吗?
最佳答案
我也有同样的问题。
我认为您安装了旧的 cocos2d-iphone 并且导致了这个问题。
您应该先删除旧的 cocos2d-iphone。我删除了:
~/Library/Developer/Xcode/cocos2d v3.x
然后再次安装。它对我有用。
希望它对你有用:)
关于xcode - 安装Cocos2d-iPhone v3 RC4时出现错误-60005,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22926482/