【问题标题】:Error -60005 when install Cocos2d-iPhone v3 RC4安装 Cocos2d-iPhone v3 RC4 时出现错误 -60005
【发布时间】:2014-04-10 12:47:03
【问题描述】:

当我尝试安装 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

有没有比这种方式更好的方法?

【问题讨论】:

  • 你真的重新下载了包吗?听起来它已经损坏了。
  • 我读这篇文章的方式,似乎你正在 sudo'ing 安装程序,并且抱怨你不能以 root 身份运行它,即不要 sudo,只需运行它。虽然这不是第一次错误消息是虚假的,但我会尝试一下。
  • @LearnCocos2D:谢谢,但我不这么认为。因为它在其他 Mac 上运行良好
  • @YvesLeBorg:如果我在没有“sudo”的情况下运行,我会收到错误 -60005

标签: xcode cocos2d-iphone


【解决方案1】:

我也有同样的问题。

我认为你安装了旧的 cocos2d-iphone 导致了这个问题。

你应该先删除旧的 cocos2d-iphone。我删除了:

~/Library/Developer/Xcode/cocos2d v3.x

然后重新安装。它对我有用。

希望它对你有用:)

【讨论】:

  • 是的,你是对的。我安装了 cocos3d rc3。谢谢! :D
猜你喜欢
  • 2021-03-15
  • 1970-01-01
  • 1970-01-01
  • 2020-10-28
  • 2019-08-01
  • 2019-03-08
  • 2021-06-03
  • 2017-12-30
  • 2014-02-28
相关资源
最近更新 更多