Hybrid App CLI build

Hybrid App CLI build

BY 23 Jul 2014 General Support SDK & IDE

Hello everyone!

I have a hybrid application referring to two native apps. I need to buld hybrid wgt from command line containing all three apps – web and two native ones. 

I’m  doing the following: 

1. (from web app project root path)

web-build -rp “<path to native app1>, <path to native app2>” ./

   result: .buildResult dir with all the stuff needed

2.  web-signing –profile develop .buildResult

   after that I have author-signature and signature1 xml files in .buildResult

3. web-packaging out.wgt .buildResult

    web-packaging says I ‘ve got no .project file in .buildReslt, but creates wgt which cannot be installed due to signature error.

I tried:

 1. run packaging from project root path: no native apps in package, only web one

2. copy .project file to .buildResult before signing: still cannot install

 

The profile which I sign the package with is valid because when I build app the same way but without references to native ones (as an ordinary web app) then everything works ok and package is installed.

 

Could somebody explain me what I should do to build valid wgt package of hybrid app from command line interface, please?

Written by