diff --git a/dev/devicelab/bin/tasks/plugin_lint_mac.dart b/dev/devicelab/bin/tasks/plugin_lint_mac.dart index 8d2fa85d06..c46f098c57 100644 --- a/dev/devicelab/bin/tasks/plugin_lint_mac.dart +++ b/dev/devicelab/bin/tasks/plugin_lint_mac.dart @@ -19,6 +19,12 @@ Future main() async { section('Lint integration_test'); await inDirectory(tempDir, () async { + // Update pod repo. + await exec( + 'pod', + ['repo', 'update'], + ); + // Relative to this script. final String flutterRoot = path.dirname(path.dirname(path.dirname(path.dirname(path.dirname(path.fromUri(Platform.script)))))); print('Flutter root at $flutterRoot');