Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
bf7a3262
Unverified
Commit
bf7a3262
authored
May 17, 2022
by
Jenn Magder
Committed by
GitHub
May 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Up CocoaPods minumum to 1.10 (#103655)
parent
09a35537
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cocoapods.dart
packages/flutter_tools/lib/src/macos/cocoapods.dart
+1
-1
cocoapods_test.dart
...lutter_tools/test/general.shard/macos/cocoapods_test.dart
+2
-2
No files found.
packages/flutter_tools/lib/src/macos/cocoapods.dart
View file @
bf7a3262
...
...
@@ -68,7 +68,7 @@ enum CocoaPodsStatus {
brokenInstall
,
}
const
Version
cocoaPodsMinimumVersion
=
Version
.
withText
(
1
,
9
,
0
,
'1.9
.0'
);
const
Version
cocoaPodsMinimumVersion
=
Version
.
withText
(
1
,
10
,
0
,
'1.10
.0'
);
const
Version
cocoaPodsRecommendedVersion
=
Version
.
withText
(
1
,
11
,
0
,
'1.11.0'
);
/// Cocoapods is a dependency management solution for iOS and macOS applications.
...
...
packages/flutter_tools/test/general.shard/macos/cocoapods_test.dart
View file @
bf7a3262
...
...
@@ -153,13 +153,13 @@ void main() {
testWithoutContext
(
'detects below minimum version'
,
()
async
{
pretendPodIsInstalled
();
pretendPodVersionIs
(
'1.
6
.0'
);
pretendPodVersionIs
(
'1.
9
.0'
);
expect
(
await
cocoaPodsUnderTest
.
evaluateCocoaPodsInstallation
,
CocoaPodsStatus
.
belowMinimumVersion
);
});
testWithoutContext
(
'detects below recommended version'
,
()
async
{
pretendPodIsInstalled
();
pretendPodVersionIs
(
'1.
9.0
'
);
pretendPodVersionIs
(
'1.
10.5
'
);
expect
(
await
cocoaPodsUnderTest
.
evaluateCocoaPodsInstallation
,
CocoaPodsStatus
.
belowRecommendedVersion
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment