-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
carthage failed to build on 10.11 #42378
Comments
@apjanke I was able to get it to install by installing Xcode 6.4 and setting the Command Line Tools to that version I'm also on 10.11 Beta 5 FWIW |
@boek Unfortunately using Xcode 6.4 on OS X 10.11 will break most other things 😭 |
From what I've read, a given Xcode (or a given Xcode on a given OS version?) will only support the newest version of Swift at the time of its release. But newer versions of Xcode might not run on older OS versions. And Swift will intentionally have breaking non-backward-compatible changes. There's an automatic source code translator for Swift that will convert it to a newer version. But if upstream does that, then it might not run on older versions of OS X. So... it sounds like you can't have a single Swift program source tree that can be used across several versions of OS X, without going through some contortions to build it? Is there a way for formulae to specify that they require exact version ranges of Xcode? That could at least get a more user-friendly error for this. I think it would be okay to run Xcode 6.4 on 10.11 as long as it's not your default Xcode, and you don't have its CLT installed. (E.g. if you installed it as |
Moving to tracking in #40837. If you report this one upstream let us know in that thread and I'll add a link to that report, Thanks! Echoing Mike's comment above, whilst 6.x Xcode may fix the Swift issue, expect it to break a lot of other stuff. Homebrew will follow whatever Xcode you've set with |
On OS X 10.11 Public Beta 3.
https://gist.github.com/5eab26854845c1aa00f2
Looks like it's not compatible with the current version of Swift.
The text was updated successfully, but these errors were encountered: