Skip to content

enable "select target platform" for remote ssh sessions #1363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RDMurray opened this issue Feb 7, 2025 · 8 comments
Closed

enable "select target platform" for remote ssh sessions #1363

RDMurray opened this issue Feb 7, 2025 · 8 comments
Labels
bug Something isn't working

Comments

@RDMurray
Copy link

RDMurray commented Feb 7, 2025

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I want to be able to use VSCode on windows to develop for iOS via a remote ssh session. Currently select target platform doesn't work.

Describe the solution you'd like
A clear and concise description of what you want to happen.

The select target platform command to work for remote sessions when the remote is macOS.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I tried live share, but don't get any language services. It looks for a swift toolchain on the client instead.

Additional context
Add any other context or screenshots about the feature request here.

The reason I would like this feature is that I am blind and use a screen reader. While macOS has voiceover which does work with VSCode, it is much better on Windows with the NVDA screen reader.

@RDMurray RDMurray added the enhancement New feature or request label Feb 7, 2025
@award999 award999 added the needs investigation Issue requires some investigation before it can be worked on label Feb 12, 2025
@award999 award999 moved this from Unscreened to Todo in Swift Extension for Visual Studio Code Feb 26, 2025
@matthewbastien
Copy link
Member

@RDMurray can you confirm whether or not this is still happening for you? I was able to reproduce this issue a while ago, but with the latest version of the Swift extension (v2.2.0) it seems to be fixed.

@RDMurray
Copy link
Author

strangely With 2.2.0 I don't see the "select target platform" command, even when running VSCode directly on the Mac. I tried creating a new blank profile with just the swift extension and it still doesn't work.

@RDMurray
Copy link
Author

I didn't realise that it now requires Swift 6.1. After updating Xcode, the command is available when running locally. It still doesn't work from a remote ssh session on a Windows client.

The LSP does work correctly in a remote ssh session if I use the local VSCode to select the target platform and save it in the workspace settings first. It's just the command that doesn't appear in the command pallet.

@matthewbastien
Copy link
Member

Okay I can reproduce this again. I was SSHing from macOS -> Windows instead of the other way around. Sorry about that. Investigating further...

@matthewbastien matthewbastien added bug Something isn't working and removed needs investigation Issue requires some investigation before it can be worked on enhancement New feature or request labels May 20, 2025
@matthewbastien
Copy link
Member

Fixed by #1567. Going to try to put out a pre-release tomorrow that contains the fix.

@matthewbastien matthewbastien added the needs verification Issue has been fixed, but requires verification before closing label May 20, 2025
@matthewbastien matthewbastien moved this from Todo to Needs Verification in Swift Extension for Visual Studio Code May 20, 2025
@matthewbastien
Copy link
Member

Pre-release version 2.3.20250521 contains the fix for this.

@matthewbastien matthewbastien removed their assignment Jun 3, 2025
@award999 award999 self-assigned this Jun 3, 2025
@award999
Copy link
Contributor

award999 commented Jun 6, 2025

Verified with rdar://136229497&148576141&146712855&145335915&149873324&147774241&146317274&151867003&147774323&150786278&148576146

@award999 award999 removed their assignment Jun 6, 2025
@award999 award999 removed the needs verification Issue has been fixed, but requires verification before closing label Jun 6, 2025
@award999 award999 moved this from Needs Verification to Done in Swift Extension for Visual Studio Code Jun 6, 2025
@award999
Copy link
Contributor

award999 commented Jun 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants