[swift-users] Is it possible to install Swift 4 on El Capitan with Xcode 8?
jordan_rose at apple.com
Tue Sep 5 12:20:04 CDT 2017
> On Sep 4, 2017, at 20:06, Mr Bee via swift-users <swift-users at swift.org> wrote:
> 2017-09-05 3:47 GMT+07:00 Fritz Anderson via swift-users <swift-users at swift.org <mailto:swift-users at swift.org>>:
> In your position, I’d go to the Downloads part of Swift.org <http://swift.org/> and fetch the latest build of the Swift 4 toolchain for Mac. (It’s still in flux, but it’ll probably be promoted to latest/stable this month.)
> Install the toolchain. This adds a Toolchains tab to the Components section of the Preferences window. Select Swift 4.0 Snapshot.
> Ok, I'll try it out once Swift 4 is officially released. So, that means Swift 4 will work on Xcode 8, I suppose.
Unfortunately this will only work for pure Swift apps; the support libraries for Foundation, UIKit, etc are built against the Xcode 9 SDKs and will not work with Xcode 8. I'm afraid you're stuck with Swift 3 if you want to make Cocoa or Cocoa Touch apps, at least officially.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users