fastlane/swift/SnapshotfileProtocol.swift in fastlane_hotfix-2.165.1 vs fastlane/swift/SnapshotfileProtocol.swift in fastlane_hotfix-2.187.0
- old
+ new
@@ -1,7 +1,7 @@
// SnapshotfileProtocol.swift
-// Copyright (c) 2020 FastlaneTools
+// Copyright (c) 2021 FastlaneTools
public protocol SnapshotfileProtocol: class {
/// Path the workspace file
var workspace: String? { get }
@@ -48,13 +48,16 @@
var eraseSimulator: Bool { get }
/// Enabling this option will prevent displaying the simulator window
var headless: Bool { get }
- /// Enabling this option wil automatically override the status bar to show 9:41 AM, full battery, and full reception
+ /// Enabling this option will automatically override the status bar to show 9:41 AM, full battery, and full reception
var overrideStatusBar: Bool { get }
+ /// Fully customize the status bar by setting each option here. See `xcrun simctl status_bar --help`
+ var overrideStatusBarArguments: String? { get }
+
/// Enabling this option will configure the Simulator's system language
var localizeSimulator: Bool { get }
/// Enabling this option will configure the Simulator to be in dark mode (false for light, true for dark)
var darkMode: Bool? { get }
@@ -117,10 +120,16 @@
var disableSlideToType: Bool { get }
/// Sets a custom path for Swift Package Manager dependencies
var clonedSourcePackagesPath: String? { get }
+ /// Skips resolution of Swift Package Manager dependencies
+ var skipPackageDependenciesResolution: Bool { get }
+
+ /// Prevents packages from automatically being resolved to versions other than those recorded in the `Package.resolved` file
+ var disablePackageAutomaticUpdates: Bool { get }
+
/// The testplan associated with the scheme that should be used for testing
var testplan: String? { get }
/// Array of strings matching Test Bundle/Test Suite/Test Cases to run
var onlyTesting: String? { get }
@@ -131,10 +140,13 @@
/// Disable xcpretty formatting of build
var disableXcpretty: Bool? { get }
/// Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
var suppressXcodeOutput: Bool? { get }
+
+ /// Lets xcodebuild use system's scm configuration
+ var useSystemScm: Bool { get }
}
public extension SnapshotfileProtocol {
var workspace: String? { return nil }
var project: String? { return nil }
@@ -151,10 +163,11 @@
var clearPreviousScreenshots: Bool { return false }
var reinstallApp: Bool { return false }
var eraseSimulator: Bool { return false }
var headless: Bool { return true }
var overrideStatusBar: Bool { return false }
+ var overrideStatusBarArguments: String? { return nil }
var localizeSimulator: Bool { return false }
var darkMode: Bool? { return nil }
var appIdentifier: String? { return nil }
var addPhotos: [String]? { return nil }
var addVideos: [String]? { return nil }
@@ -173,15 +186,18 @@
var testTargetName: String? { return nil }
var namespaceLogFiles: String? { return nil }
var concurrentSimulators: Bool { return true }
var disableSlideToType: Bool { return false }
var clonedSourcePackagesPath: String? { return nil }
+ var skipPackageDependenciesResolution: Bool { return false }
+ var disablePackageAutomaticUpdates: Bool { return false }
var testplan: String? { return nil }
var onlyTesting: String? { return nil }
var skipTesting: String? { return nil }
var disableXcpretty: Bool? { return nil }
var suppressXcodeOutput: Bool? { return nil }
+ var useSystemScm: Bool { return false }
}
// Please don't remove the lines below
// They are used to detect outdated files
-// FastlaneRunnerAPIVersion [0.9.40]
+// FastlaneRunnerAPIVersion [0.9.67]