PlatformFilter
Represents a generic platform filter.
PIF.swift:851struct PlatformFilter
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (22) members.
Types
class AggregateTarget
class BaseTarget
struct BuildConfiguration
A build configuration, which is a named collection of build settings.
struct BuildFile
A build file, representing the membership of either a file or target product reference in a build phase.
class BuildPhase
Abstract base class for all build phases in a target.
struct BuildSettings
A set of build settings, which is represented as a struct of optional build settings. This is not optimally efficient, but it is great for code completion and type-checking.
class FileReference
A reference to a file system entity (a file, folder, etc).
class FrameworksBuildPhase
A “frameworks” build phase, i.e. one that links compiled code and libraries into the executable of the product.
class Group
A group that can contain References (FileReferences and other Groups). The resolved path of a group is used as the base path for any child references whose source tree type is GroupRelative.
class HeadersBuildPhase
A “headers” build phase, i.e. one that copies headers into a directory of the product, after suitable processing.
struct ImpartedBuildProperties
class Project
A PIF project, consisting of a tree of groups and file references, a list of targets, and some additional information.
class Reference
Abstract base class for all items in the group hierarchy.
class ResourcesBuildPhase
class SourcesBuildPhase
A “sources” build phase, i.e. one that compiles sources and provides them to be linked into the executable code of the product.
class Target
An Xcode target, representing a single entity to build.
struct TargetDependency
Represents a dependency on another target (identified by its PIF GUID).
struct TopLevelObject
The top-level PIF object.
class TypedObject
class Workspace
Typealiases
typealias GUID
The type used for identifying PIF objects.
Type members
static func sign(PIF.Workspace
) throws Add signature to workspace and its subobjects.
Citizens in XCBuildSupport
Conformances
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
Type members
init(from: any Decoder
) throws init(platform: String, environment: String
) static let androidFilters: [PIF.PlatformFilter]
Android platform filters.
static let driverKitFilters: [PIF.PlatformFilter]
DriverKit platform filters.
static let iOSFilters: [PIF.PlatformFilter]
iOS platform filters.
static let linuxFilters: [PIF.PlatformFilter]
Common Linux platform filters.
static let macCatalystFilters: [PIF.PlatformFilter]
Mac Catalyst platform filters.
static let macOSFilters: [PIF.PlatformFilter]
macOS platform filters.
static let openBSDFilters: [PIF.PlatformFilter]
OpenBSD filters.
static let tvOSFilters: [PIF.PlatformFilter]
tvOS platform filters.
static let visionOSFilters: [PIF.PlatformFilter]
VisionOS platform filters.
static let watchOSFilters: [PIF.PlatformFilter]
watchOS platform filters.
static let webAssemblyFilters: [PIF.PlatformFilter]
WebAssembly platform filters.
static let windowsFilters: [PIF.PlatformFilter]
Windows platform filters.
Instance members
var environment: String
The name of the environment (
LC_BUILD_VERSION
)var platform: String
The name of the platform (
LC_BUILD_VERSION
).
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.