Português (Portuguese)
Appearance
Português (Portuguese)
Appearance
ENUM
InfoPlist Contents
file(path:)dictionary(_:)extendingDefault(with:)variable(_:)defaultpathpublic enum InfoPlist: Codable, Equatable, SendableA info plist from a file, a custom dictionary or a extended defaults.
file(path:) case file(path: Path)The path to an existing Info.plist file.
dictionary(_:) case dictionary([String: Plist.Value])A dictionary with the Info.plist content. Tuist generates the Info.plist file at the generation time.
extendingDefault(with:) case extendingDefault(with: [String: Plist.Value])Generate an Info.plist file with the default content for the target product extended with the values in the given dictionary.
variable(_:) case variable(String)A user defined xcconfig variable map to Info.plist file.
This should be used when the project has different Info.plist files per config (aka: debug, release, staging, etc.).
Example:
.target(
...
infoPlist: .variable("$(INFO_PLIST_FILE_VARIABLE)")
)Or, as literal string:
.target(
...
infoPlist: $(INFO_PLIST_FILE_VARIABLE)
)default public static var `default`: InfoPlistGenerate the default content for the target the InfoPlist belongs to.
path public var path: Path?