Hmmm... Looked at alamofire and looks like someone has reported a similar issue. https://github.com/Alamofire/Alamofire/issues/3896
They seem to be saying that it's a bug in the swift runtime however: https://github.com/swiftlang/swift/issues/75952
Hopefully a fix is coming very soon from Apple, since it doesn't look like a workaround is available.
Topic:
Programming Languages
SubTopic:
Swift
Tags: