mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
[carthage-fix] Update PBXProjGenerator to embed frameworks also in test bundles and extensions
This commit is contained in:
@@ -29,6 +29,14 @@ extension PBXProductType {
|
||||
public var isApp: Bool {
|
||||
return fileExtension == "app"
|
||||
}
|
||||
|
||||
public var isTestBundle: Bool {
|
||||
return fileExtension == "xctest"
|
||||
}
|
||||
|
||||
public var shouldEmbedDynamicFrameworks: Bool {
|
||||
return isApp || isExtension || isTestBundle
|
||||
}
|
||||
|
||||
public var name: String {
|
||||
return rawValue.replacingOccurrences(of: "com.apple.product-type.", with: "")
|
||||
|
||||
Reference in New Issue
Block a user