From b78b17630ae277348c4a8e05aa64706c75fa22fa Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Thu, 7 Jan 2021 11:59:40 -0800 Subject: [PATCH] Run pod repo update in iOS extension test (#73442) --- dev/devicelab/bin/tasks/ios_app_with_extensions_test.dart | 4 ++++ dev/integration_tests/ios_app_with_extensions/ios/Podfile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dev/devicelab/bin/tasks/ios_app_with_extensions_test.dart b/dev/devicelab/bin/tasks/ios_app_with_extensions_test.dart index 073ef714b37..cccd75ce77c 100644 --- a/dev/devicelab/bin/tasks/ios_app_with_extensions_test.dart +++ b/dev/devicelab/bin/tasks/ios_app_with_extensions_test.dart @@ -30,6 +30,10 @@ Future main() async { projectDir, ); + // For some reason devicelab machines have really old spec snapshots. + // TODO(jmagman): Remove this if this test is moved to a machine that installs CocoaPods on every run. + await eval('pod', ['repo', 'update', '--verbose']); + section('Create release build'); await inDirectory(projectDir, () async { diff --git a/dev/integration_tests/ios_app_with_extensions/ios/Podfile b/dev/integration_tests/ios_app_with_extensions/ios/Podfile index a5fb528244f..6b707b6e23e 100644 --- a/dev/integration_tests/ios_app_with_extensions/ios/Podfile +++ b/dev/integration_tests/ios_app_with_extensions/ios/Podfile @@ -39,7 +39,7 @@ target 'watch Extension' do use_frameworks! use_modular_headers! - pod 'EFQRCode/watchOS', '5.1.6' + pod 'EFQRCode', '6.0' end post_install do |installer|