File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
packages/cli-platform-apple/src/commands/runCommand Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -240,25 +240,25 @@ const createRun =
240
240
241
241
logger . info ( `Found booted ${ booted . map ( ( { name} ) => name ) . join ( ', ' ) } ` ) ;
242
242
243
- for ( const device of bootedDevices ) {
244
- await runOnDevice (
245
- device ,
243
+ for ( const simulator of bootedSimulators ) {
244
+ await runOnSimulator (
245
+ xcodeProject ,
246
246
platformName ,
247
247
mode ,
248
248
scheme ,
249
- xcodeProject ,
250
249
args ,
250
+ simulator || fallbackSimulator ,
251
251
) ;
252
252
}
253
253
254
- for ( const simulator of bootedSimulators ) {
255
- await runOnSimulator (
256
- xcodeProject ,
254
+ for ( const device of bootedDevices ) {
255
+ await runOnDevice (
256
+ device ,
257
257
platformName ,
258
258
mode ,
259
259
scheme ,
260
+ xcodeProject ,
260
261
args ,
261
- simulator || fallbackSimulator ,
262
262
) ;
263
263
}
264
264
You can’t perform that action at this time.
0 commit comments