Skip to content

Commit

Permalink
Fix an external pod that downloaded the wrong content
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhongping committed Sep 17, 2022
1 parent 47532a0 commit c57d2a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -44,6 +44,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`

##### Bug Fixes

* Fix an external pod that downloaded the wrong content
[xuzhongping](https://github.com/xuzhongping)
[#11509](https://github.com/CocoaPods/CocoaPods/issues/11509)

* Clean sandbox when a pod switches from remote to local.
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#11213](https://github.com/CocoaPods/CocoaPods/pull/11213)
Expand Down
1 change: 1 addition & 0 deletions lib/cocoapods/installer/analyzer.rb
Expand Up @@ -1011,6 +1011,7 @@ def dependencies_to_fetch(podfile_state)
sandbox.specification_path(dep.root_name).nil? ||
!dep.external_source[:path].nil? ||
!sandbox.pod_dir(dep.root_name).directory? ||
sandbox.pod_dir(dep.root_name).empty? ||
checkout_requires_update?(dep)
end
end
Expand Down

0 comments on commit c57d2a9

Please sign in to comment.