diff --git a/script/tool/lib/src/podspec_check_command.dart b/script/tool/lib/src/podspec_check_command.dart index d437e2188c1b..b0982b7ee69e 100644 --- a/script/tool/lib/src/podspec_check_command.dart +++ b/script/tool/lib/src/podspec_check_command.dart @@ -151,7 +151,6 @@ class PodspecCheckCommand extends PackageLoopingCommand { podspecPath, '--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices. '--skip-tests', - '--allow-warnings', '--use-modular-headers', // Flutter sets use_modular_headers! in its templates. if (libraryLint) '--use-libraries' ]; diff --git a/script/tool/test/podspec_check_command_test.dart b/script/tool/test/podspec_check_command_test.dart index 3bbe60b506c7..6745f18b6d4f 100644 --- a/script/tool/test/podspec_check_command_test.dart +++ b/script/tool/test/podspec_check_command_test.dart @@ -156,7 +156,6 @@ void main() { .path, '--configuration=Debug', '--skip-tests', - '--allow-warnings', '--use-modular-headers', '--use-libraries' ], @@ -172,7 +171,6 @@ void main() { .path, '--configuration=Debug', '--skip-tests', - '--allow-warnings', '--use-modular-headers', ], packagesDir.path), @@ -214,7 +212,6 @@ void main() { .path, '--configuration=Debug', '--skip-tests', - '--allow-warnings', '--use-modular-headers', '--use-libraries' ], @@ -230,7 +227,6 @@ void main() { .path, '--configuration=Debug', '--skip-tests', - '--allow-warnings', '--use-modular-headers', ], packagesDir.path),