Swift on Xcode 6

I'm trying to use Swift on Xcode 6 for an OS X application, but it defaults the language to Objective-C and won't let me switch it to Swift. I can use Swift for iOS but not OS X. I have the latest software so I'm not sure what the problem is. Can someone help?


Solution 1:

The current version of Xcode doesn’t support Swift for OS X… yet.

The App Store update description says:

* NOTE: Swift support for OS X is coming in a future Xcode update

So you'll either have to download the beta version from http://developer.apple.com/xcode/downloads or wait for support to be added for the release channel.