Skip to content

macos-latest (14) amr64: error: Finder got an error: AppleEvent timed out. #12482

Open
@mboudreau

Description

@mboudreau

Description

After restarting the build a dozen times, which used to fix this issue when it did happen, is now fully blocked and we can't release to production. This specific build didn't change at all and was working last at June 26, 2025 22:13 UTC. Something seems to have changed overnight that's caused this issue.

I just updated our build to use macos-15 and that seems to fix the issue. Odd.

create-dmg --volname "App" --volicon "resources/mac-icons/icon.icns" --window-pos 200 120 --window-size 800 400 --icon-size 100 --icon "App.app" 200 190 --hide-extension "GameGlass Hub.app" --app-drop-link 600 185 --codesign "Developer ID Application: <some id>" --notarize "connect-api-key-profile" "./release/darwin/installer-$ARCH.dmg" ./release/darwin/$(find release/darwin/mac* -type d -depth 0 | head -n 1 | xargs -I{} basename "{}")/
Creating disk image...
created: /Users/runner/work/hub/hub/release/darwin/rw.25831.app-arm64.dmg
Mounting disk image...
Device name:     /dev/disk4
Searching for mounted interstitial disk image using /dev/disk4s... 
Mount dir:       /Volumes/dmg.aJvUQZ
Making link to Applications dir...
/Volumes/dmg.aJvUQZ
Copying volume icon file 'resources/mac-icons/icon.icns'...
Running AppleScript to make Finder stuff pretty: /usr/bin/osascript "/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/createdmg.tmp.XXXXXXXXXX.WuY6Kpm61t" "dmg.aJvUQZ"
/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/createdmg.tmp.XXXXXXXXXX.WuY6Kpm61t:396:408: execution error: Finder got an error: AppleEvent timed out. (-1712)
Failed running AppleScript
Unmounting disk image...
"disk4" ejected.
 ELIFECYCLE  Command failed with exit code 64.
Error: Process completed with exit code 64.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Image: macos-14-arm64
Version: 20250623.1617
Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20250623.1617/images/macos/macos-14-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20250623.1617

Is it regression?

Maybe?

Expected behavior

To be able to create a DMG as per the command.

Actual behavior

Fails outright.

Repro steps

use create-dmg to build an app on macos-14-arm

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions