Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(CocoaPods): Correctly parse secondary dependencies with versions
Until now, for secondary lines in the "PODS" section any present version was ignored. However, if a version is present there, then there is no top-level entry for the same package anymore to declare the version, which resulted in a `NoSuchElementException` for the `versionForName` map. Solve that by also parsing the version for such secondary entries, if present. Also, allow the lookup in `dependenciesForName` to fail, which simply means that named package has no dependencies. Fixes #7523. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
- Loading branch information