diff --git a/packages/flutter_tools/lib/src/ios/mac.dart b/packages/flutter_tools/lib/src/ios/mac.dart index e6e8ebe1ee7..df2be09013e 100644 --- a/packages/flutter_tools/lib/src/ios/mac.dart +++ b/packages/flutter_tools/lib/src/ios/mac.dart @@ -131,7 +131,7 @@ Future buildXcodeProject({ commands.addAll([ '-workspace', path.basename(entity.path), '-scheme', path.basenameWithoutExtension(entity.path), - "BUILD_DIR=${path.absolute(app.appDirectory, 'build')}", + "BUILD_DIR=${path.absolute(getIosBuildDirectory())}", ]); break; }