Skip to content

Commit 4c3bc49

Browse files
authored
Remove workarounds for check_podspecs needed for older version of Cocoapods (#5724)
CI has been updated to Cocoapods 1.13, which fixes previous issues with the plugin_lint_mac test. Remove workarounds added previously. See flutter/flutter#125812.
1 parent dc5b267 commit 4c3bc49

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

script/tool/lib/src/podspec_check_command.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,6 @@ class PodspecCheckCommand extends PackageLoopingCommand {
142142
podspecPath,
143143
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
144144
'--skip-tests',
145-
// TODO(vashworth): remove allow-warnings when https://github.com/flutter/flutter/issues/125812 is fixed.
146-
// https://github.com/flutter/flutter/issues/125812
147-
'--allow-warnings',
148145
'--use-modular-headers', // Flutter sets use_modular_headers! in its templates.
149146
if (libraryLint) '--use-libraries'
150147
];

script/tool/test/podspec_check_command_test.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ void main() {
143143
.path,
144144
'--configuration=Debug',
145145
'--skip-tests',
146-
'--allow-warnings',
147146
'--use-modular-headers',
148147
'--use-libraries'
149148
],
@@ -159,7 +158,6 @@ void main() {
159158
.path,
160159
'--configuration=Debug',
161160
'--skip-tests',
162-
'--allow-warnings',
163161
'--use-modular-headers',
164162
],
165163
packagesDir.path),
@@ -201,7 +199,6 @@ void main() {
201199
.path,
202200
'--configuration=Debug',
203201
'--skip-tests',
204-
'--allow-warnings',
205202
'--use-modular-headers',
206203
'--use-libraries'
207204
],
@@ -217,7 +214,6 @@ void main() {
217214
.path,
218215
'--configuration=Debug',
219216
'--skip-tests',
220-
'--allow-warnings',
221217
'--use-modular-headers',
222218
],
223219
packagesDir.path),

0 commit comments

Comments
 (0)