-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't compile for Swift 5 #465
Comments
Xcode Version is 10.1 |
Ah I see, I was confused. The problem is the inverse; we're using Swift 5, which requires Xcode 10.2, which requires macOS 10.14+. Unfortunately, there isn't a real workaround outside of upgrading macOS, or reverting #464. :( |
Oh, I see now. I'm trying to figure out a workaround by downloading the Swift 5 toolchain. |
Never mind, it's going to take too much hacking of Xcode, which I don't want to mess around with as an iOS developer. I'll try reverting #464 |
Do you have the ability to update to 10.14? If you're doing regular Xcode work it's probably worth it, we're going to get new Xcode betas in a few weeks (WWDC) and they'll likely require 10.14, so might be worth upgrading now? |
Definitely would be worth it. Except, I can't. It's a long story, but... My mac is a mid-2007 iMac. It's not allowed to run anything above El Capitan. But I was able to upgrade the CPU and WiFi card, and then use the High Sierra Patcher tool to upgrade to High Sierra. Then I tried upgrading to Mojave... There is a macOS Mojave patcher tool, which I tried, but this computer has a pre-metal graphics card, so the graphics are absolutely terrible. But there was some sort of patch on Github that I used, and it looked pretty good. Until I realized that my computer stopped being able to turn on, at which point I just went back to High Sierra. |
I understand! What I would suggest is that you just locally revert #464, which should let everything build as usual. |
same, i think?
|
Forcing users to have the newest, fanciest Mac is bad. Graceful downgrading (like to old xcode) is good. |
I broadly agree; if we were distributing binaries I Would want to support back several OS versions. For development, however, I'm okay with keeping up with "latest - 1". That said, I will concede that the move to 5.0 might have been a bit premature, it's annoying that we don't work on high sierra. 😒 |
Yea, a lot of that blame can probably go to Apple for making things obsolete so quickly. The weird divide between El Capitan and Sierra was a big hurdle for me. Now I need to figure out a way to upgrade to Mojave with a graphics card that doesn't support Metal... And now they're getting ready to release macOS Catalina? |
This seems to be an Xcode 10.1 <-> Swift 5 issue, not one w/ Xi editor. Could this issue be closed? |
Since xi-mac does compile with Swift 5, I’m going to close this issue. |
Xi-Mac Issue Template
Details
macOS version: 10.13.6
Error message:
Expected vs Actual
Expected: A successful build
Actual: An error about Swift 5
Description
When following the installation instructions, everything goes fine until running
xcodebuild
, at which point I get the above error message. It seems that xi-mac doesn't support Swift 5?The text was updated successfully, but these errors were encountered: