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

**URL:** <https://forums.swift.org/t/compiling-for-macos-10-13-but-module-swiftcompilerplugin-has-a-minimum-deployment-target-of-macos-10-15/69271>\
**Category:** Using Swift\
**Tags:** macros, swiftcompilerplugin\
**Created:** [January 4, 2024, 5:28pm UTC](https://forums.swift.org/t/compiling-for-macos-10-13-but-module-swiftcompilerplugin-has-a-minimum-deployment-target-of-macos-10-15/69271 "2024-01-04T17:28:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gadirom](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/gadirom/32/24833_2.png) [@gadirom](https://forums.swift.org/u/gadirom)\
**Post date:** [January 4, 2024, 5:28pm UTC](https://forums.swift.org/t/compiling-for-macos-10-13-but-module-swiftcompilerplugin-has-a-minimum-deployment-target-of-macos-10-15/69271/1 "2024-01-04T17:28:49Z")

</div>

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

```swift
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...
