mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-11 12:56:03 +03:00
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:
parent
058e084e5b
commit
a4624d3e18
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user