---
title: unsupportedPlatform
framework: corelocation
role: symbol
role_heading: Type Property
path: corelocation/cllocationpushserviceerror-swift.struct/unsupportedplatform
---

# unsupportedPlatform

An error code that indicates the location push service isn’t available on this platform.

## Declaration

```swift
static var unsupportedPlatform: CLLocationPushServiceError.Code { get }
```

## See Also

### Getting the error code

- [unknown](corelocation/cllocationpushserviceerror-swift.struct/unknown.md)
- [missingPushExtension](corelocation/cllocationpushserviceerror-swift.struct/missingpushextension.md)
- [missingPushServerEnvironment](corelocation/cllocationpushserviceerror-swift.struct/missingpushserverenvironment.md)
- [missingEntitlement](corelocation/cllocationpushserviceerror-swift.struct/missingentitlement.md)
- [CLLocationPushServiceError.Code](corelocation/cllocationpushserviceerror-swift.struct/code.md)
