dersia / AppStoreConnect

MIT License
13 stars 3 forks source link

Unrecognized command #2

Closed mohamed-hmd closed 3 years ago

mohamed-hmd commented 4 years ago

Unrecognized command or argument '4xxxxxxa-1xx1-48xx-xxx-xxxxxxxxxxx'

dersia commented 4 years ago

I dont know what you are trying to do here.

mohamed-hmd commented 4 years ago

When using the command appStoreConnect tools jwt fromFile create ~/private_keys/AuthKey_H439JXU4YA.p8 H439JXU4YA 1cc70e85-0db0-45bc-9a87-18e3e073ْ23hn6

I get this error : Unrecognized command or argument '1cc70e85-0db0-45bc-9a87-18e3e073ْ23hn6'

Le mer. 16 sept. 2020 à 07:00, dersia notifications@github.com a écrit :

I dont know what you are trying to do here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dersia/AppStoreConnect/issues/2#issuecomment-693425506, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJVPOYPRKPHACZDMZP5F4QTSGDAIJANCNFSM4ROAI3IA .

dersia commented 4 years ago

The command is: appStoreConnect tools jwt create fromFile <PATH-TO-P8> <KID> <ISSUER ID>

Make sure you use create before fromFile. And then you'll need the

Please try it like this again.

mohamed-hmd commented 4 years ago

how i create fromFile im using your app to create one. (how i created formFile)

appStoreConnect tools jwt create fromFile

My KID: APPSTORE_CONNECT_API_KEY_ID=H439JXU4YA

Le mer. 16 sept. 2020 à 07:48, dersia notifications@github.com a écrit :

Reopened #2 https://github.com/dersia/AppStoreConnect/issues/2.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dersia/AppStoreConnect/issues/2#event-3773597210, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJVPOYO2WMQGATQNBPQUDPDSGDF3PANCNFSM4ROAI3IA .

dersia commented 4 years ago

Try this appStoreConnect tools jwt create fromFile ~/private_keys/AuthKey_H439JXU4YA.p8 H439JXU4YA 1cc70e85-0db0-45bc-9a87-18e3e073ْ23hn6

If this doesn't work try using double quotes like this

appStoreConnect tools jwt create fromFile "~/private_keys/AuthKey_H439JXU4YA.p8" "H439JXU4YA" "1cc70e85-0db0-45bc-9a87-18e3e073ْ23hn6"

If this doesn't work either just reply here and I will see if I can reproduce it and fix it, if there is a bug.

mohamed-hmd commented 4 years ago

same problem Unrecognized command or argument '1cc70e85-0db0-45bc-9a87-18e3e073cf9f'

Le mer. 16 sept. 2020 à 11:23, dersia notifications@github.com a écrit :

Try this appStoreConnect tools jwt create fromFile ~/private_keys/AuthKey_H439JXU4YA.p8 H439JXU4YA 1cc70e85-0db0-45bc-9a87-18e3e073ْ23hn6

If this doesn't work try using double quotes like this

appStoreConnect tools jwt create fromFile "~/private_keys/AuthKey_H439JXU4YA.p8" "H439JXU4YA" "1cc70e85-0db0-45bc-9a87-18e3e073ْ23hn6"

If this doesn't work either just reply here and I will see if I can reproduce it and fix it, if there is a bug.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dersia/AppStoreConnect/issues/2#issuecomment-693579676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJVPOYKR4BK6MNRMV65RASTSGD7CHANCNFSM4ROAI3IA .

dersia commented 3 years ago

Hey there

Sorry for the late reply. Can you please check if your home directory has a space in it?

dersia commented 3 years ago

This is fixed in 0.3