Swift Evolution has rejected SE-0554, the proposal for deployment-target conditional compilation. The decision was announced on November 9.
The idea was to let code choose an implementation at compile time based on the app's minimum deployment target. But an app that supports an older OS can still run on a newer one.
The language steering group wants Swift to use what is available on the OS where the app actually runs, rather than lock choices to the oldest supported version. It also raised concerns about library builds depending on their clients' deployment targets.
The problem is real; this particular solution was not accepted. That's an important distinction for anyone maintaining apps across macOS or iOS versions.
#SwiftLang #SwiftEvolution
https://t.co/tfysmp9mIZ