As of June 2022, VS Code's Live Share still does not work well on Apple silicon Macs (M1/M2 series) without Rosetta 2. Although this bug is tracked in the official issue tracker on GitHub, unfortuneately, Live Share extension is not open source, so no outsiders can send any patch to address this bug to the upstream. Instead, I'd like to share a workaround I found:1
-
Install .NET SDK 6 (arm64) or higher. It's also available on Homebrew Cask:
brew install --cask dotnet-sdk
. -
Replace vsls-agent (no postfix) in ~/.vscode/extensions/ms-vsliveshare.vsliveshare-*/dotnet_modules/ directory (use your version instead of *) with vsls-agent included in this Gist.
-
Make it executable:
chmod +x ~/.vscode/extensions/ms-vsliveshare.vsliveshare-*/dotnet_modules/vsls-agent
. -
Reload VS Code.
That's all. Of course, this dirty fix will be overwritten when the Live Share extension is upgraded.
Thanks for this! Was wondering if you had a solution for Live Share audio? Seems to still have issues on Monterrey.