安装cocos3d时出现问题

时间:2012-07-11 03:01:02

标签: iphone cocos2d-iphone cocos3d

我正在尝试安装cocos3d,在安装过程中我必须找到安装cocos2d时的所有文件。我不能为我的生活找到这些,所以我只是重新下载并重新安装它并在尝试安装cocos3d时使用这些文件,但是它将所有这些错误吐回我身上

cocos3d installer

Copying cocos2d libraries to workspace
...copying cocos2d files
...copying cocos2d dependency files
rsync: link_stat "/Users/Torgerson/cocos2d/external/FontLabel" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...copying CocosDenshion files
rsync: link_stat "/Users/Torgerson/cocos2d/CocosDenshion/CocosDenshion" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...copying cocoslive files
rsync: link_stat "/Users/Torgerson/cocos2d/cocoslive" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...copying cocoslive dependency files
rsync: link_stat "/Users/Torgerson/cocos2d/external/TouchJSON" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
done!

Installing Xcode 4 cocos3d iOS template
----------------------------------------------------

...removing old template: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d Application.xctemplate
...creating destination directory: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d Application.xctemplate
...copying cocos3d Application template files
rsync: link_stat "/Users/Torgerson/Templates/Xcode4/cocos3d Application.xctemplate/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...creating destination directory: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d Application.xctemplate/Resources
rsync: link_stat "/Users/Torgerson/Demos/Common/Resources/hello-world.pod" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...removing old template: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d-base.xctemplate
...creating destination directory: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d-base.xctemplate
...copying cocos3d-base template files
rsync: link_stat "/Users/Torgerson/Templates/Xcode4/cocos3d-base.xctemplate/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...removing old template: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d-lib.xctemplate
...creating destination directory: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d-lib.xctemplate
...copying cocos3d-lib template files
rsync: link_stat "/Users/Torgerson/Templates/Xcode4/cocos3d-lib.xctemplate/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...copying cocos3d files to cocos3d-lib template
rsync: link_stat "/Users/Torgerson/cocos3d" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
done!

到目前为止,我无法创建一个新的cocos3d项目,它全部运行但我在xcode中没有cocos3d模板?任何帮助:)谢谢

2 个答案:

答案 0 :(得分:1)

该脚本显然试图从

复制文件
/Users/Torgerson/cocos2d

/Users/Torgerson/cocos3d

将cocos2d和cocos3d移动到这些目录应该修复它。

答案 1 :(得分:0)

这是由于安装问题。遵循正确的安装步骤。我也遇到了同样的问题。所以,请完成以下链接中的步骤,

http://www.techipost.com/2011/02/20/installing-cocos3d-for-iphoneipad/

您可以使用终端窗口检查您是否安装了cocos3d模板。