Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Sources/XcodeGraph/Models/Target.swift
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ public struct Target: Equatable, Hashable, Comparable, Codable, Sendable {
}
}

@available(*, deprecated, message: """
Whether a target supports sources or not is not as binary decision as we originally assumed and codified in this getter.
Because it's something that depends on other variables, we decided to pull this logic out of tuist/XcodeGraph into tuist/tuist.
If you are interested in having a similar logic in your XcodeGraph-dependent project, you might want to check out tuist/tuist.
""")
/// Returns true if the target supports having sources.
public var supportsSources: Bool {
switch product {
Expand Down
Loading