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

# missingEntitlement

An error code that indicates the app is missing the entitlement it needs to use the location push service.

## Declaration

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

## Discussion

Discussion For more information, see Creating a location push service extension.

## 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)
- [unsupportedPlatform](corelocation/cllocationpushserviceerror-swift.struct/unsupportedplatform.md)
- [CLLocationPushServiceError.Code](corelocation/cllocationpushserviceerror-swift.struct/code.md)
