Open Shamim1977 opened 5 years ago
-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.
-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:
that example is taken from another site! lol!
but, u know the codesign command will generate an ipa file, right? I expect the output to remain an app
It does not pack a macOS app into an iOS package. That would be absurd.
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.
Use codesign
as outlined in the link provided.
Ok, man, thanks
-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?