sweetpad-dev / sweetpad

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

watchOS simulators are not listed #39

Closed jongyeol closed 3 weeks ago

jongyeol commented 2 months ago

watchOS simulators are not listed properly on a project that contains both iOS and watchOS executables, even though xcrun simctl list --json devices displays them. The interesting thing is that it shows real watchOS device. (jy-watch-se2 in this case)

❯ xcrun simctl list --json devices | grep com.apple.CoreSimulator.SimDeviceType.Apple-Watch
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm",
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm",
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-40mm",
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-44mm",
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-41mm",
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-45mm",
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-40mm-2nd-generation",
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-44mm-2nd-generation",
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-9-41mm",
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-9-45mm",
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Ultra-2-49mm",
Screenshot 2024-09-13 at 16 45 02
hyzyla commented 2 months ago

Working on it

hyzyla commented 2 months ago

I've added support for watchOS simulators in the latest release of the extension. https://sweetpad.hyzyla.dev/docs/watchos-simulators

Next, I will be working on adding proper support for physical watchOS devices.