<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLLocationPushServiceError-swift.struct/missingEntitlement",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "s:SC26CLLocationPushServiceErrorLeV18missingEntitlementSoAAVvpZ"
  },
  "title" : "missingEntitlement"
}
-->

# missingEntitlement

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

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

## Discussion

For more information, see [Creating a location push service extension](/documentation/CoreLocation/creating-a-location-push-service-extension).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)