Merge pull request #4901 from collinjackson/build_xcworkspace

When using flutter run, build the workspace instead of the project.
This commit is contained in:
Collin Jackson 2016-07-12 14:23:38 -07:00 committed by GitHub
commit 6bb402c187

View File

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