mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
CarthageDependencyResolver: ignore order-only dependencies (#1041)
* CarthageDependencyResolver: ignore target-only dependencies * Update fixtures for expected changed in watchOS apps' FRAMEWORK_SEARCH_PATHS * Update CHANGELOG.md
This commit is contained in:
@@ -68,6 +68,9 @@ public class CarthageDependencyResolver {
|
||||
|
||||
if let target = projectTarget as? Target {
|
||||
for dependency in target.dependencies {
|
||||
if case (false, false) = (dependency.link, dependency.embed ?? topLevelTarget.shouldEmbedCarthageDependencies) {
|
||||
continue
|
||||
}
|
||||
guard !frameworks.contains(where: { $0.dependency == dependency }) else {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user