PKPassKitError.Code.notEntitledError
Error caused by absence of the required entitlements for the given operation.
Declaration
case notEntitledErrorDiscussion
Apps require appropriate entitlements to read, update or delete passes. To add these entitlements, enable the Wallet capabilities in Xcode.