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 =
240240
241241 logger . info ( `Found booted ${ booted . map ( ( { name} ) => name ) . join ( ', ' ) } ` ) ;
242242
243- for ( const device of bootedDevices ) {
244- await runOnDevice (
245- device ,
243+ for ( const simulator of bootedSimulators ) {
244+ await runOnSimulator (
245+ xcodeProject ,
246246 platformName ,
247247 mode ,
248248 scheme ,
249- xcodeProject ,
250249 args ,
250+ simulator || fallbackSimulator ,
251251 ) ;
252252 }
253253
254- for ( const simulator of bootedSimulators ) {
255- await runOnSimulator (
256- xcodeProject ,
254+ for ( const device of bootedDevices ) {
255+ await runOnDevice (
256+ device ,
257257 platformName ,
258258 mode ,
259259 scheme ,
260+ xcodeProject ,
260261 args ,
261- simulator || fallbackSimulator ,
262262 ) ;
263263 }
264264
You can’t perform that action at this time.
0 commit comments