Conversation
|
This would require everyone that is developing on CodeEdit to update to Xcode 15. Do we want to enforce that already? |
|
I built this on Xcode 14 and it worked? |
matthijseikelenboom
left a comment
There was a problem hiding this comment.
Nvm then, I've said nothing haha
|
@matthijseikelenboom I had a caching problem and now it is failing to build with this change on Xcode 14. |
|
@Wouter01 do you know the easiest way to keep it building on both Xcode 14 and 15? |
|
@bombardier200 I do not at the moment. But, given that the amount of usage of swift 5.9 exclusive features will increase in the codebase rapidly (swiftlint has new style guides etc) I think requiring Xcode 15 is fine. It also works on Ventura so everyone should be able to upgrade |
|
Where are we on this? |
|
It's a principle decision if everyone should be forced to start using Xcode 15, because if it's merged, you can't use Xcode 14 anymore |
|
But all that has changed was @Wouter01's window package version number. This package version is not compatible with Xcode 14? |
|
It seems like it isn't, no |
The package is compatible with Xcode 14. However, the new environment modifier introduced in SwiftUI (https://developer.apple.com/documentation/swiftui/scene/environment(_:_:)) is not available in Xcode 14. A possibility would be to add compiler flags (#if swift version > 5.9 ...), but it's rather unnecessary. @matthijseikelenboom, is there a reason we shouldn't jump to Xcode 15? It's generally not a good idea to mix different Xcode versions (and different swift toolchains) |
|
@Wouter01 Oh I'm not against updating to Xcode 15, but I think it has to be a conscious decision |
|
@lukepistrol would we need an update to our test runner for this? Can you do this? |
|
@austincondiff I can definitely update to Xcode 15. Just let me know |
|
@lukepistrol I updated macOS and downloaded Xcode 15 and put it in the Applications folder. Is there anything else we need to do? |
Maybe just a brew upgrade. |
|
@lukepistrol I did a |
|
Closing because this was necessary and was merged with #1441. |
Description
Updates Swiftui-windowmanagement to latest version to fix CodeEdit from not building on Xcode15.
Related Issues
Checklist
Screenshots