STRUCT
Profile.Options
Contents
- Properties
onlyActiveResourcesInBundlesexportCoverageProfilesswiftModuleCacheEnableddescription
- Methods
options(onlyActiveResourcesInBundles:exportCoverageProfiles:swiftModuleCacheEnabled:)
swift
public struct Options: Codable, Hashable, CustomStringConvertibleAdditional options for cache profile
Properties
onlyActiveResourcesInBundles
swift
public var onlyActiveResourcesInBundles: BoolSets ENABLE_ONLY_ACTIVE_RESOURCES build setting for bundle targets
exportCoverageProfiles
swift
public var exportCoverageProfiles: BoolSets additional swiftc and clang flags for coverage profile generation
swiftModuleCacheEnabled
swift
public var swiftModuleCacheEnabled: BoolEnable additional cache for xcframeworks swiftmodules files. Option can be overridden using the env variable GEKO_SWIFTMODULE_CACHE_ENABLED
description
swift
public var description: StringMethods
options(onlyActiveResourcesInBundles:exportCoverageProfiles:swiftModuleCacheEnabled:)
swift
public static func options(
onlyActiveResourcesInBundles: Bool = true,
exportCoverageProfiles: Bool = false,
swiftModuleCacheEnabled: Bool = false
) -> SelfStatic init
- Parameters:
- onlyActiveResourcesInBundles: Sets
ENABLE_ONLY_ACTIVE_RESOURCESbuild setting for bundle targets - exportCoverageProfiles: Sets additional swiftc and clang flags for coverage profile generation
- onlyActiveResourcesInBundles: Sets
- Returns: Options object
Parameters
| Name | Description |
|---|---|
| onlyActiveResourcesInBundles | Sets ENABLE_ONLY_ACTIVE_RESOURCES build setting for bundle targets |
| exportCoverageProfiles | Sets additional swiftc and clang flags for coverage profile generation |
