I have a code-signed app bundle that I need to convert to a *.pkg for submission (via Transporter) to the Mac App Store.
This has worked fine in the past, but not after rebuilding the computer and recreating my certificates. (I had to downgrade to Catalina from Big Sur if that's relevant.)
The command that fails is:
This leads to the error:
According to Xcode and Keychain, this certificate is valid and the private key is present. However, if I validate it from the command line, I get:
Do I need to recreate my certs?
This has worked fine in the past, but not after rebuilding the computer and recreating my certificates. (I had to downgrade to Catalina from Big Sur if that's relevant.)
The command that fails is:
Code Block $ sudo productbuild --component /Applications/Hollows.app --sign "3rd Party Mac Developer Installer: Gerald Schmidt (FBCSA85C72)" hollows.pkg
This leads to the error:
Code Block productbuild: error: Cannot write product to "hollows.pkg". (Could not find appropriate signing identity for “3rd Party Mac Developer Installer: Gerald Schmidt (FBCSA85C72)”.)
According to Xcode and Keychain, this certificate is valid and the private key is present. However, if I validate it from the command line, I get:
Code Block $ security find-identity -p macappstore ... 202B1775FC64882C215BCC8D52A2156038AEBD1C "3rd Party Mac Developer Installer: Gerald Schmidt (FBCSA85C72)" (Missing required extension)
Do I need to recreate my certs?