sweetpad-dev / sweetpad

Develop Swift/iOS projects using VSCode
https://marketplace.visualstudio.com/items?itemName=sweetpad.sweetpad
MIT License
117 stars 3 forks source link

Remote desktop #9

Open Zhincore opened 1 month ago

Zhincore commented 1 month ago

Hi, I'm trying to use this extension when connecting to my Mac remotely using VSCode's remote extension though SSH. SweetPad's tab is only loading and does nothing. It works when using it "on-site". Can support be added?

Thank you

hyzyla commented 1 month ago

Hello! I’ve never tried to use it through ssh, but I definitely would like to add support for it. Could you tell me what your host/remote system is? Also, could you try extension on remote machine without ssh to ensure that problem is ssh/remote specific?

Zhincore commented 1 month ago

I'm trying to connect from Linux (Ubuntu) to MacOS Sonoma. It works on the Mac itself without issues just not through SSH.

hyzyla commented 4 weeks ago

Hello! Sorry for the delay. I installed Debian with LXDE on UTM, then connected through SSH into macOS (host), and it somehow works. Of course, the emulator app is not available on Linux, but it successfully opened on macOS. So basically it should works.

screenshot

![CleanShot 2024-05-30 at 22 21 28@2x](https://github.com/sweetpad-dev/sweetpad/assets/7952949/04f9d264-dc63-4c3b-9353-2c5525b80bde)

To investigate your problem, I need your help. Please follow these steps:

  1. Open the "Output" panel.
  2. Select "Sweetpad: Common" from the dropdown menu.
  3. Send all the output from that panel here.

CleanShot 2024-05-30 at 22 28 09@2x

Zhincore commented 4 weeks ago

Hello, no worries about the delay. I don't see SweetPad in the dropdown menu, is it possible that the extension doesn't even start for me? image I can't seem to find anything relevant in the other outputs either, is there other log I could look into?

hyzyla commented 4 weeks ago

It could be that the extension didn’t catch an error in some place, which is why it doesn’t show an error in the Output panel. Usually the extension activates when the extension side panel appears.

I’ll add more logs in the next release to have more debug logs and then I’ll ask you to try again

Zhincore commented 4 weeks ago

Alright!

hyzyla commented 3 weeks ago

@Zhincore I've added a new configuration option to enable "debug" level logging. Could you update the extension and then follow this instruction to collect more detailed logs?

Zhincore commented 3 weeks ago

Thank you so much for your effort, but it seems like there might be an issue with my setup, I found out I can't get other extensions to work on remote either and the "Extension Host" keeps reconnecting, so this is probably not an issue on your side :D