Установка шаблона cocos2d для XCode4 - PullRequest
1 голос
/ 30 июня 2011

Я пытаюсь установить шаблон cocoa2d для XCode 4. Я попытался установить, и он говорит, что он установлен нормально, но я не вижу там шаблонов.Я тоже перезагрузил компьютер ...

sudo ./install-templates.sh -u -f
cocos2d-iphone template installer



Installing cocos2d iOS template
----------------------------------------------------

removing old libraries: /Users/Ahmed/Library/Application Support/Developer/Shared/Xcode/Project Templates/cocos2d 0.99.5/cocos2d Application/
...creating destination directory: /Users/Ahmed/Library/Application Support/Developer/Shared/Xcode/Project Templates/cocos2d 0.99.5/cocos2d Application/
...copying template files
rsync: link_stat "/Users/Ahmed/.Trash/cocos2d-iphone-0.99.5/templates/cocos2d_app/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-40/rsync/main.c(992) [sender=2.6.9]
...copying cocos2d files
...copying cocos2d dependency files
...copying CocosDenshion files
...copying cocoslive files
...copying cocoslive dependency files
done!



Installing cocos2d iOS + box2d template
----------------------------------------------------

removing old libraries: /Users/Ahmed/Library/Application Support/Developer/Shared/Xcode/Project Templates/cocos2d 0.99.5/cocos2d Box2d Application/
...creating destination directory: /Users/Ahmed/Library/Application Support/Developer/Shared/Xcode/Project Templates/cocos2d 0.99.5/cocos2d Box2d Application/
...copying template files
rsync: link_stat "/Users/Ahmed/.Trash/cocos2d-iphone-0.99.5/templates/cocos2d_box2d_app/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-40/rsync/main.c(992) [sender=2.6.9]
...copying cocos2d files
...copying cocos2d dependency files
...copying CocosDenshion files
...copying cocoslive files
...copying cocoslive dependency files
...copying Box2D files
done!



Installing cocos2d iOS + chipmunk template
----------------------------------------------------

removing old libraries: /Users/Ahmed/Library/Application Support/Developer/Shared/Xcode/Project Templates/cocos2d 0.99.5/cocos2d Chipmunk Application/
...creating destination directory: /Users/Ahmed/Library/Application Support/Developer/Shared/Xcode/Project Templates/cocos2d 0.99.5/cocos2d Chipmunk Application/
...copying template files
rsync: link_stat "/Users/Ahmed/.Trash/cocos2d-iphone-0.99.5/templates/cocos2d_chipmunk_app/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-40/rsync/main.c(992) [sender=2.6.9]
...copying cocos2d files
...copying cocos2d dependency files
...copying CocosDenshion files
...copying cocoslive files
...copying cocoslive dependency files
...copying Chipmunk files
done!



Installing cocos2d Mac template
----------------------------------------------------

removing old libraries: /Users/Ahmed/Library/Application Support/Developer/Shared/Xcode/Project Templates/cocos2d 0.99.5/cocos2d Application - Mac/
...creating destination directory: /Users/Ahmed/Library/Application Support/Developer/Shared/Xcode/Project Templates/cocos2d 0.99.5/cocos2d Application - Mac/
...copying template files
...copying cocos2d files
...copying CocosDenshion files
done!
...copying file templates
removing old libraries: /Users/Ahmed/Library/Application Support/Developer/Shared/Xcode/File Templates/cocos2d 0.99.5/
...creating destination directory: /Users/Ahmed/Library/Application Support/Developer/Shared/Xcode/File Templates/cocos2d 0.99.5/



Installing CCNode file templates...
----------------------------------------------------

done!

1 Ответ

2 голосов
/ 30 июня 2011

Вы пробовали эти инструкции?http://www.cocos2d -iphone.org / archives / 1412

$ mkdir -p ~ / Library / Developer / Xcode / Templates

$ cd ~ / Library/ Разработчик / Xcode / Шаблоны

$ tar xzvf cocos2d-1.0.0-beta_templates.tar.gz

...