Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Shamim1977 opened this issue Sep 30, 2019 · 8 comments

Comments

@Shamim1977
Copy link

-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?

@Lucina
Copy link
Contributor

Lucina commented Sep 30, 2019

-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.

@Shamim1977
Copy link
Author

-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
Copy link
Author

that example is taken from another site! lol!

@Shamim1977
Copy link
Author

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

@Lucina
Copy link
Contributor

Lucina commented Sep 30, 2019

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

@Shamim1977
Copy link
Author

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.

@Lucina
Copy link
Contributor

Lucina commented Sep 30, 2019

Use codesign as outlined in the link provided.

@Shamim1977
Copy link
Author

Ok, man, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants