fastlane/swift/GymfileProtocol.swift in fastlane_hotfix-2.165.1 vs fastlane/swift/GymfileProtocol.swift in fastlane_hotfix-2.187.0
- old
+ new
@@ -1,7 +1,7 @@
// GymfileProtocol.swift
-// Copyright (c) 2020 FastlaneTools
+// Copyright (c) 2021 FastlaneTools
public protocol GymfileProtocol: class {
/// Path to the workspace file
var workspace: String? { get }
@@ -39,11 +39,11 @@
var includeSymbols: Bool? { get }
/// Should the ipa file include bitcode?
var includeBitcode: Bool? { get }
- /// Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id
+ /// Method used to export the archive. Valid values are: app-store, validation, ad-hoc, package, enterprise, development, developer-id and mac-application
var exportMethod: String? { get }
/// Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options
var exportOptions: [String: Any]? { get }
@@ -131,10 +131,19 @@
/// Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used
var skipProfileDetection: 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 }
+
+ /// Lets xcodebuild use system's scm configuration
+ var useSystemScm: Bool { get }
}
public extension GymfileProtocol {
var workspace: String? { return nil }
var project: String? { return nil }
@@ -178,10 +187,13 @@
var xcprettyReportJson: String? { return nil }
var analyzeBuildTime: Bool? { return nil }
var xcprettyUtf: Bool? { return nil }
var skipProfileDetection: Bool { return false }
var clonedSourcePackagesPath: String? { return nil }
+ var skipPackageDependenciesResolution: Bool { return false }
+ var disablePackageAutomaticUpdates: Bool { return false }
+ var useSystemScm: Bool { return false }
}
// Please don't remove the lines below
// They are used to detect outdated files
-// FastlaneRunnerAPIVersion [0.9.51]
+// FastlaneRunnerAPIVersion [0.9.78]