Skip to content

STRUCT

RunActionOptions ​

Contents

  • Properties
    • language
    • region
    • storeKitConfigurationPath
    • simulatedLocation
    • enableGPUFrameCaptureMode
  • Methods
    • init(language:region:storeKitConfigurationPath:simulatedLocation:enableGPUFrameCaptureMode:)
    • options(language:storeKitConfigurationPath:simulatedLocation:enableGPUFrameCaptureMode:)
swift
public struct RunActionOptions: Equatable, Codable

Options for the RunAction action

Properties ​

language ​

swift
public var language: SchemeLanguage?

Language to use when running the app.

region ​

swift
public var region: String?

Region to use when running the app.

storeKitConfigurationPath ​

swift
public var storeKitConfigurationPath: FilePath?

The path of the StoreKit configuration file.

simulatedLocation ​

swift
public var simulatedLocation: SimulatedLocation?

A simulated GPS location to use when running the app.

enableGPUFrameCaptureMode ​

swift
public var enableGPUFrameCaptureMode: GPUFrameCaptureMode

Configure your project to work with the Metal frame debugger.

Methods ​

init(language:region:storeKitConfigurationPath:simulatedLocation:enableGPUFrameCaptureMode:) ​

swift
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 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.

Parameters ​

NameDescription
languagelanguage (e.g. “pl”).
storeKitConfigurationPathThe 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
simulatedLocationThe 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.
enableGPUFrameCaptureModeThe 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:) ​

swift
public static func options(
    language: SchemeLanguage? = nil,
    storeKitConfigurationPath: FilePath? = nil,
    simulatedLocation: SimulatedLocation? = nil,
    enableGPUFrameCaptureMode: GPUFrameCaptureMode = GPUFrameCaptureMode.default
) -> Self

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 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.

Parameters ​

NameDescription
languagelanguage (e.g. “pl”).
storeKitConfigurationPathThe 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
simulatedLocationThe 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.
enableGPUFrameCaptureModeThe 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.