Português (Portuguese)
Appearance
Português (Portuguese)
Appearance
STRUCT
ProfileAction Contents
configurationpreActionspostActionsexecutableargumentsprofileAction(configuration:preActions:postActions:executable:arguments:)public struct ProfileAction: Equatable, Codable, SendableAn action that profiles the built products.
It's initialized with the .profileAction static method
configuration public var configuration: ConfigurationNameIndicates 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
) -> ProfileActionReturns 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. |