在 macOS 上使用 Delve 调试时,报错 Failed to launch - could not launch process - not an executable file.
类别: Macos
未设置 LSArchitecturePriority, 会使 shell-script application 陷入 Rosetta translation 处境。在设定 LSArchitecturePriority 后,shell-script 已可以运行,但之后还要看情况去阻止 Rosetta translation.
最近对 macOS 打开方式感兴趣。以下是最小验证模型。