Add -t support to flutter run on iOS (#4439)

This commit is contained in:
Adam Barth 2016-06-07 16:41:53 -07:00
parent 35ea6a1cef
commit 440aa5ee2f

View File

@ -180,7 +180,7 @@ class IOSDevice extends Device {
printTrace('Building ${app.name} for $id');
// Step 1: Install the precompiled/DBC application if necessary.
XcodeBuildResult buildResult = await buildXcodeProject(app: app, mode: mode, buildForDevice: true);
XcodeBuildResult buildResult = await buildXcodeProject(app: app, mode: mode, target: mainPath, buildForDevice: true);
if (!buildResult.success) {
printError('Could not build the precompiled application for the device.');
return new LaunchResult.failed();