Languages

Menu
Sites
Language
How to use CLI in automated build systems

Hi,

I spent a few hours and seems that I have a problem.

Is it possible to sign and pack binaries into tpk without using tizen sdk? Is it possible from automated build systems?

Let's assume that I build binaries using toolchain shipped with SDK, generated manifest. I was also able to sign the package with tizen-sdk/tools/ide/bin/native-signing however when I zip everything into tpk I got error from tizenstore and tizenstore guys said that zipped file is not tpk. Has smoething changed in this area since 2.2.1?

Responses

6 Replies
daniel kim

Hi,

If you can use the native-sigining, then you can use below command(/tizen-sdk/tools/ide/bin/tizen) to create a package for your tpk.

 tizen package  tizen package [-t | --type <package type>] [-s | --sign <security profile name>] [-S, --strip <on|off>] [--]
  • -t, --type <tpk | wgt>:
  Sets the package type.

  • -s, --sign:
  Sets the profile name to use for signing.

  • -S, --strip:
  Determines whether to strip the native binary.

  The default value is off. This option only works when the native binary is based on the arm architecture and release build configuration.

  • --:
  Sets the project's build configuration path

 

You can find more information in this link.

https://developer.tizen.org/dev-guide/2.3.0/   Tizen Mobile Native App Programming -> IDE and Tools

I wish this will help you.

Alex Ashirov

Hi,

Please take a look at CLI description below:

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.appprogramming/html/ide_sdk_tools/command_line_interface.htm

Alex Dem

Hi, 
fyi, recent topic regarding build native app with CLI:
https://developer.tizen.org/forums/native-application-development/cannot-install-plain-basic_ui-application
Alexey.

pradeep ramaiah

Hi,

Try to install your tpk using sdb install.

Tomasz Olszak

Hi,
Thank you all for your valuable input. My case is a little different. I'm aware of tizen-sdk/tools/ide/bin/tizen tool assumes that you use IDE related toolchain and build system. I set up cmake based project using toolchain shipped with sdk and on make install tpk directory tree is created with needed paths (see: https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.appprogramming/html/basics_tizen_programming/app_directory_policy.htm ). I wanted to sign this directory and zip it into tpk. And that's what I actually do however tizenstore doesn't recognize it as tpk?
 

Any idea what's wrong?
 

Philippe Coval

Hi

I am unsure it's related but I've seen some concern about uploading tpk to tizen store :

 

https://twitter.com/RzrFreeFr/status/580715502059831296

 

I'll check myself with a basic efl app and confirm here