Verify with wallet run in simulator

I am fallowing the steps mention here https://developer.apple.com/wallet/get-started-with-verify-with-wallet/ and https://developer.apple.com/documentation/passkit/requesting-identity-data-from-a-wallet-pass to run a POC in simulator but I am getting a crash

DigitalPresentmentSession requestDocument fatal error from xpc: This app has crashed because it called an API it is not entitled to use. <unknown>:0: Fatal error: This app has crashed because it called an API it is not entitled to use.

<dict> <key>com.apple.developer.in-app-identity-presentment</key> <dict> <key>document-elements</key> <array> <string>given-name</string> <string>family-name</string> <string>portrait</string> <string>age</string> <string>address</string> <string>date-of-birth</string> <string>issuing-authority</string> <string>driving-privileges</string> <string>document-number</string> <string>document-issue-date</string> <string>document-expiration-date</string> </array> <key>document-types</key> <array> <string>us-drivers-license</string> </array> </dict> <key>com.apple.developer.in-app-identity-presentment.merchant-identifiers</key> <array> <string>PassKit_Identity_Test_Team_ID</string> </array>

Answered by DTS Engineer in 855937022

Hi @PraneethK,

You wrote:

I am fallowing the steps mention here https://developer.apple.com/wallet/get-started-with-verify-with-wallet/ and https://developer.apple.com/documentation/passkit/requesting-identity-data-from-a-wallet-pass to run a POC in simulator but I am getting a crash [...]

To use Verify with Wallet, you need to submit an entitlement request. Please review the "Request the entitlement" section of the following page to learn if you app is eligible for this entitlement:

Get started with Verify with Wallet API

https://developer.apple.com/wallet/get-started-with-verify-with-wallet/

Note: Building an app with this entitlement requires macOS 13 or later.

Once you have been approved for the entitlement, review the following documentation as a guide to your implementation:

Requesting identity data from a Wallet pass

https://developer.apple.com/documentation/passkit/requesting-identity-data-from-a-wallet-pass

Lastly, read the section titled "Test the implementation" for the expected behavior on a physical iPhone or Simulator running iOS 16 and later.

Requesting identity data from a Wallet pass: Test the implementation

https://developer.apple.com/documentation/passkit/requesting-identity-data-from-a-wallet-pass#Test-the-implementation

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

whole error is: DigitalPresentmentSession requestDocument fatal error from xpc: This app has crashed because it called an API it is not entitled to use. <unknown>:0: Fatal error: This app has crashed because it called an API it is not entitled to use.

Hi @PraneethK,

You wrote:

I am fallowing the steps mention here https://developer.apple.com/wallet/get-started-with-verify-with-wallet/ and https://developer.apple.com/documentation/passkit/requesting-identity-data-from-a-wallet-pass to run a POC in simulator but I am getting a crash [...]

To use Verify with Wallet, you need to submit an entitlement request. Please review the "Request the entitlement" section of the following page to learn if you app is eligible for this entitlement:

Get started with Verify with Wallet API

https://developer.apple.com/wallet/get-started-with-verify-with-wallet/

Note: Building an app with this entitlement requires macOS 13 or later.

Once you have been approved for the entitlement, review the following documentation as a guide to your implementation:

Requesting identity data from a Wallet pass

https://developer.apple.com/documentation/passkit/requesting-identity-data-from-a-wallet-pass

Lastly, read the section titled "Test the implementation" for the expected behavior on a physical iPhone or Simulator running iOS 16 and later.

Requesting identity data from a Wallet pass: Test the implementation

https://developer.apple.com/documentation/passkit/requesting-identity-data-from-a-wallet-pass#Test-the-implementation

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Verify with wallet run in simulator
 
 
Q