solenv/bin/macosx-codesign-app-bundle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit adac862ec1019aff267bc4f2c1a955999a835241 Author: Patrick Luby <plub...@neooffice.org> AuthorDate: Mon Jun 19 10:15:02 2023 -0400 Commit: Patrick Luby <plub...@neooffice.org> CommitDate: Tue Jun 20 14:19:50 2023 +0200 Fix nightly build failures on Mac Intel When adding entitlements in a debug, non-codesigned build, the codesign command fails on some Mac Intel machines. Since this command is only executed in non-release builds, ignore any failures. Change-Id: I4d89e03bbbc00725b2902446f2abbb99f273eab7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153269 Tested-by: Jenkins Reviewed-by: Patrick Luby <plub...@neooffice.org> (cherry picked from commit ba5ed5d4d959be8f410c2febee3322820734cde2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153282 diff --git a/solenv/bin/macosx-codesign-app-bundle b/solenv/bin/macosx-codesign-app-bundle index eceb5dd99996..cdbf7ce964ae 100755 --- a/solenv/bin/macosx-codesign-app-bundle +++ b/solenv/bin/macosx-codesign-app-bundle @@ -53,8 +53,9 @@ if test -z "$MACOSX_CODESIGNING_IDENTITY"; then # Skip codesigning for non-release builds if there is no identity set but # set entitlements to allow Xcode's Instruments application to connect to - # the application - codesign --force --identifier="${MACOSX_BUNDLE_IDENTIFIER}" --sign - $entitlements "$APP_BUNDLE" || exit 1 + # the application. Note: the following command fails on some Mac Intel + # machines, and since this not a release build, ignore any failures. + codesign --force --identifier="${MACOSX_BUNDLE_IDENTIFIER}" --sign - $entitlements "$APP_BUNDLE" exit 0 fi