When testing adding a card to a digital wallet using push provisioning with the Issuing Card Management iOS SDK, you may receive an ERROR_DEVICE_ENVIRONMENT_UNSAFE message.
To troubleshoot this:
-
Check that you do not have a debugger attached to the release version of the binary application.
-
Check that you're not attempting push-provisioning flows on a device the SDK considers unsafe.
For example, a rooted device.
- Try setting up another device for testing and add it to the Apple allowlist.
For information on countermeasures that can trigger this error, see Thales D1 Developer Portal – Security Countermeasures.If you continue to encounter issues, contact issuing_operations@checkout.com.