View on GitHub and download the scripts
VS Code + Claude Code extension on macOS 10.15 Catalina — last VS Code version for Catalina
Status: ✅ works. VS Code 1.94.2 or 1.97.2 (Intel) with Claude Code extension 1.0.31, using the patched CLI from
../claude-code.
| Works | VS Code 1.94.2 (universal) or 1.97.2 (Intel darwin), both LSMinimumSystemVersion 10.15 |
| Extension | anthropic.claude-code@1.0.31 (last without native binary) |
| Doesn’t work | VS Code ≥ ~1.98 (asks for macOS 11/12), Claude Code extension ≥ 2.x (macOS 13 binary) |
The problem
- Latest VS Code (e.g. 1.146.0) won’t open:
dyld: Library not loaded: /System/Library/Frameworks/AVFAudio.framework/Versions/A/AVFAudio Referenced from: /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework Reason: image not foundand from Finder: “You have macOS 10.15.7. The application requires macOS 12.0 or later.”
- The Claude Code 2.x extension:
Claude Code process terminated by signal SIGABRT+dyld: Symbol not found: __ZTVNSt3__115basic_stringbuf…. - VS Code auto-updates into a version that won’t open, and the Claude Code CLI reinstalls extension 2.x by itself.
Step by step
1. VS Code 1.94.2 (universal)
cd /tmp
curl -L -o vscode.zip "https://update.code.visualstudio.com/1.94.2/darwin-universal/stable"
unzip -q vscode.zip -d vscode-extract
rm -rf "/Applications/Visual Studio Code.app"
mv "vscode-extract/Visual Studio Code.app" /Applications/
xattr -dr com.apple.quarantine "/Applications/Visual Studio Code.app"
"/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" --version # 1.94.2
plutil -extract LSMinimumSystemVersion xml1 -o - "/Applications/Visual Studio Code.app/Contents/Info.plist" # 10.15
Alternative: 1.97.2 Intel (the one finally kept on the test Mac):
mkdir -p /tmp/vscode-old && cd /tmp/vscode-old
curl -fL -o vscode.zip "https://update.code.visualstudio.com/1.97.2/darwin/stable"
unzip -q -o vscode.zip
mv "/Applications/Visual Studio Code.app" "$HOME/Downloads/Visual Studio Code 1.146 (backup).app"
cp -R "/tmp/vscode-old/Visual Studio Code.app" /Applications/
xattr -dr com.apple.quarantine "/Applications/Visual Studio Code.app"
The 1.97.2 universal build once showed the “requires macOS 12.0” prompt; the Intel (
darwin) build worked. When in doubt, use 1.94.2.
2. Block VS Code updates
Cmd+, (Cmd + comma; Cmd + is zoom) → update mode → Update: Mode = none → quit with Cmd+Q and reopen. Or in ~/Library/Application Support/Code/User/settings.json:
{
"claudeCode.preferredLocation": "panel",
"update.mode": "none",
"extensions.autoUpdate": false,
"extensions.autoCheckUpdates": false
}
3. Claude Code extension 1.0.31
cd /tmp
# The marketplace serves the .vsix gzip-compressed: decompress it first
curl -L -o claude-ext.vsix.gz \
"https://marketplace.visualstudio.com/_apis/public/gallery/publishers/anthropic/vsextensions/claude-code/1.0.31/vspackage"
gunzip -c claude-ext.vsix.gz > claude-ext.vsix
CODE="/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"
"$CODE" --uninstall-extension anthropic.claude-code 2>/dev/null
"$CODE" --install-extension /tmp/claude-ext.vsix
"$CODE" --list-extensions --show-versions | grep claude # anthropic.claude-code@1.0.31
rm -rf ~/.vscode/extensions/anthropic.claude-code-2.*-darwin-x64
cp /tmp/claude-ext.vsix ~/claude-code-1.0.31.vsix
4. Stop the CLI from reinstalling extension 2.x (very important)
Even with extensions.autoUpdate: false, the Claude Code CLI itself runs code --install-extension anthropic.claude-code --force whenever it connects to VS Code. Check the logs:
grep -l '"install-extension":\["anthropic.claude-code"\]' ~/Library/Application\ Support/Code/logs/*/cli.log
Disable it in both places (back up first):
~/.claude.json, top level:"autoInstallIdeExtension": false~/.claude/settings.json:"env": { "CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL": "1" }
Then: "$CODE" --install-extension ~/claude-code-1.0.31.vsix --force
5. code command (optional)
ln -sf "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" ~/.npm-global/bin/code
6. Using Claude in VS Code
Cmd + Esc, or Cmd + Shift + P → Claude Code: Run Claude, or the Claude icon (⁕) in the sidebar. Then /model claude-opus-5-5.
Problems we hit
| Symptom | Cause | Fix |
|---|---|---|
| “requires macOS 12.0 or later” | VS Code auto-updated | Reinstall 1.94.2/1.97.2 Intel + update.mode: none |
dyld: Library not loaded: …AVFAudio.framework |
VS Code too new | Same |
Unable to find application named 'Visual Studio Code' / LSOpenURLsWithRole() failed with error -10825 |
LaunchServices hasn’t registered the copied app | Launch the binary: "/Applications/Visual Studio Code.app/Contents/MacOS/Electron" ~/project & (or …/MacOS/Code), or lsregister -f |
Claude panel: SIGABRT + dyld |
Extension 2.x | Extension 1.0.31 + step 4 |
| Extension missing after switching VS Code version | Empty extensions profile | Reinstall the .vsix with VS Code closed (osascript -e 'quit app "Code"') |