When using flutter run, build the workspace instead of the project

This commit is contained in:
Collin Jackson
2016-07-12 14:04:02 -07:00
parent 4e3be59bc2
commit fdc2a2ba77

View File

@@ -123,6 +123,9 @@ Future<XcodeBuildResult> buildXcodeProject({
'build',
'-configuration', 'Release',
'ONLY_ACTIVE_ARCH=YES',
'-workspace', 'Runner.xcworkspace',
'-scheme', 'Runner',
"BUILD_DIR=${path.absolute(app.rootPath, 'build')}",
];
if (buildForDevice) {