Xcode 6 beta:我不能选择Swift作为语言 [英] Xcode 6 beta: I'm not able to select Swift as language

查看:95
本文介绍了Xcode 6 beta:我不能选择Swift作为语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个新项目,选择Cocoa App,然后按下Next键,发现Objective C是唯一可用的语言。我点击了帮助|

I created a new project and selected Cocoa App and pressed next and found that Objective C was the only language available. I clicked on Help | What's new in Xcode Menu and it says that the swift language and lang support are the new features.

这里有什么问题?

更新:我从Apple网站更新了产品。尽管Xcode提供的文档说Swift是这个版本的一部分,为什么我不能使用swift?顺便说一句,Xcode版本是:版本6.0(6A313)。

UPDATE: I updated the product from the Apple site. Despite the documentation that came with Xcode saying that Swift is part of this release, why can't I get to use swift? By the way, the Xcode version is: Version 6.0 (6A313).

推荐答案

Swift Blog


今天是Swift在iOS上的GM日期。我们还有一个通用日期去Mac。 Swift for OS X目前需要OS X Yosemite的SDK,当Yosemite在今年秋天推出时,Swift也将是Mac上的GM。在此期间,您可以通过下载 Xcode 6.1 的测试版,继续使用Swift开发您的Mac应用程序。

Today is the GM date for Swift on iOS. We have one more GM date to go for Mac. Swift for OS X currently requires the SDK for OS X Yosemite, and when Yosemite ships later this fall, Swift will also be GM on the Mac. In the meantime, you can keep developing your Mac apps with Swift by downloading the beta of Xcode 6.1.

所以,你需要Xcode 6.1,而不是6.0。根据目前的下载页面,6.1将在Yosemite开发人员预览版或小牛版上。

So, you need Xcode 6.1, not 6.0. According to the download page at the moment, 6.1 will work on either the Yosemite Developer Preview or Mavericks.

这篇关于Xcode 6 beta:我不能选择Swift作为语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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