PBXLegacyTarget
public final class PBXLegacyTarget : PBXTarget
This is the element for a build target that according to Xcode is an External Build System
. You can use this target to run a script.
-
Path to the build tool that is invoked (required)
Declaration
Swift
public var buildToolPath: String?
-
Build arguments to be passed to the build tool.
Declaration
Swift
public var buildArgumentsString: String?
-
Whether or not to pass Xcode build settings as environment variables down to the tool when invoked
Declaration
Swift
public var passBuildSettingsInEnvironment: Bool
-
The directory where the build tool will be invoked during a build
Declaration
Swift
public var buildWorkingDirectory: String?
-
init(name:buildToolPath:buildArgumentsString:passBuildSettingsInEnvironment:buildWorkingDirectory:buildConfigurationList:buildPhases:buildRules:dependencies:productName:product:productType:)
Initializes the legacy target with its attributes.
Declaration
Swift
public convenience init(name: String, buildToolPath: String? = nil, buildArgumentsString: String? = nil, passBuildSettingsInEnvironment: Bool = false, buildWorkingDirectory: String? = nil, buildConfigurationList: XCConfigurationList? = nil, buildPhases: [PBXBuildPhase] = [], buildRules: [PBXBuildRule] = [], dependencies: [PBXTargetDependency] = [], productName: String? = nil, product: PBXFileReference? = nil, productType: PBXProductType? = nil)
Parameters
name
name.
buildToolPath
build tool path.
buildArgumentsString
build arguments.
passBuildSettingsInEnvironment
pass build settings in environment.
buildWorkingDirectory
build working directory.
buildConfigurationList
build configuration list.
buildPhases
build phases.
buildRules
build rules.
dependencies
dependencies.
productName
product name.
product
product file reference.
productType
product type.
-
Declaration
Swift
public required init(from decoder: Decoder) throws