Unverified Commit 8050bd61 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Turn on iOS podspec linting in test (#77028)

parent a9fe8a72
...@@ -44,14 +44,13 @@ Future<void> main() async { ...@@ -44,14 +44,13 @@ Future<void> main() async {
'lib', 'lib',
'lint', 'lint',
objcPodspecPath, objcPodspecPath,
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
'--allow-warnings', '--allow-warnings',
'--verbose', '--verbose',
], ],
environment: <String, String>{ environment: <String, String>{
'LANG': 'en_US.UTF-8', '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<void> main() async { ...@@ -64,6 +63,7 @@ Future<void> main() async {
'lib', 'lib',
'lint', 'lint',
objcPodspecPath, objcPodspecPath,
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
'--allow-warnings', '--allow-warnings',
'--use-libraries', '--use-libraries',
'--verbose', '--verbose',
...@@ -71,8 +71,6 @@ Future<void> main() async { ...@@ -71,8 +71,6 @@ Future<void> main() async {
environment: <String, String>{ environment: <String, String>{
'LANG': 'en_US.UTF-8', '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<void> main() async { ...@@ -103,6 +101,7 @@ Future<void> main() async {
<String>[ <String>[
'lib', 'lib',
'lint', 'lint',
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
swiftPodspecPath, swiftPodspecPath,
'--allow-warnings', '--allow-warnings',
'--verbose', '--verbose',
...@@ -110,8 +109,6 @@ Future<void> main() async { ...@@ -110,8 +109,6 @@ Future<void> main() async {
environment: <String, String>{ environment: <String, String>{
'LANG': 'en_US.UTF-8', '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<void> main() async { ...@@ -124,6 +121,7 @@ Future<void> main() async {
'lib', 'lib',
'lint', 'lint',
swiftPodspecPath, swiftPodspecPath,
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
'--allow-warnings', '--allow-warnings',
'--use-libraries', '--use-libraries',
'--verbose', '--verbose',
...@@ -131,8 +129,6 @@ Future<void> main() async { ...@@ -131,8 +129,6 @@ Future<void> main() async {
environment: <String, String>{ environment: <String, String>{
'LANG': 'en_US.UTF-8', 'LANG': 'en_US.UTF-8',
}, },
// TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502
canFail: true,
); );
}); });
......
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