如何卸载cocos2d模板? [英] How to uninstall cocos2d templates?

查看:134
本文介绍了如何卸载cocos2d模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

情况:

- 几个小时前,我打算使用cocos2d 2.x

- 但在之前,我删除了cocos2d 1.0的模板文件。 1

- 现在我看不到cocos2d 2.x的模板文件

- 在Xcode中,这两个模板都是可见的,我可以使用它们。



问题:如果我已删除这些模板的文件,如何删除cocos2d 1.0.1模板?为什么我看不到cocos2d 2.x的文件?



提前感谢!

解决方案

这将有助于那些尝试重新安装或删除Cocos2D模板的用户!




  • 如果您从thi路径中删除所有文件:〜/ Library / Application Support / Developer /

  • 如果您尝试使用Terminal.app中的命令删除它: cdyour path./install-templates.sh -u -f

  • 如果您尝试重新安装Xcode.app

这个问题!


您需要做的是:




  • 打开 Finder

  • Shift-Command-G

  • 用户/ 您的用户名 / Library / Developer

  • 开始

  • 文件夹

  • 打开模板文件夹

  • 删除 Cocos2D < >
  • 打开文件模板文件夹

  • 删除 Cocos2D 文件夹



    • 就是这样!



      PS 修改Xcode中模板和选项卡的名称。只需重命名模板的文件夹。



      P.P.S 顺便说一句,现在你可以升级到Cocos2D 2.x.从此处下载: Cocos2D


      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!

      解决方案

      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

      这篇关于如何卸载cocos2d模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆