You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to create a 5.0 manifest, it doesn't work and gives me a misleading error message
$ head Package.swift
// swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "something",
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
$ jw-swift-latest swift build
/private/tmp/something: error: package at '/private/tmp/something' is using Swift tools version 4.2.0 which is no longer supported; use 5.0.0 or newer instead
$ jw-swift-latest swift --version
Apple Swift version 5.0-dev (LLVM 743858f81d, Clang 051fdefbe8, Swift e231ae1638)
Target: x86_64-apple-darwin18.2.0
the error is
is using Swift tools version 4.2.0 which is no longer supported; use 5.0.0 or newer instead
what I think it wants to say is that it doesn't support 5.0 yet which is also surprising...
The text was updated successfully, but these errors were encountered:
We didn't add the 5.0 tools version until Nov 30, so that's why it doesn't work in the snapshot. We probably need to cherry-pick a bunch of commits to the 5.0 branch.
Environment
5.0 snapshot from 12th December 2018
Additional Detail from JIRA
md5: f6accb366ae1b5844a5afee399271e97
Issue Description:
If I try to create a 5.0 manifest, it doesn't work and gives me a misleading error message
the error is
what I think it wants to say is that it doesn't support 5.0 yet which is also surprising...
The text was updated successfully, but these errors were encountered: