gpt4 book ai didi

objective-c - 为 XCode4 安装 cocos2d 模板

转载 作者:行者123 更新时间:2023-11-29 11:22:04 25 4
gpt4 key购买 nike

我正在尝试为 XCode 4 安装 cocoa2d 模板。我尝试安装,它说安装正常,但我没有在那里看到模板。我也重启了我的电脑...

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!

最佳答案

您是否尝试过这些说明? http://www.cocos2d-iphone.org/archives/1412

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

$ cd ~/Library/Developer/Xcode/Templates

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

关于objective-c - 为 XCode4 安装 cocos2d 模板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6529083/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com