如何在 Xcode 4 中安装 Cocos2d PROJECT 模板?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5287081/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 20:28:17  来源:igfitidea点击:

How to install Cocos2d PROJECT templates in Xcode 4?

iphonexcodeios4cocos2d-iphonexcode4

提问by Duncan

I've probably googled this question in 20 different syntaxes and I can't find the answer. PLEASE HELP!!! How do I install the Cocos2d project templates in xcode 4? I've tried different ways, but they still don't show up when I build a new project in Xcode 4! HELP!

我可能已经用 20 种不同的语法在谷歌上搜索过这个问题,但我找不到答案。请帮忙!!!如何在 xcode 4 中安装 Cocos2d 项目模板?我尝试了不同的方法,但是当我在 Xcode 4 中构建一个新项目时,它们仍然没有出现!帮助!

采纳答案by Sergi

回答by 9to5ios

Download "cocos2d-iphone"from This Link.

从此链接下载“cocos2d-iphone”

And follow instructions in Pics.First stepSecond StepFinal Step

并按照图片中的说明进行操作。第一步第二步最后一步

回答by Hector204

You don't yet. The author of cocos-2d has said that Xcode 4 is not supported yet, a new version should be out shortly with support.

你还没有。cocos-2d 的作者说目前还不支持 Xcode 4,新版本应该很快就会支持。

What's next:

v1.0-rc in 3~4 weeks: It will includes fixes, fixes, fixes, and Xcode 4 templates

下一步是什么:

v1.0-rc 在 3~4 周内:它将包括修复、修复、修复和 Xcode 4 模板

http://www.cocos2d-iphone.org/archives/1404

http://www.cocos2d-iphone.org/archives/1404

回答by taintedzodiac

The project templates are available now. The file templates are not as of this post.

项目模板现已可用。文件模板与本文不同。

回答by iPera

For file template you could do the following for now:

对于文件模板,您现在可以执行以下操作:

  1. Download "cocos2d_1.0.0.zip" from https://files.me.com/miroslav.perovic/7despc
  2. copy the “cocos2d 1.0.0.zip″ to /Developer/Library/XCode/Templates/File templates and unpack it
  1. https://files.me.com/miroslav.perovic/7despc下载“cocos2d_1.0.0.zip”
  2. 将“cocos2d 1.0.0.zip”复制到/Developer/Library/XCode/Templates/File 模板并解压

PS This is not official cocos2d template files.

PS 这不是官方的 cocos2d 模板文件。