Async(priority:operation:) is only available in macOS 12.0 or newer

I keep running into this error ‘is only available in macOS 12.0 or newer`, for example with ‘async(priority:operation:)’ I am using a clean install of the 12.0 beta and a new Xcode project. What am I overlooking?

You likely need to set your deployment target to macOS 12. It's possible the new Xcode project template hasn't been updated to set 12 as the deployment target.

3 Likes

That was it. I thought I already checked that one. :thinking:

1 Like