Skip to content

Apple Silicon (arm64) macOS build fails due to hardcoded -mssse3 compiler flag #161

@anushkasinghal11

Description

@anushkasinghal11

Hi
We’re running into build failures on Apple-silicon (arm64) macOS when using ShortcutRecorder via CocoaPods.
Issue
ShortcutRecorder hardcodes the compiler flag -mssse3, which is Intel-only. When building on arm64 macOS, this causes the following error:
error: unsupported option '-mssse3' for target 'arm64-apple-macos'
This prevents the library from compiling natively on Apple-silicon Macs.

Context
-mssse3 is an x86_64-specific optimization flag
It is not required for functional correctness
Removing the flag allows the project to build and run correctly on arm64

Current Workaround
We are stripping -mssse3 locally in a CocoaPods post_install hook to unblock Apple-silicon builds, but this requires a custom patch which we’d ideally like to avoid.

Request
Would you be open to:
Removing -mssse3 entirely, or
Applying it conditionally only for x86_64 builds
This would make ShortcutRecorder compatible with modern macOS hardware out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions