Unable to deploy to device

Unable to deploy to device

BY 30 May 2013 SDK & IDE
​I am unable to deploy my builds (through the IDE or CLI) to my test device. I have tried using a certificate created with the certificate-generator.sh script as well as a real codesigning certificate that I already have.

When attempting to deploy a web app, I get the following error:

$ /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/workbench.wgt"
path is /opt/usr/apps/tmp/workbench.wgt
start process (install)
........................
error : 22

end process (fail)
processing result : SIGNATURE_INVALID [22] failed
spend time for pkgcmd is [864]ms
cmd_ret:22
Exception occur...
Unexpected stop progress...
(1.367 sec)
When attempting to deploy a native app, the same flavor error is present:
$ /usr/bin/pkgcmd -q -i -t tpk -p /opt/usr/apps/tmp/g1Cf1rHz1G-2.0.0-arm.tpk
path is /opt/usr/apps/tmp/g1Cf1rHz1G-2.0.0-arm.tpk
start process (install)
.
error : 33

end process (fail)
processing result : CERTIFICATE_CHAIN_VERIFICATION_FAILED [33] failed
spend time for pkgcmd is [776]ms
cmd_ret:33
(2.511 sec)

Any clue how I can resolve this issue?

 

Edit: I’m now seeing this while attempting to deploy to the emulator, though I have successfully deployed to the emulator once already.

Written by