1

I'm having what is probably a dumb moment. I've made several Swift apps for iOS and now I wanted to create a Swift app for OS X. When I create a new OS X Project, I am only given the choice for Objective-C in the language drop down menu. Swift is not listed for OS X.

Why would that be? What am I missing? I am running the latest Xcode 6 as well as the latest Yosemite beta.

New iOS Project: New iOS Project

New OS X Project: New OS X Project

Justin Moore
  • 884
  • 2
  • 9
  • 22

1 Answers1

2

There has been some changes in Xcode 6.0 support for GM. For Xcode 6.0, there will not be support for Swift on OSX. In order to use Swift and target OSX, you need to get Xcode 6.1 for the Member Center.

According to the Release notesPDF for Xcode 6.0 GM:

A future version of Xcode to be released along with OS X Yosemite will add Swift support for OS X, including playgrounds and REPL. Xcode 6.0 only supports Swift for iOS projects and playgrounds. A beta release of Xcode with Swift support for both OS X and iOS is available at [The Member Center].

It will run on Mavericks, so Yosemite is not required.

vcsjones
  • 138,677
  • 31
  • 291
  • 286