We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb39382 commit 45d327fCopy full SHA for 45d327f
ReleaseTooling/Sources/ZipBuilder/CocoaPodUtils.swift
@@ -365,7 +365,10 @@ enum CocoaPodUtils {
365
repeat {
366
var foundDeps = Set<String>()
367
for dep in newDeps {
368
- let childDeps = installedPods[dep]?.dependencies ?? []
+ // The `dep` may be a subspec, so get root spec name to lookup it's
369
+ // dependencies in the `installedPods` dictionary.
370
+ let rootDep = dep.components(separatedBy: "/")[0]
371
+ let childDeps = installedPods[rootDep]?.dependencies ?? []
372
foundDeps.formUnion(Set(childDeps))
373
}
374
newDeps = foundDeps.subtracting(returnDeps)
0 commit comments