diff --git a/CHANGELOG.md b/CHANGELOG.md index d7ef95ac65..257ad2f655 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre` [Dimitris Koutsogiorgas](https://github.com/dnkoutso) [#3912](https://github.com/CocoaPods/CocoaPods/issues/3912) +* Implicitly unlock all local dependencies when installing. + [Samuel Giddins](https://github.com/segiddins) + [#3764](https://github.com/CocoaPods/CocoaPods/issues/3764) + ## 0.38.2 @@ -3966,4 +3970,4 @@ allowing you to automate Xcode related tasks. [4]: https://github.com/CocoaPods/Xcodeproj [5]: https://github.com/tomaz/appledoc [6]: https://github.com/CocoaPods/CocoaPods/compare/0.5.1...0.6.0 -[7]: https://github.com/CocoaPods/CocoaPods/compare/0.3.10...0.5.0 \ No newline at end of file +[7]: https://github.com/CocoaPods/CocoaPods/compare/0.3.10...0.5.0 diff --git a/lib/cocoapods/installer/analyzer.rb b/lib/cocoapods/installer/analyzer.rb index 29df8273a6..487534b338 100644 --- a/lib/cocoapods/installer/analyzer.rb +++ b/lib/cocoapods/installer/analyzer.rb @@ -397,6 +397,7 @@ def generate_version_locking_dependencies else pods_to_update = result.podfile_state.changed + result.podfile_state.deleted pods_to_update += update[:pods] if update_mode == :selected + pods_to_update += podfile.dependencies.select(&:local?).map(&:name) LockingDependencyAnalyzer.generate_version_locking_dependencies(lockfile, pods_to_update) end end