Code signing script needs update
OskarGroth opened this issue · 2 comments
Not using this software, but ran into the same problem and thought I'd drop a hint.
The CodeSigningUpdate
(https://github.com/brightdigit/Speculid/blob/12ef69622a6940f75201f4767566a79345146ff2/scripts/CodeSignUpdate.sh) script is failing on Xcode 11 because Mac Developer certificates are now on the form Apple Development:
instead of Mac Developer:
.
You incorrectly fixed this by commenting out set
36ff4be#diff-de6b762ded769596e652fd6f22b5e3af which causes the script to finish despite the errors, but the error still occur and as a result your Info.plist
is borked:
Speculid/applications/mac/Info.plist
Line 36 in 36ff4be
Instead, the error can be fixed correctly by updating the scripts macDeveloper
function as follows:
if ! [[ ${macDeveloperCN} =~ ^Apple\ Development:\ .*\ \([A-Z0-9]{10}\)$ ]]; then
printf "%s\n" "Invalid Mac Developer CN: ${macDeveloperCN}"
exit 1
fi
Thanks @OskarGroth I'll look into this.
@OskarGroth I am still having issues with this even after changing the script. Not sure if it's still the same issue. https://travis-ci.org/brightdigit/Speculid/builds/640931671