From 8050bd613269830b82abe1444771e470e3d5ad26 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Tue, 2 Mar 2021 10:29:08 -0800 Subject: [PATCH] Turn on iOS podspec linting in test (#77028) --- dev/devicelab/bin/tasks/plugin_lint_mac.dart | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/dev/devicelab/bin/tasks/plugin_lint_mac.dart b/dev/devicelab/bin/tasks/plugin_lint_mac.dart index ff4654489f..dbef483f59 100644 --- a/dev/devicelab/bin/tasks/plugin_lint_mac.dart +++ b/dev/devicelab/bin/tasks/plugin_lint_mac.dart @@ -44,14 +44,13 @@ Future main() async { 'lib', 'lint', objcPodspecPath, + '--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices. '--allow-warnings', '--verbose', ], environment: { 'LANG': 'en_US.UTF-8', }, - // TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502 - canFail: true, ); }); @@ -64,6 +63,7 @@ Future main() async { 'lib', 'lint', objcPodspecPath, + '--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices. '--allow-warnings', '--use-libraries', '--verbose', @@ -71,8 +71,6 @@ Future main() async { environment: { 'LANG': 'en_US.UTF-8', }, - // TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502 - canFail: true, ); }); @@ -103,6 +101,7 @@ Future main() async { [ 'lib', 'lint', + '--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices. swiftPodspecPath, '--allow-warnings', '--verbose', @@ -110,8 +109,6 @@ Future main() async { environment: { 'LANG': 'en_US.UTF-8', }, - // TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502 - canFail: true, ); }); @@ -124,6 +121,7 @@ Future main() async { 'lib', 'lint', swiftPodspecPath, + '--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices. '--allow-warnings', '--use-libraries', '--verbose', @@ -131,8 +129,6 @@ Future main() async { environment: { 'LANG': 'en_US.UTF-8', }, - // TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502 - canFail: true, ); });