Symptom
When the hdc command is used to install a release HAP package on the mobile phone, the error message "INSTALL_FAILED_APP_SOURCE_NOT_TRUSTED" is displayed.
Solution
The signing certificate issued by AppGallery Connect is intended only for application distribution and release, not for local installation. In addition, the signature center only issues profiles for pre-installed applications, and these profiles do not support local debugging or installation.
Reference