Can I code using Swift on Mavericks?

Is is possible to code using Swift on OS X Mavericks? I found the manual on iBooks but that's as far as I can get right now.


To code using Swift you'll need Xcode 6.

Xcode 6 beta is compatible with Mavericks 10.9.3 and upwards so yes it is possible to write Swift code in Mavericks!

NB: As of July 11, Xcode 6 beta is available freely on Apple's website.

  • Where can I download Xcode (n) Beta?

You can write iOS apps with Swift in Xcode 6 Beta. Go to the Apple Dev center to get the newest Xcode. I would keep my stable version of Xcode installed as the beta may be a little buggy, but it will get you started till a stable version gets release which will probably this fall.


Currently the only way to use Xcode for Swift programming is through the Beta version of Xcode 6. However, in order to download the Beta you must join (or be a member of) the iOS Developer Program or the Mac Developer Program.