shorebird icon indicating copy to clipboard operation
shorebird copied to clipboard

feat: support iOS simulator with `shorebird preview`

Open LeFrosch opened this issue 2 years ago • 4 comments

As far as I can tell the shorebird preview command does not work with an iOS simulator. Since I do not one a physical iOS device this makes testing kinda hard.

LeFrosch avatar Oct 26 '23 06:10 LeFrosch

Correct. Shorebird currently only supports Release builds of Flutter, which do not work on an iOS simulator.

It would be possible for us to build Flutter Release mode for an iOS simulator (despite the Flutter project's current choice not to), but we haven't set that up yet.

eseidel avatar Oct 26 '23 20:10 eseidel

Ran into this today as well. If not already (I couldn't find it!), would be great to include this in the docs or even in the shorebird preview command, e.g after 10s of searching, print a message indicating that if the user is expecting a simulator to be found, that won't work.

btrautmann avatar Dec 22 '24 05:12 btrautmann

Fair. I think this also just a missing feature from Flutter and we could pretty trivially add it (Release support for Simulators). I know why we didn't add it originally (since simulators are not representative for performance), but I think it's mostly just confusing to users.

eseidel avatar Dec 22 '24 05:12 eseidel

@eseidel Totally...As a user I wouldn't even mind you finger-pointing as it being a Flutter native limitation 😉 , but having some messaging or warning would've helped at least in my case 😄

btrautmann avatar Jan 09 '25 15:01 btrautmann