Commit f8c10aa
fix: launch default simulator rather than iPhone 6 (#126)
* fix for default simulator
this fix let the XCode simulator choose the default simulator to run.
Which is the last state of the simulator app. (can even be multiple simulators)
Before that it was always choosing the same simulator.
We now have the same behavior as the simulator app which brings a much better user experience ( imho)
* chore: support no deviceId
* Update iphone-simulator-common.ts
* fix: don't check device state if it's null
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>1 parent 892c8ba commit f8c10aa
File tree
2 files changed
+9
-8
lines changed- lib
2 files changed
+9
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
281 | 279 | | |
282 | 280 | | |
283 | 281 | | |
284 | 282 | | |
285 | 283 | | |
286 | | - | |
287 | | - | |
| 284 | + | |
| 285 | + | |
288 | 286 | | |
289 | 287 | | |
290 | | - | |
| 288 | + | |
291 | 289 | | |
292 | 290 | | |
293 | 291 | | |
| |||
298 | 296 | | |
299 | 297 | | |
300 | 298 | | |
301 | | - | |
| 299 | + | |
302 | 300 | | |
303 | 301 | | |
304 | | - | |
| 302 | + | |
305 | 303 | | |
306 | 304 | | |
307 | 305 | | |
| |||
0 commit comments