Fixing the Keychain access popups, and a couple of typos in the scripts, I get further, but not quite working yet.
Now the pkgbuild is failing to sign.
[exec] Valid identities only
...
[exec] 3) ... "Apple Development: John Lussmyer (9W4G27WAV9)"
[exec] 4) ... "Developer ID Application: Eps Us, LLC (F3YTHMJYQ9)"
[exec] 4 valid identities found
[exec] /usr/bin/pkgbuild --root /Users/jenkins/MetrixSetup/Metrix/MetrixApplication/ --component-plist /Users/jenkins/MetrixSetup/build/temp/component.plist --identifier com.efi.MetrixApplication --version 202220050 --scripts /Users/jenkins/MetrixSetup/build/temp/Scripts --sign F3YTHMJYQ9 --timestamp /Users/jenkins/MetrixSetup/build/MetrixApplication.pkg
[exec] pkgbuild: Reading components from /Users/jenkins/MetrixSetup/build/temp/component.plist
...
[exec] pkgbuild: error: Could not find appropriate signing identity for “F3YTHMJYQ9”.
...
[exec] pkgbuild returned 1
The signing ID is there, and (as far as I can tell) is the correct type. "security find-identity" just before the call did show it as a valid identity.
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags: