I’ve got the latest 2.2 version on my machine (OS X 10.11, Xcode v 7.2.1). Previously calling Swift build would compile. Today When calling Swift build I get the message
invalid value 'Swift' in '--driver-mode='
I get this message regardless of the project I’m working on. I created the hello world project from the Swift.org page and got this message. I reinstalled the compiler and still get the same message. I upgraded Xcode to 7.2.1 and still got the same message.
Anyone else having this problem?
Anybody have an idea how I can get compiling again?
"swift build" should be lowercase. Please open a bug on bugs.swift.org to report this failure mode, though, it should at least give a sensible diagnostic.
- Daniel
···
On Feb 3, 2016, at 9:04 AM, barney.cit via swift-users <swift-users@swift.org> wrote:
I’ve got the latest 2.2 version on my machine (OS X 10.11, Xcode v 7.2.1). Previously calling Swift build would compile. Today When calling Swift build I get the message
invalid value 'Swift' in '--driver-mode='
I get this message regardless of the project I’m working on. I created the hello world project from the Swift.org <http://swift.org/> page and got this message. I reinstalled the compiler and still get the same message. I upgraded Xcode to 7.2.1 and still got the same message.
Anyone else having this problem?
Anybody have an idea how I can get compiling again?