What's new in SwiftUI - .textSelectable

In the video at around 29:17 Taylor mentions that text selection can now be enabled using the textSelection modifier. And we also introduced this modifier on iOS and iPadOS where it enables text to be copied or shared on long-press. However, when I try to add this modifier to my code in Xcode Version 13.0 beta (13A5154h) I get the error:

Am I missing something?

Thanks

I get the same error when trying to access this API on iOS. Is this going to remain exclusive for macOS?

What's new in SwiftUI - .textSelectable
 
 
Q