diff --git a/CI/before-deploy-osx.sh b/CI/before-deploy-osx.sh index f427b36a4..15adcb134 100755 --- a/CI/before-deploy-osx.sh +++ b/CI/before-deploy-osx.sh @@ -48,7 +48,7 @@ security set-keychain-settings -t 3600 -u build.keychain hr "Importing certs into keychain" security import ./Certificates.p12 -k build.keychain -T /usr/bin/productsign -P "" hr "Signing Package" -productsign --sign 'Developer ID Installer: Hugh Bailey (2MMRE5MTB8)' ./OBS.pkg ./$FILENAME +productsign --sign 2MMRE5MTB8 ./OBS.pkg ./$FILENAME # Move to the folder that travis uses to upload artifacts from hr "Moving package to nightly folder for distribution" diff --git a/CI/install/osx/build_app.py b/CI/install/osx/build_app.py index 907e11300..291f2ae47 100644 --- a/CI/install/osx/build_app.py +++ b/CI/install/osx/build_app.py @@ -86,7 +86,7 @@ for i in candidate_paths: try: out = check_output("{0}otool -L '{1}'".format(args.prefix, path), shell=True, universal_newlines=True) - if "is not an object file" in out: + if "The file was not recognized as a valid object file" in out: continue except: continue