0

我正在尝试安装 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 模板??任何帮助:)谢谢

4

2 回答 2

1

该脚本显然试图从

/Users/Torgerson/cocos2d

/Users/Torgerson/cocos3d

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

于 2012-07-11T15:58:40.163 回答
0

是安装问题造成的。遵循正确的安装步骤。我也遇到了同样的问题。因此,只需完成以下链接中的步骤,

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

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

于 2013-04-16T06:22:20.390 回答