Symptom
The error message "error: failed to start ability. error: unlock screen failed in developer mode" is displayed during HAP installation.

Solution
This issue occurs when the device is locked and has a lock screen password set. To resolve this, use either of the following methods: