Compiling for macOS 10.13, but module 'SwiftCompilerPlugin' has a minimum deployment target of macOS 10.15:

I'm getting this error when trying to import SwiftCompilerPlugin:

Compiling for macOS 10.13, but module 'SwiftCompilerPlugin' has a minimum 
deployment target of macOS 10.15:

It won't go away, even though contrary to what is stated there I'm compiling for iOS, and on macOS 14...