Skip to content

STRUCT

Profile.Options

Contents

  • Properties
    • onlyActiveResourcesInBundles
    • exportCoverageProfiles
    • swiftModuleCacheEnabled
    • description
  • Methods
    • options(onlyActiveResourcesInBundles:exportCoverageProfiles:swiftModuleCacheEnabled:)
swift
public struct Options: Codable, Hashable, CustomStringConvertible

Additional options for cache profile

Properties

onlyActiveResourcesInBundles

swift
public var onlyActiveResourcesInBundles: Bool

Sets ENABLE_ONLY_ACTIVE_RESOURCES build setting for bundle targets

exportCoverageProfiles

swift
public var exportCoverageProfiles: Bool

Sets additional swiftc and clang flags for coverage profile generation

swiftModuleCacheEnabled

swift
public var swiftModuleCacheEnabled: Bool

Enable additional cache for xcframeworks swiftmodules files. Option can be overridden using the env variable GEKO_SWIFTMODULE_CACHE_ENABLED

description

swift
public var description: String

Methods

options(onlyActiveResourcesInBundles:exportCoverageProfiles:swiftModuleCacheEnabled:)

swift
public static func options(
    onlyActiveResourcesInBundles: Bool = true,
    exportCoverageProfiles: Bool = false,
    swiftModuleCacheEnabled: Bool = false
) -> Self

Static init

  • Parameters:
    • onlyActiveResourcesInBundles: Sets ENABLE_ONLY_ACTIVE_RESOURCES build setting for bundle targets
    • exportCoverageProfiles: Sets additional swiftc and clang flags for coverage profile generation
  • Returns: Options object

Parameters

NameDescription
onlyActiveResourcesInBundlesSets ENABLE_ONLY_ACTIVE_RESOURCES build setting for bundle targets
exportCoverageProfilesSets additional swiftc and clang flags for coverage profile generation