Skip to main content
Known Participant
April 24, 2014
Question

ADT Command Not Working

  • April 24, 2014
  • 2 replies
  • 1769 views

I'm trying to package up a Mac OS X Native application with the following command:

`adt –package -storetype pkcs12 -keystore HelloWorld.p12 HelloWorld.xml`

However I get the error:

`unexpected argument –package`

What am I doing wrong? I'm expecting to create `HelloWorld.app` from the command... Can anyone help?

This topic has been closed for replies.

2 replies

Infin8
Inspiring
November 27, 2018

As Nimisha1 mentioned, I believe the `unexpected argument –package` message is due to the dash not being correct.

I've just had the same issue from copying and pasting.

Delete the dash and type a minus ( - ) character.

User Unknow
Legend
April 24, 2014
Known Participant
April 24, 2014

If I do this:

adt -version

I get:

13.0.0.83

So that should mean environment variables are set up fine right? ADL works fine too.

Nimisha1
Participating Frequently
April 25, 2014

Looks like you're using --package rather than using -package:

`adt package -storetype pkcs12 -keystore HelloWorld.p12 HelloWorld.xml`