iOS SDK: Logout function became async?


Since using Xcode 13 I’m getting an error “‘async’ call in a function that does not support concurrency” when calling app.currentUser!.logOut().
This forces me to use async/await APIs that exist only on iOS 15.0 and macOS 12.0, which doesn’t make sense.
Any idea why this is happening and what should I do?