1
我想爲XCode 4安裝cocoa2d模板。我嘗試安裝,它說它安裝的很好,但是我沒有在那裏看到模板。我也重新啓動了我的電腦...爲XCode4安裝cocos2d模板
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!
完美!我正面臨着這個問題。我剛剛讀了你的答案,它像一個魅力! Thankx +1肯定! –