I've been unable to deploy to an emulator for reasons unknown. The error message I get tells me that I don't have a certificate for the device. But I have followed the steps for getting a distributer certificate. While these steps have successfully resolted in certificates that work for my hardware devices the certificates have not worked for any of the emulators for me.
Error Message
The Application installation on the device has failed due to a signature error! (error code: 22)
You need an appropriate certificate profile, which can be created or activated in the Certificate Manager. Do you want to open the Certificate Manager?
Steps
I've created a new Tizen 2.3.1 Wearable application. I've started the Tizen 2.3.1 circular emulator. On first run the above error message appears. This is expected. If I right-click on the emulator's connection and select "permit to install application" I gt an error message about a certificate. This is also expected since I haven't created a certificate yet.
Opening the properties for the emulator from the list of connected devices I'm able to get the emulator instance's DUID. Opening the certificate manager I see my author certificate expires in 2017. I create a new distributer certificate. The newly created distributer certificate is part of my active security profile.
When I right-click on the emulator in the list of connected devices I'm able to select "Permit to install Applications." I get a success message. Great. Now when I try to deploy the application I get the error message above. I've gone through the steps for Tizen 2.3.1 and 2.3 with the same results. The logs for one of the attempt follow.
Log
Launching the Tizen application...
# If you want to see the detailed information,
# please set the logging level to DEBUG in Preferences and check the log file in 'C:\tizen-studio-data\ide\logs/ide-20161230_012153.log'.
[Initializing the launch environment...]
RDS: On
Target information: W-2.3.1-circle
Application information: Id(EW9SjSBAhm.Control), Package Name(EW9SjSBAhm), Project Name(Control)
[Transferring the package...]
Transferred the package: wgt stream -> /opt/usr/apps/tmp/Control.wgt
[Installing the package...]
path is /opt/usr/apps/tmp/Control.wgt
start process (install)
....
error : 22
end process (fail)
processing result : SIGNATURE_INVALID [22] failed
spend time for pkgcmd is [10668]ms
cmd_ret:22
An exception occurred
(Installing the package... > Fail)
An exception occurred
Unexpected stop progress...
(18.196 sec)