Skip to content

STRUCT

Profile.PlatformOptions ​

Contents

  • Properties
    • arch
    • os
    • device
    • description
  • Methods
    • init(arch:os:device:)
    • options(arch:os:device:)
swift
public struct PlatformOptions: Codable, Hashable, CustomStringConvertible

Properties ​

arch ​

swift
public var arch: BinaryArchitecture

The target architecture for cache warmup, e.g. iOS:arm64, watchOS:arm6432 etc.

os ​

swift
public var os: Version?

The version of the OS to be used when building the project during a caching warmup

device ​

swift
public var device: String?

The device to be used when building the project during a caching warmup

description ​

swift
public var description: String

Methods ​

init(arch:os:device:) ​

swift
public init(
    arch: BinaryArchitecture,
    os: Version? = nil,
    device: String? = nil
)

options(arch:os:device:) ​

swift
public static func options(
    arch: BinaryArchitecture,
    os: Version? = nil,
    device: String? = nil
) -> PlatformOptions