Repository navigation
Swift 5.2 migration - #2972
Swift 5.2 migration#2972olejnjak wants to merge 9 commits into
Conversation
|
The deadline for submitting this with the iOS 13 SDK is June 30th (see https://developer.apple.com/news/?id=03262020b), so I think that would make supporting Xcode 10.x unnecessary? That would be a better barometer to shift things. |
|
I imagine for people migrating (as it’s a process) untouched-for-periods-of-time apps that don‘t ’just compile‘ under Xcode 11.X — having Carthage available on the still-using-older-tools portion of that path would be important. That said, there’s probably a middle ground to be had… in a number of ways. ✨ One great contribution — if someone were willing to explore it — would be examining a solid way for High-Sierra–based Homebrew-consuming Carthage users to be informed via Homebrew formula methods of ways to install Carthage (maybe older Carthage versions) outside the Homebrew ways. |
|
@jdhealy Agreed, but given Carthage uploads binaries as part of releases I think it would be fair to expect them to manually install a working version and have the info appropriately available. https://github.com/Homebrew/homebrew-core/blob/master/Formula/carthage.rb just calls |
|
Yep, I already removed my fork of Tentacle and will update this PR 🙂 |

This PR demonstrates what changes would be necessary (or useful) to migrate Carthage to use Swift 5.2. TL;DR not much, just removing custom
Resultdependency would be fine. And for further development it would be very useful as in Swift 5 customResultcan be easily mistaken with the built-in type.Is there any reason that Carthage still uses old Swift version and old Xcode? Requiring ancient
ReactiveSwiftjust makes development of tools, that would like to useCarthageKit, difficult.