With Xcode 13.2 it is now possible to use async/await also in code prior to macos 12.0 (iOS....).
As I like this new pattern i have started to migrate existing code to this pattern and I have found out, that although you can use async/await in your own code, you cannot (yet?) call system libraries that adopt this pattern.
I have for example tried to replace URLSessions dataTask(with:completionHandler:)
with the async version data(from, delegate) async throws -> (Data, URLResponse)
but this fails with the error, that this function is only available on macos 12.0.
Am I missing something or is Apple planning to also add backward compatibility for older OS versions? Like this it is just half that funny.