Once #1186 is merged (indirectly caused by #468) the following will occur when rolling back to an older commit...
[echo] Signing /Users/owner/tray/out/build/scripts/payload/QZ Tray.app using P5DMU6659X
[exec] find: ./Contents/MacOS/QZ Tray: illegal path
- [exec] P5DMU6659X: ambiguous (matches "Developer ID Application: QZ INDUSTRIES LLC (P5DMU6659X)" and "Developer ID Application: QZ INDUSTRIES LLC (P5DMU6659X)" in /Users/owner/Library/Keychains/login.keychain-db)
This is because Apple does not allow two certs with the same developer ID. The reason this behavior changed is because although pkgbuild was fine with duplicates, the codesign tool is NOT ok with this and since we started bundling Java, we now utilize the codesign tool in addition to pkgbuild.
The workaround for this is to edit the following section of build.xml:
Once #1186 is merged (indirectly caused by #468) the following will occur when rolling back to an older commit...
This is because Apple does not allow two certs with the same developer ID. The reason this behavior changed is because although
pkgbuild
was fine with duplicates, thecodesign
tool is NOT ok with this and since we started bundling Java, we now utilize thecodesign
tool in addition topkgbuild
.The workaround for this is to edit the following section of
build.xml
:... and then delete the old certificate from the cert store: