Don't add framework dependency's directory to FRAMEWORK_SEARCH_PATHS if it is implicit

Because we assume the dependency is in BUILT_PRODUCTS_DIR.

Co-authored-by: yutailang0119 <muta.yutaro@gmail.com>
This commit is contained in:
Sho Ikeda 2019-12-26 15:27:23 +09:00
parent 058e084e5b
commit a4624d3e18

View File

@ -534,8 +534,10 @@ public class PBXProjGenerator {
}
case .framework:
let buildPath = Path(dependency.reference).parent().string.quoted
frameworkBuildPaths.insert(buildPath)
if !dependency.implicit {
let buildPath = Path(dependency.reference).parent().string.quoted
frameworkBuildPaths.insert(buildPath)
}
let fileReference: PBXFileElement
if dependency.implicit {