Skip to content

Skip pod initialization if version >= 1.8.0. - #41491

Merged
jmagman merged 2 commits into
flutter:masterfrom
jmagman:pod
Sep 30, 2019
Merged

jmagman merged 2 commits into
flutter:masterfrom
jmagman:pod

Conversation

@jmagman

@jmagman jmagman commented Sep 27, 2019

Copy link
Copy Markdown
Member

Description

CocoaPods 1.8.0 no longer requires pod setup to be run since it doesn't need the local specs repository set up.

Also remove hard-coded 1.7.5 device lab version since 1.8.1 has fixed the gem issue introduced in 1.8.0.

Related Issues

Fixes #41253.
Fixes #41221.

Tests

Added cocoapods_test.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I signed the [CLA].
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

  • Yes, this is a breaking change (Please read [Handling breaking changes]). Replace this with a link to the e-mail where you asked for input on this proposed change.
  • No, this is not a breaking change.

@fluttergithubbot fluttergithubbot added c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels. labels Sep 27, 2019
@jmagman jmagman added t: flutter doctor Problem related to the "flutter doctor" tool team-infra Owned by Infrastructure team platform-ios iOS applications specifically labels Sep 27, 2019
Comment thread .cirrus.yml Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\cc @digiter

@stuartmorgan-g stuartmorgan-g left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is much better than my suggestion :)

@codecov

codecov Bot commented Sep 27, 2019 •

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@e8517a4). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #41491   +/-   ##
=========================================
  Coverage          ?   60.24%           
=========================================
  Files             ?      193           
  Lines             ?    18841           
  Branches          ?        0           
=========================================
  Hits              ?    11350           
  Misses            ?     7491           
  Partials          ?        0
Flag Coverage Δ
#flutter_tool 60.24% <100%> (?)
Impacted Files Coverage Δ
...ackages/flutter_tools/lib/src/macos/cocoapods.dart 90.56% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e8517a4...6205750. Read the comment docs.

@jmagman

jmagman commented Sep 30, 2019

Copy link
Copy Markdown
Member Author

Landing on red tests, issue was fixed 3 days ago with d968b7c.

@jmagman
jmagman merged commit 1eb1e22 into flutter:master Sep 30, 2019
@jmagman
jmagman deleted the pod branch September 30, 2019 20:14
@zanderso zanderso mentioned this pull request Oct 16, 2019
zanderso added a commit that referenced this pull request Oct 17, 2019
* refactor cocoapods validator to detect broken install (#38560)
* Skip pod initialization if version >= 1.8.0. (#41491)
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Nov 26, 2019
@jmagman jmagman mentioned this pull request Mar 6, 2020
9 of 10 tasks
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt. platform-ios iOS applications specifically t: flutter doctor Problem related to the "flutter doctor" tool team-infra Owned by Infrastructure team tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pod setup does not work for Cocoapods 1.8.0 Use CocoaPods version 1.8.1 in devicelab

4 participants