---
title: CLLocationPushServiceError.Code.missingEntitlement
framework: corelocation
role: symbol
role_heading: Case
path: corelocation/cllocationpushserviceerror-swift.struct/code/missingentitlement
---

# CLLocationPushServiceError.Code.missingEntitlement

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

## Declaration

```swift
case missingEntitlement
```

## Discussion

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

## See Also

### Getting the error code

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