Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ReleaseTooling/Sources/ZipBuilder/CocoaPodUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,10 @@ enum CocoaPodUtils {
repeat {
var foundDeps = Set<String>()
for dep in newDeps {
let childDeps = installedPods[dep]?.dependencies ?? []
// The `dep` may be a subspec, so get root spec name to lookup it's
// dependencies in the `installedPods` dictionary.
let rootDep = dep.components(separatedBy: "/")[0]
let childDeps = installedPods[rootDep]?.dependencies ?? []
foundDeps.formUnion(Set(childDeps))
}
newDeps = foundDeps.subtracting(returnDeps)
Expand Down
Loading