Swift 5.7: Runtime parametrized protocols

Hello Swift forum!

I recently started experimenting with new Swift 5.7 features using Xcode 14 Beta. I faced this issue where I'm trying to cast my value into parametrized protocol type, but facing the following error:

Runtime support for parameterized protocol types is only available in iOS 99.0.0 or newer

Full error presented by Xcode:

Is this a normal behavior? Should we, as developers, expect this to be fixed in future Beta releases?

5 Likes

Cc @Arnold

Xcode 14.0 beta3
Runtime support for parameterized protocol types is only available in iOS 16.0.0 or newer
Can it support iOS 13.0?

No, that's why it produced that error.