EXTENSION
SettingsDictionary
extension SettingsDictionaryMethods
merge(_:)
public mutating func merge(_ other: SettingsDictionary)merging(_:)
public func merging(_ other: SettingsDictionary) -> SettingsDictionarymanualCodeSigning(identity:provisioningProfileSpecifier:)
public func manualCodeSigning(identity: String? = nil, provisioningProfileSpecifier: String? = nil) -> SettingsDictionarySets "CODE_SIGN_STYLE" to "Manual", "CODE_SIGN_IDENTITY" to identity, and "PROVISIONING_PROFILE_SPECIFIER" to provisioningProfileSpecifier
automaticCodeSigning(devTeam:)
public func automaticCodeSigning(devTeam: String) -> SettingsDictionarySets "CODE_SIGN_STYLE" to "Automatic" and "DEVELOPMENT_TEAM" to devTeam
- Parameters:
- devTeam: Your Apple Developer Team ID. See here how you can find it.
Parameters
| Name | Description |
|---|---|
| devTeam | Your Apple Developer Team ID. See how you can find it. |
codeSignIdentityAppleDevelopment()
public func codeSignIdentityAppleDevelopment() -> SettingsDictionarySets "CODE_SIGN_IDENTITY" to "Apple Development"
codeSignIdentity(_:)
public func codeSignIdentity(_ identity: String) -> SettingsDictionarySets "CODE_SIGN_IDENTITY" to identity
currentProjectVersion(_:)
public func currentProjectVersion(_ version: String) -> SettingsDictionarySets "CURRENT_PROJECT_VERSION" to version
marketingVersion(_:)
public func marketingVersion(_ version: String) -> SettingsDictionarySets "MARKETING_VERSION" to version
appleGenericVersioningSystem()
public func appleGenericVersioningSystem() -> SettingsDictionarySets "VERSIONING_SYSTEM" to "apple-generic"
versionInfo(_:prefix:suffix:)
public func versionInfo(_ version: String, prefix: String? = nil, suffix: String? = nil) -> SettingsDictionarySets "VERSION_INFO_STRING" to version. If prefix and suffix are not nil, they're used as "VERSION_INFO_PREFIX" and "VERSION_INFO_SUFFIX" respectively.
swiftVersion(_:)
public func swiftVersion(_ version: String) -> SettingsDictionarySets "SWIFT_VERSION" to version
otherSwiftFlags(_:)
public func otherSwiftFlags(_ flags: String...) -> SettingsDictionarySets "OTHER_SWIFT_FLAGS" to flags
otherSwiftFlags(_:)
public func otherSwiftFlags(_ flags: [String]) -> SettingsDictionarySets "OTHER_SWIFT_FLAGS" to flags
swiftActiveCompilationConditions(_:)
public func swiftActiveCompilationConditions(_ conditions: String...) -> SettingsDictionarySets "SWIFT_ACTIVE_COMPILATION_CONDITIONS" to conditions
swiftActiveCompilationConditions(_:)
public func swiftActiveCompilationConditions(_ conditions: [String]) -> SettingsDictionarySets "SWIFT_ACTIVE_COMPILATION_CONDITIONS" to conditions
swiftCompilationMode(_:)
public func swiftCompilationMode(_ mode: SwiftCompilationMode) -> SettingsDictionarySets "SWIFT_COMPILATION_MODE" to the available SwiftCompilationMode ("singlefile" or "wholemodule")
swiftOptimizationLevel(_:)
public func swiftOptimizationLevel(_ level: SwiftOptimizationLevel) -> SettingsDictionarySets "SWIFT_OPTIMIZATION_LEVEL" to the available SwiftOptimizationLevel ("-O", "-Onone" or "-Osize")
swiftOptimizeObjectLifetimes(_:)
public func swiftOptimizeObjectLifetimes(_ enabled: Bool) -> SettingsDictionarySets "SWIFT_OPTIMIZE_OBJECT_LIFETIME" to "YES" or "NO"
swiftObjcBridgingHeaderPath(_:)
public func swiftObjcBridgingHeaderPath(_ path: String) -> SettingsDictionarySets "SWIFT_OBJC_BRIDGING_HEADER" to path
otherCFlags(_:)
public func otherCFlags(_ flags: [String]) -> SettingsDictionarySets "OTHER_CFLAGS" to flags
otherLinkerFlags(_:)
public func otherLinkerFlags(_ flags: [String]) -> SettingsDictionarySets "OTHER_LDFLAGS" to flags
bitcodeEnabled(_:)
public func bitcodeEnabled(_ enabled: Bool) -> SettingsDictionarySets "ENABLE_BITCODE" to "YES" or "NO"
debugInformationFormat(_:)
public func debugInformationFormat(_ format: DebugInformationFormat) -> SettingsDictionarySets "DEBUG_INFORMATION_FORMAT"to "dwarf" or "dwarf-with-dsym"
betaFeature_enableExplicitModules(_:)
public func betaFeature_enableExplicitModules(_ enabled: Bool) -> SettingsDictionarySets "_EXPERIMENTAL_SWIFT_EXPLICIT_MODULES" NOTE: This is only available when using Xcode 16 or later. This setting may change and is not guaranteed to work across all beta versions.
