Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall cocos2d templates?

Situation:
- Just few hours ago I intalled cocos2d 2.x
- But just before it I delete template files of cocos2d 1.0.1
- Now I can't see template files of cocos2d 2.x
- In Xcode both of the templates are visible, and I can use them.

Question: How I can delete cocos2d 1.0.1 templates, if I already delete files of this templates? Why I can't see files of cocos2d 2.x?

Thanks in advance!

like image 512
Anatoliy Gatt Avatar asked Apr 23 '12 19:04

Anatoliy Gatt


2 Answers

This will be helpful for those who try to reinstall or delete Cocos2D Templates!

  • If you delete all the files from thi path: ~/Library/Application Support/Developer/
  • If you tried to delete it with command in Terminal.app: cd "your path" ./install-templates.sh -u -f
  • If you tried to reinstall Xcode.app

Nothing helps?

I found solution of this problem!

What you need to do is:

  • Open the Finder
  • Press Shift-Command-G
  • Enter the Path: /Users/Your_Username/Library/Developer
  • Press Go
  • Open Xcode Folder
  • Open Templates Folder
  • Delete Cocos2D Folder
  • Open File Templates Folder
  • Delete Cocos2D Folder

That's all!

P.S As well you can modify the names of templates and tabs in Xcode. Simply just by renaming folders of the templates.

P.P.S By the way right now you can upgrade to Cocos2D 2.x. Download it from here: Cocos2D

like image 170
Anatoliy Gatt Avatar answered Nov 12 '22 20:11

Anatoliy Gatt


For Xcode 5.1 and later

Command+Alt+G (go to) /Users//Library/Developer/Xcode/Templates

Then delete 3d party templates folder.

like image 1
Sergey Pekar Avatar answered Nov 12 '22 19:11

Sergey Pekar