From 589eae1432cc4bbc16221f841e27b038099fd128 Mon Sep 17 00:00:00 2001 From: Mike Grabowski Date: Thu, 5 Apr 2018 23:30:39 +0200 Subject: [PATCH] Fixes runIOS regressions #18681 --- local-cli/runIOS/runIOS.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/local-cli/runIOS/runIOS.js b/local-cli/runIOS/runIOS.js index 8927be98d..272280115 100644 --- a/local-cli/runIOS/runIOS.js +++ b/local-cli/runIOS/runIOS.js @@ -127,10 +127,10 @@ Try closing the simulator or run the command again without specifying a simulato } } - buildProject(xcodeProject, selectedSimulator.udid, scheme, args.configuration, args.packager, args.verbose) - .then((appName) => resolve(selectedSimulator.udid, appName)); + buildProject(xcodeProject, selectedSimulator.udid, scheme, args.configuration, args.packager, args.verbose, args.port) + .then((appName) => resolve({ udid: selectedSimulator.udid, appName })); }) - .then((udid, appName) => { + .then(({udid, appName}) => { if (!appName) { appName = scheme; }