Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
[Solved] macOS - How to copy Apple developer certificates to another computer? (code signing assets)
Delphi, Lazarus, Free Pascal
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2822
Topic starter
November 7, 2020 5:15 AM
I have 2 Macs that I use for development and I do sign and notarize my applications.
For this, I have on my main Mac, the needed Apple Certificates and would like those on my Macbook as well.
So how do I do this?
It took me some time to figure this out, but it seems XCode has an option for this.
Exporting Code signing assets:
- Start XCode
- Go to Preferences
- Select the tab "Accounts"
- Select your account there (Apple ID)
- Click the little cog at the bottom of this list and select "Export Apple ID and Code signing assets".
- A popup will appear asking you for a filename and a mandatory password (write down the password)!
Importing Code signing assets:
(these are basically the same steps, except for the last one)
- Start XCode
- Go to Preferences
- Select the tab "Accounts"
- Select your account there (Apple ID)
- Click the little cog at the bottom of this list and select "Import Apple ID and Code signing assets".
- A popup will ask you for the password, and your code signing assets are installed on this second computer.
I hope this saves some other user(s) the hassle of figuring this out ... 😉