Português (Portuguese)
Português (Portuguese)
Appearance
Português (Portuguese)
Português (Portuguese)
Appearance
STRUCT
ProfileAction
Contents
configuration
preActions
postActions
executable
arguments
profileAction(configuration:preActions:postActions:executable:arguments:)
public struct ProfileAction: Equatable, Codable, Sendable
An action that profiles the built products.
It's initialized with the .profileAction
static method
configuration
public var configuration: ConfigurationName
Indicates the build configuration the product should be profiled with.
preActions
public var preActions: [ExecutionAction]
A list of actions that are executed before starting the profile process.
postActions
public var postActions: [ExecutionAction]
A list of actions that are executed after the profile process.
executable
public var executable: TargetReference?
The name of the executable or target to profile.
arguments
public var arguments: Arguments?
Command line arguments passed on launch and environment variables.
profileAction(configuration:preActions:postActions:executable:arguments:)
public static func profileAction(
configuration: ConfigurationName = .release,
preActions: [ExecutionAction] = [],
postActions: [ExecutionAction] = [],
executable: TargetReference? = nil,
arguments: Arguments? = nil
) -> ProfileAction
Returns a profile action.
Name | Description |
---|---|
configuration | Indicates the build configuration the product should be profiled with. |
preActions | A list of actions that are executed before starting the profile process. |
postActions | A list of actions that are executed after the profile process. |
executable | The name of the executable or target to profile. |
arguments | Command line arguments passed on launch and environment variables. |