Skip to content

exec format error on Intel-based macOS GitHub Actions runners #25

@xfab-ryan

Description

@xfab-ryan

When I try to use the smctl provided by this GitHub Action in a workflow step on an Intel-based macOS runner (macos-13, macos-14, or macos-15-large) by running smctl sign, I see an error that I don't see when running it on ubuntu-latest:

fork/exec /Users/runner/hostedtoolcache/ssm-scd/latest/x64/smctl: exec format error: [no output]

This seems to indicate that the smctl binary provided to the macOS runner does not match the CPU architecture of the GitHub Actions runner. However, the log output from this action seems to suggest the tools are built for x64, which should be the same architecture as the macOS runners I mentioned:

tool is in a zip file trying to extract it /var/folders/0s/n7vblh2952l8rw5n_1hy40jm0000gn/T/DigiCert One Signing Manager Tools/smtools-mac-x64.zip
...
zip extraction complete , path is  /var/folders/0s/n7vblh2952l8rw5n_1hy40jm0000gn/T/DigiCert One Signing Manager Tools/smtools-mac-x64
Tool to be downloaded and used {} and url is {} smctl-mac-x64 signingmanager/api-ui/v1/releases/noauth/smctl-mac-x64/download

Is there any way to get this working on macOS? I have a release pipeline that is designed to build for multiple platforms on one machine, and I have a constraint that I need to run the release build for macOS binaries on macOS due to Apple tooling that is only available on that platform. It would be a lot of work for me to redesign the pipeline because DigiCert code signing doesn't work properly on macOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions