Commit 6bb402c1 authored by Collin Jackson's avatar Collin Jackson Committed by GitHub

Merge pull request #4901 from collinjackson/build_xcworkspace

When using flutter run, build the workspace instead of the project.
parents 1ac08b26 fdc2a2ba
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment