Describe the bug
Crash on Launch on Intel Mac (illegal hardware instruction / AttributeGraph crash)
When attempting to launch KeyType on an Intel-based Mac running macOS Sonoma 14.8, the application instantly crashes on startup with an illegal hardware instruction error alongside a SwiftUI AttributeGraph panic.
To Reproduce
- Download and install KeyType on an Intel Mac running macOS 14+.
- Launch the application (either via Finder or directly executing the binary via Terminal:
/Applications/Keytype.app/Contents/MacOS/Keytype).
- See the app instantly crash. Terminal output displays:
AttributeGraph/Attribute.swift:473: Fatal error: attempting to create attribute with no subgraph: External<()>
zsh: illegal hardware instruction /Applications/Keytype.app/Contents/MacOS/Keytype
Expected behavior
The application should either launch successfully on Intel-based hardware (perhaps falling back to CPU-only or a slower inference mode), or clarify if Intel Macs are completely unsupported. Since Apple Silicon is listed as "recommended" rather than "required," the app should ideally not crash with an illegal instruction on Intel CPUs.
Device
- Device: iMac (3.6 GHz 8-Core Intel Core i9, Radeon Pro 580X 8 GB, 64 GB 2667 MHz DDR4 RAM)
- OS: macOS Sonoma 14.8
Additional context
It is highly likely that the binary was compiled with compiler optimization flags targeting Apple Silicon-specific instruction sets (e.g., AMX or specific Metal/Accelerate pipelines), causing an Intel CPU to hit an invalid instruction and crash. Re-evaluating the compiler build target settings to fully support x86_64 without executing arm64-specific instructions should resolve this crash.
Describe the bug
Crash on Launch on Intel Mac (illegal hardware instruction / AttributeGraph crash)
When attempting to launch KeyType on an Intel-based Mac running macOS Sonoma 14.8, the application instantly crashes on startup with an
illegal hardware instructionerror alongside a SwiftUI AttributeGraph panic.To Reproduce
/Applications/Keytype.app/Contents/MacOS/Keytype).AttributeGraph/Attribute.swift:473: Fatal error: attempting to create attribute with no subgraph: External<()>zsh: illegal hardware instruction /Applications/Keytype.app/Contents/MacOS/KeytypeExpected behavior
The application should either launch successfully on Intel-based hardware (perhaps falling back to CPU-only or a slower inference mode), or clarify if Intel Macs are completely unsupported. Since Apple Silicon is listed as "recommended" rather than "required," the app should ideally not crash with an illegal instruction on Intel CPUs.
Device
Additional context
It is highly likely that the binary was compiled with compiler optimization flags targeting Apple Silicon-specific instruction sets (e.g., AMX or specific Metal/Accelerate pipelines), causing an Intel CPU to hit an invalid instruction and crash. Re-evaluating the compiler build target settings to fully support
x86_64without executingarm64-specific instructions should resolve this crash.