jar2app icon indicating copy to clipboard operation
jar2app copied to clipboard

What I pass for -u param? the path of the cert or the p12 file or anything else?

Open Shamim1977 opened this issue 6 years ago • 8 comments

-u SIGNATURE, --unique-signature=SIGNATURE 4 Byte unique signature of your application (Default: ????)

---->>> I got a cert from Apple as cert and created a p12 file too. Now, what to pass for the -u param? Would u please share an example with a dummy literal?

Shamim1977 avatar Sep 30 '19 18:09 Shamim1977

-u is for the (outmoded) 4-character app signature system (e.g. -u TREE). You won’t need it. codesigning is done through Apple’s own tools.

Lucina avatar Sep 30 '19 18:09 Lucina

-u is for the (outmoded) 4-character app signature system (e.g. -u TREE). You won’t need it. codesigning is done through Apple’s own tools.

so, the following command will do? codesign --deep --force --sign "Developer ID Application: " ./Slicer.app

Shamim1977 avatar Sep 30 '19 18:09 Shamim1977

that example is taken from another site! lol!

Shamim1977 avatar Sep 30 '19 18:09 Shamim1977

but, u know the codesign command will generate an ipa file, right? I expect the output to remain an app

Shamim1977 avatar Sep 30 '19 18:09 Shamim1977

It does not pack a macOS app into an iOS package. That would be absurd.

Lucina avatar Sep 30 '19 18:09 Lucina

its my fault that I didnt mention yet, the app I worte is in Java, but for Mac, I used jar2app to successfully create an app. it works. Now my friends wants to sign it. So, I am confused, if I use codesign or jar2app with apple cert/p12. I am using an Apple Dev I for this. And again, I wish to have an APP, not anything else. Your help can save me.

Shamim1977 avatar Sep 30 '19 18:09 Shamim1977

Use codesign as outlined in the link provided.

Lucina avatar Sep 30 '19 18:09 Lucina

Ok, man, thanks

Shamim1977 avatar Sep 30 '19 18:09 Shamim1977