We do our builds via Jenkins at the command line.
I've recently had to update all our certificates due to a corporate name change.
I'm using the 9W4G... one for my code signing, and that seems to work.
I've been unable to get the productsign to work with either certificate.
I've tried the productsign command with both identities, and they both fail with the same error - which always refers to the 9W4G... identity.
[exec] Valid identities only
[exec] 3) ... "3rd Party Mac Developer Installer: Eps Us, LLC (F3YTHMJYQ9)"
[exec] 4) ... "Apple Development: John Lussmyer (9W4G27WAV9)"
[exec] 4 valid identities found
[exec] productsign --timestamp --sign F3YTHMJYQ9 /Users/jenkins/MetrixSetup/OSX_Metrix/OSX/MetrixApplication.pkg /Users/jenkins/MetrixSetup/OSX_Metrix/OSX/MetrixApplication-signed.pkg
[exec] ---------------------b
[exec] ---------------------c
[exec] cp -r /Users/jenkins/MetrixSetup/Installer.app /Users/jenkins/MetrixSetup/OSX_Metrix/
[exec] ---------------------d
[exec] productsign: error: Could not find appropriate signing identity for “9W4G27WAV9”.
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Signing Certificates
Code Signing