Skip to content

Commit bf7a326

Browse files
authored
Up CocoaPods minumum to 1.10 (#103655)
1 parent 09a3553 commit bf7a326

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/flutter_tools/lib/src/macos/cocoapods.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ enum CocoaPodsStatus {
6868
brokenInstall,
6969
}
7070

71-
const Version cocoaPodsMinimumVersion = Version.withText(1, 9, 0, '1.9.0');
71+
const Version cocoaPodsMinimumVersion = Version.withText(1, 10, 0, '1.10.0');
7272
const Version cocoaPodsRecommendedVersion = Version.withText(1, 11, 0, '1.11.0');
7373

7474
/// Cocoapods is a dependency management solution for iOS and macOS applications.

packages/flutter_tools/test/general.shard/macos/cocoapods_test.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ void main() {
153153

154154
testWithoutContext('detects below minimum version', () async {
155155
pretendPodIsInstalled();
156-
pretendPodVersionIs('1.6.0');
156+
pretendPodVersionIs('1.9.0');
157157
expect(await cocoaPodsUnderTest.evaluateCocoaPodsInstallation, CocoaPodsStatus.belowMinimumVersion);
158158
});
159159

160160
testWithoutContext('detects below recommended version', () async {
161161
pretendPodIsInstalled();
162-
pretendPodVersionIs('1.9.0');
162+
pretendPodVersionIs('1.10.5');
163163
expect(await cocoaPodsUnderTest.evaluateCocoaPodsInstallation, CocoaPodsStatus.belowRecommendedVersion);
164164
});
165165

0 commit comments

Comments
 (0)