Update fastlane (#1553)

* Update FastlaneRunner

* update
This commit is contained in:
Ethan Pippin 2025-05-30 11:24:51 -04:00 committed by GitHub
parent 165b7a2c1c
commit df88054d95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
22 changed files with 53 additions and 43 deletions

Binary file not shown.

View File

@ -1,5 +1,5 @@
// Actions.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
// This autogenerated file will be overwritten or replaced when running "fastlane generate_swift"
//

View File

@ -1,5 +1,5 @@
// ArgumentProcessor.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **

View File

@ -1,5 +1,5 @@
// ControlCommand.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **

View File

@ -1,5 +1,5 @@
// DeliverfileProtocol.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
public protocol DeliverfileProtocol: AnyObject {
/// Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)
@ -272,4 +272,4 @@ public extension DeliverfileProtocol {
// Please don't remove the lines below
// They are used to detect outdated files
// FastlaneRunnerAPIVersion [0.9.132]
// FastlaneRunnerAPIVersion [0.9.135]

View File

@ -1,5 +1,5 @@
// Fastlane.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
import Foundation
@ -2690,7 +2690,7 @@ public func cert(development: OptionalConfigValue<Bool> = .fastlaneDefault(false
teamName: OptionalConfigValue<String?> = .fastlaneDefault(nil),
filename: OptionalConfigValue<String?> = .fastlaneDefault(nil),
outputPath: String = ".",
keychainPath: String,
keychainPath: OptionalConfigValue<String?> = .fastlaneDefault(nil),
keychainPassword: OptionalConfigValue<String?> = .fastlaneDefault(nil),
skipSetPartitionList: OptionalConfigValue<Bool> = .fastlaneDefault(false),
platform: String = "ios")
@ -2706,7 +2706,7 @@ public func cert(development: OptionalConfigValue<Bool> = .fastlaneDefault(false
let teamNameArg = teamName.asRubyArgument(name: "team_name", type: nil)
let filenameArg = filename.asRubyArgument(name: "filename", type: nil)
let outputPathArg = RubyCommand.Argument(name: "output_path", value: outputPath, type: nil)
let keychainPathArg = RubyCommand.Argument(name: "keychain_path", value: keychainPath, type: nil)
let keychainPathArg = keychainPath.asRubyArgument(name: "keychain_path", type: nil)
let keychainPasswordArg = keychainPassword.asRubyArgument(name: "keychain_password", type: nil)
let skipSetPartitionListArg = skipSetPartitionList.asRubyArgument(name: "skip_set_partition_list", type: nil)
let platformArg = RubyCommand.Argument(name: "platform", value: platform, type: nil)
@ -4842,7 +4842,7 @@ public func getCertificates(development: OptionalConfigValue<Bool> = .fastlaneDe
teamName: OptionalConfigValue<String?> = .fastlaneDefault(nil),
filename: OptionalConfigValue<String?> = .fastlaneDefault(nil),
outputPath: String = ".",
keychainPath: String,
keychainPath: OptionalConfigValue<String?> = .fastlaneDefault(nil),
keychainPassword: OptionalConfigValue<String?> = .fastlaneDefault(nil),
skipSetPartitionList: OptionalConfigValue<Bool> = .fastlaneDefault(false),
platform: String = "ios")
@ -4858,7 +4858,7 @@ public func getCertificates(development: OptionalConfigValue<Bool> = .fastlaneDe
let teamNameArg = teamName.asRubyArgument(name: "team_name", type: nil)
let filenameArg = filename.asRubyArgument(name: "filename", type: nil)
let outputPathArg = RubyCommand.Argument(name: "output_path", value: outputPath, type: nil)
let keychainPathArg = RubyCommand.Argument(name: "keychain_path", value: keychainPath, type: nil)
let keychainPathArg = keychainPath.asRubyArgument(name: "keychain_path", type: nil)
let keychainPasswordArg = keychainPassword.asRubyArgument(name: "keychain_password", type: nil)
let skipSetPartitionListArg = skipSetPartitionList.asRubyArgument(name: "skip_set_partition_list", type: nil)
let platformArg = RubyCommand.Argument(name: "platform", value: platform, type: nil)
@ -8826,8 +8826,8 @@ public func rubyVersion() {
- prelaunchSimulator: Enabling this option will launch the first simulator prior to calling any xcodebuild command
- reinstallApp: Enabling this option will automatically uninstall the application before running it
- appIdentifier: The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)
- onlyTesting: Array of strings matching Test Bundle/Test Suite/Test Cases to run
- skipTesting: Array of strings matching Test Bundle/Test Suite/Test Cases to skip
- onlyTesting: Array of test identifiers to run. Expected format: TestTarget[/TestSuite[/TestCase]]
- skipTesting: Array of test identifiers to skip. Expected format: TestTarget[/TestSuite[/TestCase]]
- testplan: The testplan associated with the scheme that should be used for testing
- onlyTestConfigurations: Array of strings matching test plan configurations to run
- skipTestConfigurations: Array of strings matching test plan configurations to skip
@ -9261,8 +9261,8 @@ public func say(text: [String],
- prelaunchSimulator: Enabling this option will launch the first simulator prior to calling any xcodebuild command
- reinstallApp: Enabling this option will automatically uninstall the application before running it
- appIdentifier: The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)
- onlyTesting: Array of strings matching Test Bundle/Test Suite/Test Cases to run
- skipTesting: Array of strings matching Test Bundle/Test Suite/Test Cases to skip
- onlyTesting: Array of test identifiers to run. Expected format: TestTarget[/TestSuite[/TestCase]]
- skipTesting: Array of test identifiers to skip. Expected format: TestTarget[/TestSuite[/TestCase]]
- testplan: The testplan associated with the scheme that should be used for testing
- onlyTestConfigurations: Array of strings matching test plan configurations to run
- skipTestConfigurations: Array of strings matching test plan configurations to skip
@ -9931,6 +9931,7 @@ public func setPodKey(useBundleExec: OptionalConfigValue<Bool> = .fastlaneDefaul
- force: Force setup, even if not executed by CI
- provider: CI provider. If none is set, the provider is detected automatically
- timeout: Set a custom timeout in seconds for keychain. Set `0` if you want to specify 'no time-out'
- keychainName: Set a custom keychain name
- Creates a new temporary keychain for use with match|
- Switches match to `readonly` mode to not create new profiles/cert on CI|
@ -9940,14 +9941,17 @@ public func setPodKey(useBundleExec: OptionalConfigValue<Bool> = .fastlaneDefaul
*/
public func setupCi(force: OptionalConfigValue<Bool> = .fastlaneDefault(false),
provider: OptionalConfigValue<String?> = .fastlaneDefault(nil),
timeout: Int = 3600)
timeout: Int = 3600,
keychainName: String = "fastlane_tmp_keychain")
{
let forceArg = force.asRubyArgument(name: "force", type: nil)
let providerArg = provider.asRubyArgument(name: "provider", type: nil)
let timeoutArg = RubyCommand.Argument(name: "timeout", value: timeout, type: nil)
let keychainNameArg = RubyCommand.Argument(name: "keychain_name", value: keychainName, type: nil)
let array: [RubyCommand.Argument?] = [forceArg,
providerArg,
timeoutArg]
timeoutArg,
keychainNameArg]
let args: [RubyCommand.Argument] = array
.filter { $0?.value != nil }
.compactMap { $0 }
@ -11588,7 +11592,7 @@ public func teamName() {
}
/**
Upload a new build to [TestFairy](https://www.testfairy.com/)
Upload a new build to SauceLabs' TestFairy
- parameters:
- apiKey: API Key for TestFairy
@ -11610,7 +11614,9 @@ public func teamName() {
- uploadToSaucelabs: Upload file directly to Sauce Labs. It can be 'on' or 'off'
- platform: Use if upload build is not iOS or Android. Contact support for more information
You can retrieve your API key on [your settings page](https://free.testfairy.com/settings/)
Upload a new build to [TestFairy](https://saucelabs.com/products/mobile-testing/app-betas).
You can retrieve your API key on [your settings page](https://app.testfairy.com/settings/access-key)
*/
public func testfairy(apiKey: String,
ipa: OptionalConfigValue<String?> = .fastlaneDefault(nil),
@ -11856,6 +11862,7 @@ public func testflight(apiKeyPath: OptionalConfigValue<String?> = .fastlaneDefau
- outputFilename: Filename the xml file should be written to. Defaults to name of input file. (Only works if one input file is used)
- failBuild: Should this step stop the build if the tests fail? Set this to false if you're handling this with a test reporter
- xcprettyNaming: Produces class name and test name identical to xcpretty naming in junit file
- forceLegacyXcresulttool: Force the use of the '--legacy' flag for xcresulttool instead of using the new commands
- silent: Silences all output
- outputRemoveRetryAttempts: Doesn't include retry attempts in the output
@ -11867,6 +11874,7 @@ public func trainer(path: String = ".",
outputFilename: OptionalConfigValue<String?> = .fastlaneDefault(nil),
failBuild: OptionalConfigValue<Bool> = .fastlaneDefault(true),
xcprettyNaming: OptionalConfigValue<Bool> = .fastlaneDefault(false),
forceLegacyXcresulttool: OptionalConfigValue<Bool> = .fastlaneDefault(false),
silent: OptionalConfigValue<Bool> = .fastlaneDefault(false),
outputRemoveRetryAttempts: OptionalConfigValue<Bool> = .fastlaneDefault(false))
{
@ -11876,6 +11884,7 @@ public func trainer(path: String = ".",
let outputFilenameArg = outputFilename.asRubyArgument(name: "output_filename", type: nil)
let failBuildArg = failBuild.asRubyArgument(name: "fail_build", type: nil)
let xcprettyNamingArg = xcprettyNaming.asRubyArgument(name: "xcpretty_naming", type: nil)
let forceLegacyXcresulttoolArg = forceLegacyXcresulttool.asRubyArgument(name: "force_legacy_xcresulttool", type: nil)
let silentArg = silent.asRubyArgument(name: "silent", type: nil)
let outputRemoveRetryAttemptsArg = outputRemoveRetryAttempts.asRubyArgument(name: "output_remove_retry_attempts", type: nil)
let array: [RubyCommand.Argument?] = [pathArg,
@ -11884,6 +11893,7 @@ public func trainer(path: String = ".",
outputFilenameArg,
failBuildArg,
xcprettyNamingArg,
forceLegacyXcresulttoolArg,
silentArg,
outputRemoveRetryAttemptsArg]
let args: [RubyCommand.Argument] = array
@ -13877,4 +13887,4 @@ public let snapshotfile: Snapshotfile = .init()
// Please don't remove the lines below
// They are used to detect outdated files
// FastlaneRunnerAPIVersion [0.9.185]
// FastlaneRunnerAPIVersion [0.9.188]

View File

@ -1,5 +1,5 @@
// GymfileProtocol.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
public protocol GymfileProtocol: AnyObject {
/// Path to the workspace file
@ -212,4 +212,4 @@ public extension GymfileProtocol {
// Please don't remove the lines below
// They are used to detect outdated files
// FastlaneRunnerAPIVersion [0.9.135]
// FastlaneRunnerAPIVersion [0.9.138]

View File

@ -1,5 +1,5 @@
// LaneFileProtocol.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **

View File

@ -1,5 +1,5 @@
// MatchfileProtocol.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
public protocol MatchfileProtocol: AnyObject {
/// Define the profile type, can be appstore, adhoc, development, enterprise, developer_id, mac_installer_distribution, developer_id_installer
@ -232,4 +232,4 @@ public extension MatchfileProtocol {
// Please don't remove the lines below
// They are used to detect outdated files
// FastlaneRunnerAPIVersion [0.9.129]
// FastlaneRunnerAPIVersion [0.9.132]

View File

@ -1,5 +1,5 @@
// Plugins.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
// This autogenerated file will be overwritten or replaced when installing/updating plugins or running "fastlane generate_swift"
//

View File

@ -1,5 +1,5 @@
// PrecheckfileProtocol.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
public protocol PrecheckfileProtocol: AnyObject {
/// Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)
@ -52,4 +52,4 @@ public extension PrecheckfileProtocol {
// Please don't remove the lines below
// They are used to detect outdated files
// FastlaneRunnerAPIVersion [0.9.128]
// FastlaneRunnerAPIVersion [0.9.131]

View File

@ -1,5 +1,5 @@
// RubyCommand.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **

View File

@ -1,5 +1,5 @@
// RubyCommandable.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **

View File

@ -1,5 +1,5 @@
// Runner.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **

View File

@ -1,5 +1,5 @@
// RunnerArgument.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **

View File

@ -1,5 +1,5 @@
// ScanfileProtocol.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
public protocol ScanfileProtocol: AnyObject {
/// Path to the workspace file
@ -44,10 +44,10 @@ public protocol ScanfileProtocol: AnyObject {
/// The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)
var appIdentifier: String? { get }
/// Array of strings matching Test Bundle/Test Suite/Test Cases to run
/// Array of test identifiers to run. Expected format: TestTarget[/TestSuite[/TestCase]]
var onlyTesting: String? { get }
/// Array of strings matching Test Bundle/Test Suite/Test Cases to skip
/// Array of test identifiers to skip. Expected format: TestTarget[/TestSuite[/TestCase]]
var skipTesting: String? { get }
/// The testplan associated with the scheme that should be used for testing
@ -324,4 +324,4 @@ public extension ScanfileProtocol {
// Please don't remove the lines below
// They are used to detect outdated files
// FastlaneRunnerAPIVersion [0.9.140]
// FastlaneRunnerAPIVersion [0.9.143]

View File

@ -1,5 +1,5 @@
// ScreengrabfileProtocol.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
public protocol ScreengrabfileProtocol: AnyObject {
/// Path to the root of your Android SDK installation, e.g. ~/tools/android-sdk-macosx
@ -96,4 +96,4 @@ public extension ScreengrabfileProtocol {
// Please don't remove the lines below
// They are used to detect outdated files
// FastlaneRunnerAPIVersion [0.9.130]
// FastlaneRunnerAPIVersion [0.9.133]

View File

@ -1,5 +1,5 @@
// SnapshotfileProtocol.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
public protocol SnapshotfileProtocol: AnyObject {
/// Path to the workspace file
@ -208,4 +208,4 @@ public extension SnapshotfileProtocol {
// Please don't remove the lines below
// They are used to detect outdated files
// FastlaneRunnerAPIVersion [0.9.124]
// FastlaneRunnerAPIVersion [0.9.127]

View File

@ -1,5 +1,5 @@
// SocketClient.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **

View File

@ -1,5 +1,5 @@
// SocketClientDelegateProtocol.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **

View File

@ -1,5 +1,5 @@
// SocketResponse.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **

View File

@ -1,5 +1,5 @@
// main.swift
// Copyright (c) 2024 FastlaneTools
// Copyright (c) 2025 FastlaneTools
//
// ** NOTE **