Open OskarGroth opened 4 years ago
Thank for the fix 🌮. I was stuck on it for a day 😱
Or you can use this if statement if you need it to work on both of and new names:
if ! [[ ${macDeveloperCN} =~ ^Mac\ Developer:\ .*\ \([A-Z0-9]{10}\)$ ]] && ! [[ ${macDeveloperCN} =~ ^Apple\ Development:\ .*\ \([A-Z0-9]{10}\)$ ]]; then
Mac Developer certificates are now on the form
Apple Development:
instead ofMac Developer:
, causing the code sign update script to fail.It can be fixed by updating the
macDeveloper
function as follows: