diff --git a/scripts/generate-dmg.sh b/scripts/generate-dmg.sh index b35a2e22..12cacf97 100755 --- a/scripts/generate-dmg.sh +++ b/scripts/generate-dmg.sh @@ -55,6 +55,9 @@ if [ "$BUILD_CONFIG" == "Debug" ]; then EXTRA_ARGS="$EXTRA_ARGS -use-debug-libs" echo Extra deployment arguments: $EXTRA_ARGS macdeployqt $BUILD_FOLDER/app/Moonlight.app $EXTRA_ARGS -qmldir=$SOURCE_ROOT/app/gui -appstore-compliant || fail "macdeployqt failed!" +echo Removing dSYM files from app bundle +find $BUILD_FOLDER/app/Moonlight.app/ -name '*.dSYM' | xargs rm -rf + if [ "$SIGNING_IDENTITY" != "" ]; then echo Signing app bundle codesign --force --deep --options runtime --timestamp --sign "$SIGNING_IDENTITY" $BUILD_FOLDER/app/Moonlight.app || fail "Signing failed!"