STRUCT
RunActionOptions
Contents
- Properties
languageregionstoreKitConfigurationPathsimulatedLocationenableGPUFrameCaptureMode
- Methods
init(language:region:storeKitConfigurationPath:simulatedLocation:enableGPUFrameCaptureMode:)options(language:storeKitConfigurationPath:simulatedLocation:enableGPUFrameCaptureMode:)
public struct RunActionOptions: Equatable, CodableOptions for the RunAction action
Properties
language
public var language: SchemeLanguage?Language to use when running the app.
region
public var region: String?Region to use when running the app.
storeKitConfigurationPath
public var storeKitConfigurationPath: FilePath?The path of the StoreKit configuration file.
simulatedLocation
public var simulatedLocation: SimulatedLocation?A simulated GPS location to use when running the app.
enableGPUFrameCaptureMode
public var enableGPUFrameCaptureMode: GPUFrameCaptureModeConfigure your project to work with the Metal frame debugger.
Methods
init(language:region:storeKitConfigurationPath:simulatedLocation:enableGPUFrameCaptureMode:)
public init(
language: SchemeLanguage? = nil,
region: String? = nil,
storeKitConfigurationPath: FilePath? = nil,
simulatedLocation: SimulatedLocation? = nil,
enableGPUFrameCaptureMode: GPUFrameCaptureMode = GPUFrameCaptureMode.default
)Creates an RunActionOptions instance
- Parameters:
language: language (e.g. "pl").
storeKitConfigurationPath: The path of the StoreKit configuration file. Please note that this file is automatically added to the Project/Workpace. You should not add it manually. The default value is
nil, which results in no configuration defined for the schemesimulatedLocation: The simulated GPS location to use when running the app. Please note that the
.custom(gpxPath:)case must refer to a valid GPX file in your project's resources.enableGPUFrameCaptureMode: The Metal Frame Capture mode to use. e.g: .disabled If your target links to the Metal framework, Xcode enables GPU Frame Capture. You can disable it to test your app in best perfomance.
Parameters
| Name | Description |
|---|---|
| language | language (e.g. “pl”). |
| storeKitConfigurationPath | The path of the . Please note that this file is automatically added to the Project/Workpace. You should not add it manually. The default value is nil, which results in no configuration defined for the scheme |
| simulatedLocation | The simulated GPS location to use when running the app. Please note that the .custom(gpxPath:) case must refer to a valid GPX file in your project’s resources. |
| enableGPUFrameCaptureMode | The Metal Frame Capture mode to use. e.g: .disabled If your target links to the Metal framework, Xcode enables GPU Frame Capture. You can disable it to test your app in best perfomance. |
options(language:storeKitConfigurationPath:simulatedLocation:enableGPUFrameCaptureMode:)
public static func options(
language: SchemeLanguage? = nil,
storeKitConfigurationPath: FilePath? = nil,
simulatedLocation: SimulatedLocation? = nil,
enableGPUFrameCaptureMode: GPUFrameCaptureMode = GPUFrameCaptureMode.default
) -> SelfCreates an RunActionOptions instance
- Parameters:
language: language (e.g. "pl").
storeKitConfigurationPath: The path of the StoreKit configuration file. Please note that this file is automatically added to the Project/Workpace. You should not add it manually. The default value is
nil, which results in no configuration defined for the schemesimulatedLocation: The simulated GPS location to use when running the app. Please note that the
.custom(gpxPath:)case must refer to a valid GPX file in your project's resources.enableGPUFrameCaptureMode: The Metal Frame Capture mode to use. e.g: .disabled If your target links to the Metal framework, Xcode enables GPU Frame Capture. You can disable it to test your app in best perfomance.
Parameters
| Name | Description |
|---|---|
| language | language (e.g. “pl”). |
| storeKitConfigurationPath | The path of the . Please note that this file is automatically added to the Project/Workpace. You should not add it manually. The default value is nil, which results in no configuration defined for the scheme |
| simulatedLocation | The simulated GPS location to use when running the app. Please note that the .custom(gpxPath:) case must refer to a valid GPX file in your project’s resources. |
| enableGPUFrameCaptureMode | The Metal Frame Capture mode to use. e.g: .disabled If your target links to the Metal framework, Xcode enables GPU Frame Capture. You can disable it to test your app in best perfomance. |
