Re: How to get Mac codesign certificate?
Re: How to get Mac codesign certificate?
- Subject: Re: How to get Mac codesign certificate?
- From: Kurt Revis <email@hidden>
- Date: Sat, 17 Mar 2012 12:23:39 -0700
The SMJobBless example code has a ReadMe.txt file that explains how to make a self-signed certificate, and how to set up the project to use it. It worked correctly when I tried it.
https://developer.apple.com/library/mac/#samplecode/SMJobBless/Listings/ReadMe_txt.html
> You can get a self-signed code signing identity using these steps:
>
> 1. Launch Keychain Access.
> 2. Select Keychain Access > Certificate Assistant > Create a Certificate...
> 3. In the Name field, enter "Joe Developer".
> 4. Change Certificate Type to "Code Signing".
> 5. Press Continue.
> 6. You're done!
>
> If you use a signing identity with a different Common Name (CN), you will need to change the CN in four places:
>
> o The Code Signing Identity build setting in the target SMJobBlessApp
> o The Code Signing Identity build setting in the target com.apple.bsd.SMJobBlessHelper
> o The SMPrivilegedExecutables property in SMJobBlessApp-Info.plist
> o The SMAuthorizedClients property in SMJobBlessHelper-Info.plist
>
> Once you have your code signing identity set up and the project configured to refer to the desired code signing identity, you should be able to just choose Build from the Build menu.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden