Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Signing Mac App in Visual Studio for Mac (Xamarin)

I have a Mac app, created in Visual Studio for Mac. Before distributing, I would need to have the application bundle signed. However, looking at the project options, this is greyed out on my screen:

Sign the application bundle greyed out

According to https://docs.microsoft.com/en-us/xamarin/mac/deploy-test/publishing-to-the-app-store/signing, I should be able to select it and pull the Developer ID certificate from the keychain (which is present).

My question is; what causes this option to be greyed out?

The yellow triangle doesn't give any hint:

enter image description here

like image 454
user3087157 Avatar asked Sep 25 '19 18:09

user3087157


2 Answers

I was creating an installer and therefore assumed I needed the 'Developer ID Installer' certificate. However, it needed to be the 'Developer ID Application. After having that one in the keychain, the box became available.

like image 63
user3087157 Avatar answered Sep 18 '22 14:09

user3087157


For me I had also to create a 'Mac Development' certificate.

like image 27
Suplanus Avatar answered Sep 17 '22 14:09

Suplanus