# HG changeset patch # User Chris Cannam # Date 1386275080 0 # Node ID 1e993a922d790ccaec44fa7003a6a4c54af55453 # Parent dbd9bd36a390ee9eae0050c32dd04266bd762472 Fix app signing: on os/x 10.9 you need to sign other frameworks etc as well diff -r dbd9bd36a390 -r 1e993a922d79 deploy/osx/sign.sh --- a/deploy/osx/sign.sh Thu Dec 05 12:42:13 2013 +0000 +++ b/deploy/osx/sign.sh Thu Dec 05 20:24:40 2013 +0000 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash # Execute this from the top-level directory of the project (the one # that contains the .app bundle). Supply the name of the .app bundle @@ -11,8 +11,14 @@ exit 2 fi for app in "$dir"/*.app; do + find "$app" -name Qt\* -print | while read fr; do + codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" + done + find "$app" -name \*.dylib -print | while read fr; do + codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" + done codesign -s "Developer ID Application: Chris Cannam" -fv \ - --requirements '=designated => identifier "org.sonicvisualiser.SonicVisualiser" 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] = "43AQ936H96"))' \ + --requirements '=designated => identifier "org.sonicvisualiser.SonicVisualiser" 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"))' \ "$app" done