comparison deploy/osx/sign.sh @ 724:c59c17665162

Further macOS deployment fixes
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 14 Dec 2018 17:28:31 +0000
parents 646e48a0d3a5
children
comparison
equal deleted inserted replaced
723:c39a04fed8b2 724:c59c17665162
13 exit 2 13 exit 2
14 fi 14 fi
15 15
16 for app in "$dir"/*.app; do 16 for app in "$dir"/*.app; do
17 find "$app" -name Qt\* -print | while read fr; do 17 find "$app" -name Qt\* -print | while read fr; do
18 codesign -s "Developer ID Application: Chris Cannam" -fv --deep "$fr" 18 codesign -s "Developer ID Application: Chris Cannam" -fv --deep --options runtime "$fr"
19 done 19 done
20 find "$app" -name \*.dylib -print | while read fr; do 20 find "$app" -name \*.dylib -print | while read fr; do
21 codesign -s "Developer ID Application: Chris Cannam" -fv --deep "$fr" 21 codesign -s "Developer ID Application: Chris Cannam" -fv --deep --options runtime "$fr"
22 done 22 done
23 find "$app" -name \*.so -print | while read fr; do 23 find "$app" -name \*.so -print | while read fr; do
24 codesign -s "Developer ID Application: Chris Cannam" -fv --deep "$fr" 24 codesign -s "Developer ID Application: Chris Cannam" -fv --deep --options runtime "$fr"
25 done 25 done
26 codesign -s "Developer ID Application: Chris Cannam" -fv --deep "$app" 26 codesign -s "Developer ID Application: Chris Cannam" -fv --deep --options runtime "$app"
27 # codesign -s "Developer ID Application: Chris Cannam" -fv \
28 # --requirements '=designated => identifier "org.easymercurial.EasyMercurial" and ( (anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9] ) or (anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] and certificate leaf[field.1.2.840.113635.100.6.1.13] and certificate leaf[subject.OU] = "M2H8666U82"))' \
29 # "$app"
30 done 27 done
31 28