[SOLVED] Invalid manifest file is created in the TPK in case of multi-apps

[SOLVED] Invalid manifest file is created in the TPK in case of multi-apps

BY 18 Sep 2013 Native Application Development

Hi There,

I have a complex App, which contains 2 GUI + 1 Service App internally. All native. It works fine on my Emulator + Test Device.
All of them have own manifest.info file.
The <Requirements> inside the manifest are the same for all:

    <Requirements>
        <Feature Name="http://tizen.org/feature/platform.core.cpu.arch.armv7">true</Feature>
        <Feature Name="http://tizen.org/feature/platform.core.fpu.arch.vfpv3">true</Feature>
        <Feature Name="http://tizen.org/feature/screen.size.normal">true</Feature>
    </Requirements>

However, when I create a package to upload to the store, the command somehow merges these 3 manifest file into 1, and that one is copied into the .TPK.
See command line:

C:/tizen/ide/..//tools/mingw/msys/1.0/bin/rm -rf "D:\Project\Tizen\MYAPP\Release/../packaging/tempshared"
C:/tizen/ide/..//tools/mingw/msys/1.0/bin/mkdir -p "D:\Project\Tizen\MYAPP\Release/.tpk/info"
C:/tizen/ide/..//tools/mingw/msys/1.0/bin/mv -f "D:\Project\Tizen\MYAPP\Release/../manifest_multi.xml" "D:\Project\Tizen\MYAPP\Release/.tpk/info/manifest.xml"
Stripping...

...

And this merged manifest has EMPTY <Requirements> tag, and I cannot upload to the store. (Error msg: The screen size feature in the binary file you have uploaded cannot be verified. Please check it manually and re-upload the file.)

The manifest file from the TPK:

...
    <Requirements/>
...

My question, what can I do?
1) can I modify the manifest inside the .TPK manually? I guess not, integrity/security check wil fail

2) create my own manifest_multi.xml for the packager? I did it, put it to the given folder, but the packager simple overwrote with the generated one. Maybe other way to do it?

3) any other tips?

Please help, I cannot upload my App 🙁
It’s TIZEN 2.2

Thank you

Written by