Merge pull request #4901 from collinjackson/build_xcworkspace
When using flutter run, build the workspace instead of the project.
This commit is contained in:
commit
6bb402c187
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user