sonos / dinghy

Easier cross-compilation for phones and single boards computers
Other
367 stars 44 forks source link

Use devicectl for launching on iOS 17 or greater. #214

Closed simlay closed 9 months ago

simlay commented 9 months ago

Related to #204.

As of b22d5ed26be5d6a3d42a3a065a00bd85fe719a4c, I've tested this on:

kali commented 9 months ago

Nice ! I'm gonna work on an alternative solution based on pymobiledevice because many things we do rely on more than just launching (fetching stdout and return value for instance). But it may be nice to have an alternative workflow like this for simple cases.

simlay commented 9 months ago

Nice ! I'm gonna work on an alternative solution based on pymobiledevice because many things we do rely on more than just launching (fetching stdout and return value for instance). But it may be nice to have an alternative workflow like this for simple cases.

Thanks! This solution doesn't get any stdout. To verify things actually work, I either use a bevy example to draw stuff or use the macOS console app to view the logs that go into the apple unified logging system using oslog.

I spent a bit of time yesterday trying to how xcrun xcdevice is suppose to be used. The flutter project uses xcdevice but it's unclear how/if they actually get stdout or the exit status from the process on the device.

simlay commented 9 months ago

Superseeded by #215.