iTerm2 で file リンクを Cmd+click すると `The application can't be opened. -50` が出る
この症状は、Claude Code の出力に含まれるファイルリンクを iTerm2 で Cmd+click したときに、macOS のダイアログで `The application can't be opened. -50` が返ってくるものです。報告されている issue は [#76136](https://github.com/anthropics/claude-code/issues/76136) と [#78481](https://github.com/anthropics/claude-code/issues/78481) です。どちらも、リンク先の URI の形が原因だと説明されています。 読者側でまず見るべきなのは、クリックしたリンクが「ファイルパスっぽい文字列」ではなく、iTerm2 が OSC 8 のハイパーリンクとして解釈しているかどうかです。該当 issue では、Claude Code がファイルパスに対して scheme なしの URI を出してしまい、`NSWorkspace openURL:` に渡したところ Launch Services が
papoo.work