Skip to main content
Santanu Karar
Known Participant
October 29, 2013
Question

Native signing not supported on mac!!

  • October 29, 2013
  • 2 replies
  • 1418 views

To sign both the installer and its executable we're using Thawte and Comodo certificates. For MacOS we've Thawte and Apple. This following command builds a proper signed installer version (along with its executable .exe) with the combination of both the certificates, in Windows:

adt -package -storetype pkcs12 -keystore myCert.pfx -target native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.airi

(http://help.adobe.com/en_US/air/build/WS789ea67d3e73a8b22388411123785d839c-8000.html)

When running the same command to compile a .dmg file - ADT reported an error:
Native signing not supported on mac

I'm not sure if the adt doesn't has the ability to do such process in MacOS unlike Windows! Any idea?


2 replies

Known Participant
September 24, 2016

I had the same problem. When I moved '-target' to be after '-package' and before '-storetype', the error went away. However, doing so seems to have disabled native signing.

Note that the Adobe doc states "Native signatures are supported on Windows and Android." and makes no mention of Mac (scroll to NATIVE_SIGNING_OPTIONS):

Adobe AIR * ADT package command

Participant
January 27, 2014

This is an old question, but in case someone else stumbles onto it - the solution is to move the "-target" to be the last argument.  This is a bug in adt.

Santanu Karar
Known Participant
January 28, 2014

Hello Ken,

Thanks for commenting. But that 'solution' already tested and its found not true with recent AIR SDK version.

If you do this:

adt -package -storetype pkcs12 -keystore myCert.pfx -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.airi -target native


You'll have compiler error:

"-storetype already specified", and you can see why in the command

If you do this:

adt -package -storetype pkcs12 -keystore myCert.pfx native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.airi -target


You'll again have compiler error:

"not enough argument"

I don't think this have a fix yet.

I lodged a bug at: https://bugbase.adobe.com/index.cfm?event=bug&id=3655573

Participant
January 28, 2014

Oops, you're correct - I mistook this for a different bug in the OSX version of ADT.  I guess I was reading to quickly, thanks for the correction.