You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
devicectl::parse_device_list() is deserializing assuming "cpuType" on all devices but devicectl doesn't output one for apple watch.
Causes:
thread 'apple::device::devicectl::device_list::tests::test_parse_device_list' panicked at src/apple/device/devicectl/device_list.rs:405:47:
Failed to parse device list: InvalidDeviceList(Error("missing field cpuType", line: 261, column: 9))
Steps To Reproduce
Steps to reproduce the behavior. It must use cargo-mobile2 itself and wry template directly instead of tauri-cli.
Have an apple watch paired to xcode and an iphone 15+ with ios 17+
pnpm tauri dev --host (yep read the above)
Add this test to src/apple/device/devicectl/device_list.rs
Its a slimmed down version of my devicectl output.
Expected behavior
Should be able to parse the list regardless of other devices in the Run Destinations
lazy fix is unpair watch or filter_map an Option but haven't checked if an apple tv or other platforms are different
Platform and Versions (please complete the following information):
Host OS: Mac 14.5
Target OS: IOS 17.6.1
Rustc: 1.82
The text was updated successfully, but these errors were encountered:
Describe the bug
devicectl::parse_device_list() is deserializing assuming "cpuType" on all devices but devicectl doesn't output one for apple watch.
Causes:
thread 'apple::device::devicectl::device_list::tests::test_parse_device_list' panicked at src/apple/device/devicectl/device_list.rs:405:47:
Failed to parse device list: InvalidDeviceList(Error("missing field
cpuType
", line: 261, column: 9))Steps To Reproduce
Steps to reproduce the behavior. It must use cargo-mobile2 itself and wry template directly instead of tauri-cli.
Have an apple watch paired to xcode and an iphone 15+ with ios 17+
pnpm tauri dev --host (yep read the above)
Add this test to src/apple/device/devicectl/device_list.rs
Its a slimmed down version of my devicectl output.
Expected behavior
Should be able to parse the list regardless of other devices in the Run Destinations
lazy fix is unpair watch or filter_map an Option but haven't checked if an apple tv or other platforms are different
Platform and Versions (please complete the following information):
Host OS: Mac 14.5
Target OS: IOS 17.6.1
Rustc: 1.82
The text was updated successfully, but these errors were encountered: