Fixes runIOS regressions #18681

This commit is contained in:
Mike Grabowski 2018-04-05 23:30:39 +02:00 committed by GitHub
parent 2e384184bc
commit 589eae1432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}