---
title: "PluginContextError.toolNotSupportedOnTargetPlatform(name:)"
framework: swift-package-manager
role: symbol
role_heading: Case
path: "swift-package-manager/documentation/packageplugin/plugincontexterror/toolnotsupportedontargetplatform(name:)"
---

# PluginContextError.toolNotSupportedOnTargetPlatform(name:)

The tool is not supported on the target platform

## Declaration

```swift
case toolNotSupportedOnTargetPlatform(name: String)
```

## See Also

### Errors from the Plugin Context

- [PluginContextError.productNotFound(name:package:)](swift-package-manager/documentation/packageplugin/plugincontexterror/productnotfound(name:package:).md)
- [PluginContextError.targetNotFound(name:package:)](swift-package-manager/documentation/packageplugin/plugincontexterror/targetnotfound(name:package:).md)
- [PluginContextError.toolNotFound(name:)](swift-package-manager/documentation/packageplugin/plugincontexterror/toolnotfound(name:).md)
