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

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

问题描述

情况:
- 就在几个小时前,我安装了 cocos2d 2.x
- 但在此之前,我删除了 cocos2d 1.0.1 的模板文件
- 现在我看不到 cocos2d 2.x 的模板文件
- 在 Xcode 中,两个模板都是可见的,我可以使用它们.

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

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?

提前致谢!

推荐答案

这对尝试重新安装或删除 Cocos2D 模板的人有帮助!

  • 如果您从 thi 路径中删除所有文件:~/Library/Application Support/Developer/
  • 如果您尝试在 Terminal.app 中使用命令删除它:cd "your path"./install-templates.sh -u -f
  • 如果您尝试重新安装 Xcode.app

没有任何帮助?

我找到了解决这个问题的方法!

你需要做的是:

I found solution of this problem!

What you need to do is:

  • 打开Finder
  • Shift-Command-G
  • 输入路径:/Users/Your_Username/Library/Developer
  • 开始
  • 打开 Xcode 文件夹
  • 打开模板文件夹
  • 删除Cocos2D文件夹
  • 打开文件模板文件夹
  • 删除Cocos2D文件夹
  • 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

就是这样!

P.S 您也可以在 Xcode 中修改模板和选项卡的名称.只需重命名模板的文件夹即可.

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顺便说一句,现在你可以升级到 Cocos2D 2.x.从这里下载:Cocos2D

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

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

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