fastlane 2.216.0 → 2.218.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +96 -96
  3. data/deliver/lib/deliver/app_screenshot.rb +9 -2
  4. data/deliver/lib/deliver/app_screenshot_iterator.rb +2 -2
  5. data/deliver/lib/deliver/detect_values.rb +1 -1
  6. data/deliver/lib/deliver/languages.rb +1 -1
  7. data/deliver/lib/deliver/loader.rb +2 -2
  8. data/deliver/lib/deliver/options.rb +4 -4
  9. data/deliver/lib/deliver/runner.rb +3 -2
  10. data/deliver/lib/deliver/sync_screenshots.rb +2 -2
  11. data/deliver/lib/deliver/upload_metadata.rb +60 -15
  12. data/deliver/lib/deliver/upload_price_tier.rb +1 -1
  13. data/deliver/lib/deliver/upload_screenshots.rb +3 -3
  14. data/fastlane/lib/fastlane/action.rb +1 -1
  15. data/fastlane/lib/fastlane/actions/appledoc.rb +1 -1
  16. data/fastlane/lib/fastlane/actions/apteligent.rb +1 -1
  17. data/fastlane/lib/fastlane/actions/backup_xcarchive.rb +1 -1
  18. data/fastlane/lib/fastlane/actions/commit_github_file.rb +2 -2
  19. data/fastlane/lib/fastlane/actions/copy_artifacts.rb +1 -1
  20. data/fastlane/lib/fastlane/actions/create_app_online.rb +1 -1
  21. data/fastlane/lib/fastlane/actions/create_pull_request.rb +1 -1
  22. data/fastlane/lib/fastlane/actions/docs/upload_to_app_store.md.erb +1 -1
  23. data/fastlane/lib/fastlane/actions/docs/upload_to_play_store.md +6 -2
  24. data/fastlane/lib/fastlane/actions/get_certificates.rb +1 -1
  25. data/fastlane/lib/fastlane/actions/get_github_release.rb +1 -1
  26. data/fastlane/lib/fastlane/actions/get_provisioning_profile.rb +1 -1
  27. data/fastlane/lib/fastlane/actions/git_branch.rb +1 -1
  28. data/fastlane/lib/fastlane/actions/github_api.rb +1 -1
  29. data/fastlane/lib/fastlane/actions/gradle.rb +1 -1
  30. data/fastlane/lib/fastlane/actions/install_on_device.rb +2 -2
  31. data/fastlane/lib/fastlane/actions/ipa.rb +1 -1
  32. data/fastlane/lib/fastlane/actions/jazzy.rb +1 -1
  33. data/fastlane/lib/fastlane/actions/nexus_upload.rb +1 -0
  34. data/fastlane/lib/fastlane/actions/notarize.rb +17 -2
  35. data/fastlane/lib/fastlane/actions/oclint.rb +3 -3
  36. data/fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb +2 -2
  37. data/fastlane/lib/fastlane/actions/restore_file.rb +1 -1
  38. data/fastlane/lib/fastlane/actions/set_github_release.rb +1 -1
  39. data/fastlane/lib/fastlane/actions/slather.rb +18 -5
  40. data/fastlane/lib/fastlane/actions/sonar.rb +12 -3
  41. data/fastlane/lib/fastlane/actions/splunkmint.rb +1 -1
  42. data/fastlane/lib/fastlane/actions/spm.rb +76 -2
  43. data/fastlane/lib/fastlane/actions/update_info_plist.rb +1 -1
  44. data/fastlane/lib/fastlane/actions/update_urban_airship_configuration.rb +1 -1
  45. data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +1 -0
  46. data/fastlane/lib/fastlane/actions/upload_symbols_to_sentry.rb +1 -1
  47. data/fastlane/lib/fastlane/actions/upload_to_testflight.rb +2 -2
  48. data/fastlane/lib/fastlane/actions/verify_build.rb +7 -4
  49. data/fastlane/lib/fastlane/actions/xcov.rb +1 -1
  50. data/fastlane/lib/fastlane/cli_tools_distributor.rb +1 -1
  51. data/fastlane/lib/fastlane/command_line_handler.rb +2 -4
  52. data/fastlane/lib/fastlane/commands_generator.rb +2 -2
  53. data/fastlane/lib/fastlane/fast_file.rb +1 -1
  54. data/fastlane/lib/fastlane/helper/dotenv_helper.rb +1 -1
  55. data/fastlane/lib/fastlane/helper/git_helper.rb +3 -0
  56. data/fastlane/lib/fastlane/junit_generator.rb +1 -1
  57. data/fastlane/lib/fastlane/lane.rb +9 -1
  58. data/fastlane/lib/fastlane/lane_manager.rb +1 -2
  59. data/fastlane/lib/fastlane/plugins/template/%gem_name%.gemspec.erb +0 -11
  60. data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +5 -1
  61. data/fastlane/lib/fastlane/plugins/template/Gemfile.erb +27 -0
  62. data/fastlane/lib/fastlane/runner.rb +2 -2
  63. data/fastlane/lib/fastlane/setup/setup.rb +1 -1
  64. data/fastlane/lib/fastlane/swift_lane_manager.rb +2 -5
  65. data/fastlane/lib/fastlane/swift_runner_upgrader.rb +7 -4
  66. data/fastlane/lib/fastlane/version.rb +1 -1
  67. data/fastlane/swift/Actions.swift +1 -1
  68. data/fastlane/swift/Appfile.swift +1 -1
  69. data/fastlane/swift/ArgumentProcessor.swift +1 -1
  70. data/fastlane/swift/Atomic.swift +1 -1
  71. data/fastlane/swift/ControlCommand.swift +1 -1
  72. data/fastlane/swift/Deliverfile.swift +2 -2
  73. data/fastlane/swift/DeliverfileProtocol.swift +4 -4
  74. data/fastlane/swift/Fastlane.swift +99 -31
  75. data/fastlane/swift/Gymfile.swift +2 -2
  76. data/fastlane/swift/GymfileProtocol.swift +2 -2
  77. data/fastlane/swift/LaneFileProtocol.swift +5 -5
  78. data/fastlane/swift/MainProcess.swift +1 -1
  79. data/fastlane/swift/Matchfile.swift +2 -2
  80. data/fastlane/swift/MatchfileProtocol.swift +6 -2
  81. data/fastlane/swift/OptionalConfigValue.swift +1 -1
  82. data/fastlane/swift/Plugins.swift +1 -1
  83. data/fastlane/swift/Precheckfile.swift +2 -2
  84. data/fastlane/swift/PrecheckfileProtocol.swift +2 -2
  85. data/fastlane/swift/RubyCommand.swift +1 -1
  86. data/fastlane/swift/RubyCommandable.swift +1 -1
  87. data/fastlane/swift/Runner.swift +1 -1
  88. data/fastlane/swift/RunnerArgument.swift +1 -1
  89. data/fastlane/swift/Scanfile.swift +2 -2
  90. data/fastlane/swift/ScanfileProtocol.swift +2 -2
  91. data/fastlane/swift/Screengrabfile.swift +2 -2
  92. data/fastlane/swift/ScreengrabfileProtocol.swift +2 -2
  93. data/fastlane/swift/Snapshotfile.swift +2 -2
  94. data/fastlane/swift/SnapshotfileProtocol.swift +2 -2
  95. data/fastlane/swift/SocketClient.swift +1 -1
  96. data/fastlane/swift/SocketClientDelegateProtocol.swift +1 -1
  97. data/fastlane/swift/SocketResponse.swift +1 -1
  98. data/fastlane/swift/formatting/Brewfile.lock.json +19 -29
  99. data/fastlane/swift/main.swift +1 -1
  100. data/fastlane_core/lib/fastlane_core/build_watcher.rb +1 -1
  101. data/fastlane_core/lib/fastlane_core/cert_checker.rb +3 -3
  102. data/fastlane_core/lib/fastlane_core/configuration/configuration_file.rb +1 -1
  103. data/fastlane_core/lib/fastlane_core/device_manager.rb +17 -15
  104. data/fastlane_core/lib/fastlane_core/fastlane_pty.rb +34 -12
  105. data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
  106. data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +5 -2
  107. data/fastlane_core/lib/fastlane_core/project.rb +7 -2
  108. data/fastlane_core/lib/fastlane_core/queue_worker.rb +2 -2
  109. data/fastlane_core/lib/fastlane_core/string_filters.rb +6 -6
  110. data/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb +2 -2
  111. data/frameit/lib/frameit/editor.rb +4 -4
  112. data/frameit/lib/frameit/trim_box.rb +1 -1
  113. data/gym/lib/gym/error_handler.rb +1 -1
  114. data/gym/lib/gym/generators/package_command_generator_xcode7.rb +3 -3
  115. data/gym/lib/gym/module.rb +13 -2
  116. data/gym/lib/gym/options.rb +1 -1
  117. data/gym/lib/gym/runner.rb +1 -1
  118. data/gym/lib/gym/xcodebuild_fixes/README.md +1 -1
  119. data/match/lib/match/generator.rb +9 -1
  120. data/match/lib/match/module.rb +2 -1
  121. data/match/lib/match/options.rb +5 -0
  122. data/match/lib/match/portal_cache.rb +106 -0
  123. data/match/lib/match/portal_fetcher.rb +72 -0
  124. data/match/lib/match/profile_includes.rb +120 -0
  125. data/match/lib/match/runner.rb +79 -172
  126. data/match/lib/match/spaceship_ensure.rb +15 -11
  127. data/match/lib/match/storage/git_storage.rb +17 -4
  128. data/match/lib/match/storage/gitlab/client.rb +1 -1
  129. data/match/lib/match/storage/gitlab_secure_files.rb +1 -1
  130. data/match/lib/match/storage/interface.rb +1 -1
  131. data/match/lib/match/storage/s3_storage.rb +1 -1
  132. data/match/lib/match.rb +3 -0
  133. data/precheck/lib/precheck/rules/unreachable_urls_rule.rb +1 -1
  134. data/produce/lib/produce/itunes_connect.rb +1 -1
  135. data/scan/lib/scan/detect_values.rb +78 -20
  136. data/scan/lib/scan/options.rb +1 -1
  137. data/scan/lib/scan/runner.rb +1 -1
  138. data/screengrab/lib/screengrab/runner.rb +1 -1
  139. data/sigh/lib/assets/resign.sh +10 -10
  140. data/sigh/lib/sigh/commands_generator.rb +1 -1
  141. data/sigh/lib/sigh/module.rb +98 -0
  142. data/sigh/lib/sigh/options.rb +55 -1
  143. data/sigh/lib/sigh/resign.rb +1 -1
  144. data/sigh/lib/sigh/runner.rb +35 -111
  145. data/snapshot/lib/assets/SnapshotHelper.swift +13 -9
  146. data/snapshot/lib/snapshot/reports_generator.rb +48 -7
  147. data/snapshot/lib/snapshot/setup.rb +2 -2
  148. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb +23 -22
  149. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +2 -2
  150. data/spaceship/lib/spaceship/client.rb +1 -1
  151. data/spaceship/lib/spaceship/connect_api/api_client.rb +3 -2
  152. data/spaceship/lib/spaceship/connect_api/client.rb +4 -4
  153. data/spaceship/lib/spaceship/connect_api/models/app_preview_set.rb +2 -0
  154. data/spaceship/lib/spaceship/connect_api/models/app_screenshot.rb +2 -2
  155. data/spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb +2 -0
  156. data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +5 -5
  157. data/spaceship/lib/spaceship/connect_api/models/certificate.rb +3 -3
  158. data/spaceship/lib/spaceship/connect_api/models/device.rb +83 -4
  159. data/spaceship/lib/spaceship/connect_api/models/profile.rb +5 -3
  160. data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +14 -8
  161. data/spaceship/lib/spaceship/connect_api/tunes/tunes.rb +3 -6
  162. data/spaceship/lib/spaceship/connect_api.rb +2 -0
  163. data/spaceship/lib/spaceship/portal/app.rb +1 -1
  164. data/spaceship/lib/spaceship/portal/app_group.rb +1 -1
  165. data/spaceship/lib/spaceship/test_flight/client.rb +1 -1
  166. data/spaceship/lib/spaceship/test_flight/tester.rb +1 -1
  167. data/spaceship/lib/spaceship/tunes/app_details.rb +2 -2
  168. data/spaceship/lib/spaceship/tunes/app_image.rb +1 -1
  169. data/spaceship/lib/spaceship/tunes/app_review_attachment.rb +1 -1
  170. data/spaceship/lib/spaceship/tunes/app_submission.rb +1 -1
  171. data/spaceship/lib/spaceship/tunes/app_version.rb +5 -5
  172. data/spaceship/lib/spaceship/tunes/build_details.rb +1 -1
  173. data/spaceship/lib/spaceship/tunes/iap.rb +3 -3
  174. data/spaceship/lib/spaceship/tunes/iap_detail.rb +2 -2
  175. data/spaceship/lib/spaceship/tunes/iap_families.rb +1 -1
  176. data/spaceship/lib/spaceship/tunes/iap_family_details.rb +2 -2
  177. data/spaceship/lib/spaceship/tunes/iap_family_list.rb +1 -1
  178. data/spaceship/lib/spaceship/tunes/tunes_client.rb +2 -2
  179. data/supply/lib/supply/client.rb +1 -1
  180. data/supply/lib/supply/setup.rb +1 -1
  181. data/supply/lib/supply/uploader.rb +28 -13
  182. data/trainer/lib/trainer/junit_generator.rb +1 -1
  183. data/trainer/lib/trainer/test_parser.rb +1 -1
  184. data/trainer/lib/trainer/xcresult.rb +1 -1
  185. metadata +27 -293
  186. data/fastlane/lib/fastlane/.features.rb.swp +0 -0
  187. data/fastlane/lib/fastlane/plugins/template/Gemfile +0 -6
  188. data/fastlane_core/lib/fastlane_core/.env.rb.swp +0 -0
  189. data/supply/lib/supply/.client.rb.swp +0 -0
@@ -1,5 +1,5 @@
1
1
  // Fastlane.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  import Foundation
5
5
  /**
@@ -665,8 +665,8 @@ public func appledoc(input: [String],
665
665
  - submitForReview: Submit the new version for Review after uploading everything
666
666
  - verifyOnly: Verifies archive with App Store Connect without uploading
667
667
  - rejectIfPossible: Rejects the previously submitted build if it's in a state where it's possible
668
- - automaticRelease: Should the app be automatically released once it's approved? (Can not be used together with `auto_release_date`)
669
- - autoReleaseDate: Date in milliseconds for automatically releasing on pending approval (Can not be used together with `automatic_release`)
668
+ - automaticRelease: Should the app be automatically released once it's approved? (Cannot be used together with `auto_release_date`)
669
+ - autoReleaseDate: Date in milliseconds for automatically releasing on pending approval (Cannot be used together with `automatic_release`)
670
670
  - phasedRelease: Enable the phased release feature of iTC
671
671
  - resetRatings: Reset the summary rating when you release a new version of the application
672
672
  - priceTier: The price tier of this application
@@ -3095,7 +3095,7 @@ public func cocoapods(repoUpdate: OptionalConfigValue<Bool> = .fastlaneDefault(f
3095
3095
  - repositoryName: The path to your repo, e.g. 'fastlane/fastlane'
3096
3096
  - serverUrl: The server url. e.g. 'https://your.internal.github.host/api/v3' (Default: 'https://api.github.com')
3097
3097
  - apiToken: Personal API Token for GitHub - generate one at https://github.com/settings/tokens
3098
- - apiBearer: Use a Bearer authorization token. Usually generated by Github Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable
3098
+ - apiBearer: Use a Bearer authorization token. Usually generated by GitHub Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable
3099
3099
  - branch: The branch that the file should be committed on (default: master)
3100
3100
  - path: The relative path to your file from project root e.g. assets/my_app.xcarchive
3101
3101
  - message: The commit message. Defaults to the file name
@@ -3421,7 +3421,7 @@ public func createKeychain(name: OptionalConfigValue<String?> = .fastlaneDefault
3421
3421
 
3422
3422
  - parameters:
3423
3423
  - apiToken: Personal API Token for GitHub - generate one at https://github.com/settings/tokens
3424
- - apiBearer: Use a Bearer authorization token. Usually generated by Github Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable
3424
+ - apiBearer: Use a Bearer authorization token. Usually generated by GitHub Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable
3425
3425
  - repo: The name of the repository you want to submit the pull request to
3426
3426
  - title: The title of the pull request
3427
3427
  - body: The contents of the pull request
@@ -3697,8 +3697,8 @@ public func deleteKeychain(name: OptionalConfigValue<String?> = .fastlaneDefault
3697
3697
  - submitForReview: Submit the new version for Review after uploading everything
3698
3698
  - verifyOnly: Verifies archive with App Store Connect without uploading
3699
3699
  - rejectIfPossible: Rejects the previously submitted build if it's in a state where it's possible
3700
- - automaticRelease: Should the app be automatically released once it's approved? (Can not be used together with `auto_release_date`)
3701
- - autoReleaseDate: Date in milliseconds for automatically releasing on pending approval (Can not be used together with `automatic_release`)
3700
+ - automaticRelease: Should the app be automatically released once it's approved? (Cannot be used together with `auto_release_date`)
3701
+ - autoReleaseDate: Date in milliseconds for automatically releasing on pending approval (Cannot be used together with `automatic_release`)
3702
3702
  - phasedRelease: Enable the phased release feature of iTC
3703
3703
  - resetRatings: Reset the summary rating when you release a new version of the application
3704
3704
  - priceTier: The price tier of this application
@@ -4851,7 +4851,7 @@ public func getCertificates(development: OptionalConfigValue<Bool> = .fastlaneDe
4851
4851
  - serverUrl: The server url. e.g. 'https://your.github.server/api/v3' (Default: 'https://api.github.com')
4852
4852
  - version: The version tag of the release to check
4853
4853
  - apiToken: GitHub Personal Token (required for private repositories)
4854
- - apiBearer: Use a Bearer authorization token. Usually generated by Github Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable
4854
+ - apiBearer: Use a Bearer authorization token. Usually generated by GitHub Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable
4855
4855
 
4856
4856
  This will return all information about a release. For example:|
4857
4857
  |
@@ -5024,6 +5024,10 @@ public func getManagedPlayStorePublishingRights(jsonKey: OptionalConfigValue<Str
5024
5024
  - readonly: Only fetch existing profile, don't generate new ones
5025
5025
  - templateName: The name of provisioning profile template. If the developer account has provisioning profile templates (aka: custom entitlements), the template name can be found by inspecting the Entitlements drop-down while creating/editing a provisioning profile (e.g. "Apple Pay Pass Suppression Development")
5026
5026
  - failOnNameTaken: Should the command fail if it was about to create a duplicate of an existing provisioning profile. It can happen due to issues on Apple Developer Portal, when profile to be recreated was not properly deleted first
5027
+ - cachedCertificates: A list of cached certificates
5028
+ - cachedDevices: A list of cached devices
5029
+ - cachedBundleIds: A list of cached bundle ids
5030
+ - cachedProfiles: A list of cached bundle ids
5027
5031
 
5028
5032
  - returns: The UUID of the profile sigh just fetched/generated
5029
5033
 
@@ -5053,7 +5057,11 @@ public func getManagedPlayStorePublishingRights(jsonKey: OptionalConfigValue<Str
5053
5057
  platform: Any = "ios",
5054
5058
  readonly: OptionalConfigValue<Bool> = .fastlaneDefault(false),
5055
5059
  templateName: OptionalConfigValue<String?> = .fastlaneDefault(nil),
5056
- failOnNameTaken: OptionalConfigValue<Bool> = .fastlaneDefault(false)) -> String
5060
+ failOnNameTaken: OptionalConfigValue<Bool> = .fastlaneDefault(false),
5061
+ cachedCertificates: Any? = nil,
5062
+ cachedDevices: Any? = nil,
5063
+ cachedBundleIds: Any? = nil,
5064
+ cachedProfiles: Any? = nil) -> String
5057
5065
  {
5058
5066
  let adhocArg = adhoc.asRubyArgument(name: "adhoc", type: nil)
5059
5067
  let developerIdArg = developerId.asRubyArgument(name: "developer_id", type: nil)
@@ -5080,6 +5088,10 @@ public func getManagedPlayStorePublishingRights(jsonKey: OptionalConfigValue<Str
5080
5088
  let readonlyArg = readonly.asRubyArgument(name: "readonly", type: nil)
5081
5089
  let templateNameArg = templateName.asRubyArgument(name: "template_name", type: nil)
5082
5090
  let failOnNameTakenArg = failOnNameTaken.asRubyArgument(name: "fail_on_name_taken", type: nil)
5091
+ let cachedCertificatesArg = RubyCommand.Argument(name: "cached_certificates", value: cachedCertificates, type: nil)
5092
+ let cachedDevicesArg = RubyCommand.Argument(name: "cached_devices", value: cachedDevices, type: nil)
5093
+ let cachedBundleIdsArg = RubyCommand.Argument(name: "cached_bundle_ids", value: cachedBundleIds, type: nil)
5094
+ let cachedProfilesArg = RubyCommand.Argument(name: "cached_profiles", value: cachedProfiles, type: nil)
5083
5095
  let array: [RubyCommand.Argument?] = [adhocArg,
5084
5096
  developerIdArg,
5085
5097
  developmentArg,
@@ -5104,7 +5116,11 @@ public func getManagedPlayStorePublishingRights(jsonKey: OptionalConfigValue<Str
5104
5116
  platformArg,
5105
5117
  readonlyArg,
5106
5118
  templateNameArg,
5107
- failOnNameTakenArg]
5119
+ failOnNameTakenArg,
5120
+ cachedCertificatesArg,
5121
+ cachedDevicesArg,
5122
+ cachedBundleIdsArg,
5123
+ cachedProfilesArg]
5108
5124
  let args: [RubyCommand.Argument] = array
5109
5125
  .filter { $0?.value != nil }
5110
5126
  .compactMap { $0 }
@@ -5252,7 +5268,7 @@ public func gitAdd(path: OptionalConfigValue<[String]?> = .fastlaneDefault(nil),
5252
5268
  /**
5253
5269
  Returns the name of the current git branch, possibly as managed by CI ENV vars
5254
5270
 
5255
- If no branch could be found, this action will return an empty string. This is a wrapper for the internal action Actions.git_branch
5271
+ If no branch could be found, this action will return an empty string. If `FL_GIT_BRANCH_DONT_USE_ENV_VARS` is `true`, it'll ignore CI ENV vars. This is a wrapper for the internal action Actions.git_branch
5256
5272
  */
5257
5273
  @discardableResult public func gitBranch() -> String {
5258
5274
  let args: [RubyCommand.Argument] = []
@@ -5381,7 +5397,7 @@ public func gitSubmoduleUpdate(recursive: OptionalConfigValue<Bool> = .fastlaneD
5381
5397
  - parameters:
5382
5398
  - serverUrl: The server url. e.g. 'https://your.internal.github.host/api/v3' (Default: 'https://api.github.com')
5383
5399
  - apiToken: Personal API Token for GitHub - generate one at https://github.com/settings/tokens
5384
- - apiBearer: Use a Bearer authorization token. Usually generated by Github Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable
5400
+ - apiBearer: Use a Bearer authorization token. Usually generated by GitHub Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable
5385
5401
  - httpMethod: The HTTP method. e.g. GET / POST
5386
5402
  - body: The request body in JSON or hash format
5387
5403
  - rawBody: The request body taken verbatim instead of as JSON, useful for file uploads
@@ -6231,12 +6247,12 @@ public func importCertificate(certificatePath: String,
6231
6247
  Installs an .ipa file on a connected iOS-device via usb or wifi
6232
6248
 
6233
6249
  - parameters:
6234
- - extra: Extra Commandline arguments passed to ios-deploy
6250
+ - extra: Extra Command-line arguments passed to ios-deploy
6235
6251
  - deviceId: id of the device / if not set defaults to first found device
6236
6252
  - skipWifi: Do not search for devices via WiFi
6237
6253
  - ipa: The IPA file to put on the device
6238
6254
 
6239
- Installs the ipa on the device. If no id is given, the first found iOS device will be used. Works via USB or Wi-Fi. This requires `ios-deploy` to be installed. Please have a look at [ios-deploy](https://github.com/ios-control/ios-deploy). To quickly install it, use `npm -g i ios-deploy`
6255
+ Installs the ipa on the device. If no id is given, the first found iOS device will be used. Works via USB or Wi-Fi. This requires `ios-deploy` to be installed. Please have a look at [ios-deploy](https://github.com/ios-control/ios-deploy). To quickly install it, use `brew install ios-deploy`
6240
6256
  */
6241
6257
  public func installOnDevice(extra: OptionalConfigValue<String?> = .fastlaneDefault(nil),
6242
6258
  deviceId: OptionalConfigValue<String?> = .fastlaneDefault(nil),
@@ -6412,7 +6428,7 @@ public func ipa(workspace: OptionalConfigValue<String?> = .fastlaneDefault(nil),
6412
6428
 
6413
6429
  - parameters:
6414
6430
  - config: Path to jazzy config file
6415
- - moduleVersion: Version string to use as part of the the default docs title and inside the docset
6431
+ - moduleVersion: Version string to use as part of the default docs title and inside the docset
6416
6432
  */
6417
6433
  public func jazzy(config: OptionalConfigValue<String?> = .fastlaneDefault(nil),
6418
6434
  moduleVersion: OptionalConfigValue<String?> = .fastlaneDefault(nil))
@@ -6745,6 +6761,7 @@ public func makeChangelogFromJenkins(fallbackChangelog: String = "",
6745
6761
  - forceForNewDevices: Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile types 'appstore' and 'developer_id'
6746
6762
  - includeMacInProfiles: Include Apple Silicon Mac devices in provisioning profiles for iOS/iPadOS apps
6747
6763
  - includeAllCertificates: Include all matching certificates in the provisioning profile. Works only for the 'development' provisioning profile type
6764
+ - certificateId: Select certificate by id. Useful if multiple certificates are stored in one place
6748
6765
  - forceForNewCertificates: Renew the provisioning profiles if the certificate count on the developer portal has changed. Works only for the 'development' provisioning profile type. Requires 'include_all_certificates' option to be 'true'
6749
6766
  - skipConfirmation: Disables confirmation prompts during nuke, answering them with yes
6750
6767
  - safeRemoveCerts: Remove certs from repository during nuke without revoking them on the developer portal
@@ -6802,6 +6819,7 @@ public func match(type: String = matchfile.type,
6802
6819
  forceForNewDevices: OptionalConfigValue<Bool> = .fastlaneDefault(matchfile.forceForNewDevices),
6803
6820
  includeMacInProfiles: OptionalConfigValue<Bool> = .fastlaneDefault(matchfile.includeMacInProfiles),
6804
6821
  includeAllCertificates: OptionalConfigValue<Bool> = .fastlaneDefault(matchfile.includeAllCertificates),
6822
+ certificateId: OptionalConfigValue<String?> = .fastlaneDefault(matchfile.certificateId),
6805
6823
  forceForNewCertificates: OptionalConfigValue<Bool> = .fastlaneDefault(matchfile.forceForNewCertificates),
6806
6824
  skipConfirmation: OptionalConfigValue<Bool> = .fastlaneDefault(matchfile.skipConfirmation),
6807
6825
  safeRemoveCerts: OptionalConfigValue<Bool> = .fastlaneDefault(matchfile.safeRemoveCerts),
@@ -6857,6 +6875,7 @@ public func match(type: String = matchfile.type,
6857
6875
  let forceForNewDevicesArg = forceForNewDevices.asRubyArgument(name: "force_for_new_devices", type: nil)
6858
6876
  let includeMacInProfilesArg = includeMacInProfiles.asRubyArgument(name: "include_mac_in_profiles", type: nil)
6859
6877
  let includeAllCertificatesArg = includeAllCertificates.asRubyArgument(name: "include_all_certificates", type: nil)
6878
+ let certificateIdArg = certificateId.asRubyArgument(name: "certificate_id", type: nil)
6860
6879
  let forceForNewCertificatesArg = forceForNewCertificates.asRubyArgument(name: "force_for_new_certificates", type: nil)
6861
6880
  let skipConfirmationArg = skipConfirmation.asRubyArgument(name: "skip_confirmation", type: nil)
6862
6881
  let safeRemoveCertsArg = safeRemoveCerts.asRubyArgument(name: "safe_remove_certs", type: nil)
@@ -6911,6 +6930,7 @@ public func match(type: String = matchfile.type,
6911
6930
  forceForNewDevicesArg,
6912
6931
  includeMacInProfilesArg,
6913
6932
  includeAllCertificatesArg,
6933
+ certificateIdArg,
6914
6934
  forceForNewCertificatesArg,
6915
6935
  skipConfirmationArg,
6916
6936
  safeRemoveCertsArg,
@@ -6976,6 +6996,7 @@ public func match(type: String = matchfile.type,
6976
6996
  - forceForNewDevices: Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile types 'appstore' and 'developer_id'
6977
6997
  - includeMacInProfiles: Include Apple Silicon Mac devices in provisioning profiles for iOS/iPadOS apps
6978
6998
  - includeAllCertificates: Include all matching certificates in the provisioning profile. Works only for the 'development' provisioning profile type
6999
+ - certificateId: Select certificate by id. Useful if multiple certificates are stored in one place
6979
7000
  - forceForNewCertificates: Renew the provisioning profiles if the certificate count on the developer portal has changed. Works only for the 'development' provisioning profile type. Requires 'include_all_certificates' option to be 'true'
6980
7001
  - skipConfirmation: Disables confirmation prompts during nuke, answering them with yes
6981
7002
  - safeRemoveCerts: Remove certs from repository during nuke without revoking them on the developer portal
@@ -7037,6 +7058,7 @@ public func matchNuke(type: String = "development",
7037
7058
  forceForNewDevices: OptionalConfigValue<Bool> = .fastlaneDefault(false),
7038
7059
  includeMacInProfiles: OptionalConfigValue<Bool> = .fastlaneDefault(false),
7039
7060
  includeAllCertificates: OptionalConfigValue<Bool> = .fastlaneDefault(false),
7061
+ certificateId: OptionalConfigValue<String?> = .fastlaneDefault(nil),
7040
7062
  forceForNewCertificates: OptionalConfigValue<Bool> = .fastlaneDefault(false),
7041
7063
  skipConfirmation: OptionalConfigValue<Bool> = .fastlaneDefault(false),
7042
7064
  safeRemoveCerts: OptionalConfigValue<Bool> = .fastlaneDefault(false),
@@ -7092,6 +7114,7 @@ public func matchNuke(type: String = "development",
7092
7114
  let forceForNewDevicesArg = forceForNewDevices.asRubyArgument(name: "force_for_new_devices", type: nil)
7093
7115
  let includeMacInProfilesArg = includeMacInProfiles.asRubyArgument(name: "include_mac_in_profiles", type: nil)
7094
7116
  let includeAllCertificatesArg = includeAllCertificates.asRubyArgument(name: "include_all_certificates", type: nil)
7117
+ let certificateIdArg = certificateId.asRubyArgument(name: "certificate_id", type: nil)
7095
7118
  let forceForNewCertificatesArg = forceForNewCertificates.asRubyArgument(name: "force_for_new_certificates", type: nil)
7096
7119
  let skipConfirmationArg = skipConfirmation.asRubyArgument(name: "skip_confirmation", type: nil)
7097
7120
  let safeRemoveCertsArg = safeRemoveCerts.asRubyArgument(name: "safe_remove_certs", type: nil)
@@ -7146,6 +7169,7 @@ public func matchNuke(type: String = "development",
7146
7169
  forceForNewDevicesArg,
7147
7170
  includeMacInProfilesArg,
7148
7171
  includeAllCertificatesArg,
7172
+ certificateIdArg,
7149
7173
  forceForNewCertificatesArg,
7150
7174
  skipConfirmationArg,
7151
7175
  safeRemoveCertsArg,
@@ -7573,7 +7597,7 @@ public func onesignal(appId: OptionalConfigValue<String?> = .fastlaneDefault(nil
7573
7597
  /**
7574
7598
  This will prevent reports from being uploaded when _fastlane_ crashes
7575
7599
 
7576
- _fastlane_ doesn't have crash reporting any more. Feel free to remove `opt_out_crash_reporting` from your Fastfile.
7600
+ _fastlane_ doesn't have crash reporting anymore. Feel free to remove `opt_out_crash_reporting` from your Fastfile.
7577
7601
  */
7578
7602
  public func optOutCrashReporting() {
7579
7603
  let args: [RubyCommand.Argument] = []
@@ -8641,7 +8665,7 @@ public func resign(ipa: String,
8641
8665
  }
8642
8666
 
8643
8667
  /**
8644
- This action restore your file that was backuped with the `backup_file` action
8668
+ This action restore your file that was backed up with the `backup_file` action
8645
8669
 
8646
8670
  - parameter path: Original file name you want to restore
8647
8671
  */
@@ -9706,7 +9730,7 @@ public func setChangelog(apiKeyPath: OptionalConfigValue<String?> = .fastlaneDef
9706
9730
  - repositoryName: The path to your repo, e.g. 'fastlane/fastlane'
9707
9731
  - serverUrl: The server url. e.g. 'https://your.internal.github.host/api/v3' (Default: 'https://api.github.com')
9708
9732
  - apiToken: Personal API Token for GitHub - generate one at https://github.com/settings/tokens
9709
- - apiBearer: Use a Bearer authorization token. Usually generated by Github Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable
9733
+ - apiBearer: Use a Bearer authorization token. Usually generated by GitHub Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable
9710
9734
  - tagName: Pass in the tag name
9711
9735
  - name: Name of this release
9712
9736
  - commitish: Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually master)
@@ -10031,6 +10055,10 @@ public func setupTravis(force: OptionalConfigValue<Bool> = .fastlaneDefault(fals
10031
10055
  - readonly: Only fetch existing profile, don't generate new ones
10032
10056
  - templateName: The name of provisioning profile template. If the developer account has provisioning profile templates (aka: custom entitlements), the template name can be found by inspecting the Entitlements drop-down while creating/editing a provisioning profile (e.g. "Apple Pay Pass Suppression Development")
10033
10057
  - failOnNameTaken: Should the command fail if it was about to create a duplicate of an existing provisioning profile. It can happen due to issues on Apple Developer Portal, when profile to be recreated was not properly deleted first
10058
+ - cachedCertificates: A list of cached certificates
10059
+ - cachedDevices: A list of cached devices
10060
+ - cachedBundleIds: A list of cached bundle ids
10061
+ - cachedProfiles: A list of cached bundle ids
10034
10062
 
10035
10063
  - returns: The UUID of the profile sigh just fetched/generated
10036
10064
 
@@ -10060,7 +10088,11 @@ public func setupTravis(force: OptionalConfigValue<Bool> = .fastlaneDefault(fals
10060
10088
  platform: Any = "ios",
10061
10089
  readonly: OptionalConfigValue<Bool> = .fastlaneDefault(false),
10062
10090
  templateName: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10063
- failOnNameTaken: OptionalConfigValue<Bool> = .fastlaneDefault(false)) -> String
10091
+ failOnNameTaken: OptionalConfigValue<Bool> = .fastlaneDefault(false),
10092
+ cachedCertificates: Any? = nil,
10093
+ cachedDevices: Any? = nil,
10094
+ cachedBundleIds: Any? = nil,
10095
+ cachedProfiles: Any? = nil) -> String
10064
10096
  {
10065
10097
  let adhocArg = adhoc.asRubyArgument(name: "adhoc", type: nil)
10066
10098
  let developerIdArg = developerId.asRubyArgument(name: "developer_id", type: nil)
@@ -10087,6 +10119,10 @@ public func setupTravis(force: OptionalConfigValue<Bool> = .fastlaneDefault(fals
10087
10119
  let readonlyArg = readonly.asRubyArgument(name: "readonly", type: nil)
10088
10120
  let templateNameArg = templateName.asRubyArgument(name: "template_name", type: nil)
10089
10121
  let failOnNameTakenArg = failOnNameTaken.asRubyArgument(name: "fail_on_name_taken", type: nil)
10122
+ let cachedCertificatesArg = RubyCommand.Argument(name: "cached_certificates", value: cachedCertificates, type: nil)
10123
+ let cachedDevicesArg = RubyCommand.Argument(name: "cached_devices", value: cachedDevices, type: nil)
10124
+ let cachedBundleIdsArg = RubyCommand.Argument(name: "cached_bundle_ids", value: cachedBundleIds, type: nil)
10125
+ let cachedProfilesArg = RubyCommand.Argument(name: "cached_profiles", value: cachedProfiles, type: nil)
10090
10126
  let array: [RubyCommand.Argument?] = [adhocArg,
10091
10127
  developerIdArg,
10092
10128
  developmentArg,
@@ -10111,7 +10147,11 @@ public func setupTravis(force: OptionalConfigValue<Bool> = .fastlaneDefault(fals
10111
10147
  platformArg,
10112
10148
  readonlyArg,
10113
10149
  templateNameArg,
10114
- failOnNameTakenArg]
10150
+ failOnNameTakenArg,
10151
+ cachedCertificatesArg,
10152
+ cachedDevicesArg,
10153
+ cachedBundleIdsArg,
10154
+ cachedProfilesArg]
10115
10155
  let args: [RubyCommand.Argument] = array
10116
10156
  .filter { $0?.value != nil }
10117
10157
  .compactMap { $0 }
@@ -10256,7 +10296,7 @@ public func slackTrainStart(distance: Int = 5,
10256
10296
  - scheme: Scheme to use when calling slather
10257
10297
  - configuration: Configuration to use when calling slather (since slather-2.4.1)
10258
10298
  - inputFormat: The input format that slather should look for
10259
- - github: Tell slather that it is running on Github Actions
10299
+ - github: Tell slather that it is running on GitHub Actions
10260
10300
  - buildkite: Tell slather that it is running on Buildkite
10261
10301
  - teamcity: Tell slather that it is running on TeamCity
10262
10302
  - jenkins: Tell slather that it is running on Jenkins
@@ -10282,6 +10322,7 @@ public func slackTrainStart(distance: Int = 5,
10282
10322
  - arch: Specify which architecture the binary file is in. Needed for universal binaries
10283
10323
  - sourceFiles: A Dir.glob compatible pattern used to limit the lookup to specific source files. Ignored in gcov mode
10284
10324
  - decimals: The amount of decimals to use for % coverage reporting
10325
+ - ymlfile: Relative path to a file used in place of '.slather.yml'
10285
10326
 
10286
10327
  Slather works with multiple code coverage formats, including Xcode 7 code coverage.
10287
10328
  Slather is available at [https://github.com/SlatherOrg/slather](https://github.com/SlatherOrg/slather).
@@ -10317,7 +10358,8 @@ public func slather(buildDirectory: OptionalConfigValue<String?> = .fastlaneDefa
10317
10358
  binaryFile: OptionalConfigValue<[String]?> = .fastlaneDefault(nil),
10318
10359
  arch: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10319
10360
  sourceFiles: OptionalConfigValue<Bool> = .fastlaneDefault(false),
10320
- decimals: OptionalConfigValue<Bool> = .fastlaneDefault(false))
10361
+ decimals: OptionalConfigValue<Bool> = .fastlaneDefault(false),
10362
+ ymlfile: OptionalConfigValue<String?> = .fastlaneDefault(nil))
10321
10363
  {
10322
10364
  let buildDirectoryArg = buildDirectory.asRubyArgument(name: "build_directory", type: nil)
10323
10365
  let projArg = proj.asRubyArgument(name: "proj", type: nil)
@@ -10351,6 +10393,7 @@ public func slather(buildDirectory: OptionalConfigValue<String?> = .fastlaneDefa
10351
10393
  let archArg = arch.asRubyArgument(name: "arch", type: nil)
10352
10394
  let sourceFilesArg = sourceFiles.asRubyArgument(name: "source_files", type: nil)
10353
10395
  let decimalsArg = decimals.asRubyArgument(name: "decimals", type: nil)
10396
+ let ymlfileArg = ymlfile.asRubyArgument(name: "ymlfile", type: nil)
10354
10397
  let array: [RubyCommand.Argument?] = [buildDirectoryArg,
10355
10398
  projArg,
10356
10399
  workspaceArg,
@@ -10382,7 +10425,8 @@ public func slather(buildDirectory: OptionalConfigValue<String?> = .fastlaneDefa
10382
10425
  binaryFileArg,
10383
10426
  archArg,
10384
10427
  sourceFilesArg,
10385
- decimalsArg]
10428
+ decimalsArg,
10429
+ ymlfileArg]
10386
10430
  let args: [RubyCommand.Argument] = array
10387
10431
  .filter { $0?.value != nil }
10388
10432
  .compactMap { $0 }
@@ -10612,7 +10656,8 @@ public func snapshot(workspace: OptionalConfigValue<String?> = .fastlaneDefault(
10612
10656
  - projectLanguage: Language key, e.g. objc
10613
10657
  - sourceEncoding: Used encoding of source files, e.g., UTF-8
10614
10658
  - sonarRunnerArgs: Pass additional arguments to sonar-scanner. Be sure to provide the arguments with a leading `-D` e.g. FL_SONAR_RUNNER_ARGS="-Dsonar.verbose=true"
10615
- - sonarLogin: Pass the Sonar Login token (e.g: xxxxxxprivate_token_XXXXbXX7e)
10659
+ - sonarLogin: **DEPRECATED!** Login and password were deprecated in favor of login token. See https://community.sonarsource.com/t/deprecating-sonar-login-and-sonar-password-in-favor-of-sonar-token/95829 for more details - Pass the Sonar Login Token (e.g: xxxxxxprivate_token_XXXXbXX7e)
10660
+ - sonarToken: Pass the Sonar Token (e.g: xxxxxxprivate_token_XXXXbXX7e)
10616
10661
  - sonarUrl: Pass the url of the Sonar server
10617
10662
  - sonarOrganization: Key of the organization on SonarCloud
10618
10663
  - branchName: Pass the branch name which is getting scanned
@@ -10635,6 +10680,7 @@ public func sonar(projectConfigurationPath: OptionalConfigValue<String?> = .fast
10635
10680
  sourceEncoding: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10636
10681
  sonarRunnerArgs: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10637
10682
  sonarLogin: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10683
+ sonarToken: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10638
10684
  sonarUrl: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10639
10685
  sonarOrganization: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10640
10686
  branchName: OptionalConfigValue<String?> = .fastlaneDefault(nil),
@@ -10652,6 +10698,7 @@ public func sonar(projectConfigurationPath: OptionalConfigValue<String?> = .fast
10652
10698
  let sourceEncodingArg = sourceEncoding.asRubyArgument(name: "source_encoding", type: nil)
10653
10699
  let sonarRunnerArgsArg = sonarRunnerArgs.asRubyArgument(name: "sonar_runner_args", type: nil)
10654
10700
  let sonarLoginArg = sonarLogin.asRubyArgument(name: "sonar_login", type: nil)
10701
+ let sonarTokenArg = sonarToken.asRubyArgument(name: "sonar_token", type: nil)
10655
10702
  let sonarUrlArg = sonarUrl.asRubyArgument(name: "sonar_url", type: nil)
10656
10703
  let sonarOrganizationArg = sonarOrganization.asRubyArgument(name: "sonar_organization", type: nil)
10657
10704
  let branchNameArg = branchName.asRubyArgument(name: "branch_name", type: nil)
@@ -10668,6 +10715,7 @@ public func sonar(projectConfigurationPath: OptionalConfigValue<String?> = .fast
10668
10715
  sourceEncodingArg,
10669
10716
  sonarRunnerArgsArg,
10670
10717
  sonarLoginArg,
10718
+ sonarTokenArg,
10671
10719
  sonarUrlArg,
10672
10720
  sonarOrganizationArg,
10673
10721
  branchNameArg,
@@ -10855,7 +10903,9 @@ public func splunkmint(dsym: OptionalConfigValue<String?> = .fastlaneDefault(nil
10855
10903
  - parameters:
10856
10904
  - command: The swift command (one of: build, test, clean, reset, update, resolve, generate-xcodeproj, init)
10857
10905
  - enableCodeCoverage: Enables code coverage for the generated Xcode project when using the 'generate-xcodeproj' and the 'test' command
10858
- - buildPath: Specify build/cache directory [default: ./.build]
10906
+ - scratchPath: Specify build/cache directory [default: ./.build]
10907
+ - parallel: Enables running tests in parallel when using the 'test' command
10908
+ - buildPath: **DEPRECATED!** `build_path` option is deprecated, use `scratch_path` instead - Specify build/cache directory [default: ./.build]
10859
10909
  - packagePath: Change working directory before any other operation
10860
10910
  - xcconfig: Use xcconfig file to override swift package generate-xcodeproj defaults
10861
10911
  - configuration: Build with configuration (debug|release) [default: debug]
@@ -10863,9 +10913,13 @@ public func splunkmint(dsym: OptionalConfigValue<String?> = .fastlaneDefault(nil
10863
10913
  - xcprettyOutput: Specifies the output type for xcpretty. eg. 'test', or 'simple'
10864
10914
  - xcprettyArgs: Pass in xcpretty additional command line arguments (e.g. '--test --no-color' or '--tap --no-utf'), requires xcpretty_output to be specified also
10865
10915
  - verbose: Increase verbosity of informational output
10916
+ - simulator: Specifies the simulator to pass for Swift Compiler (one of: iphonesimulator, macosx)
10917
+ - simulatorArch: Specifies the architecture of the simulator to pass for Swift Compiler (one of: x86_64, arm64). Requires the simulator option to be specified also, otherwise, it's ignored
10866
10918
  */
10867
10919
  public func spm(command: String = "build",
10868
10920
  enableCodeCoverage: OptionalConfigValue<Bool?> = .fastlaneDefault(nil),
10921
+ scratchPath: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10922
+ parallel: OptionalConfigValue<Bool> = .fastlaneDefault(false),
10869
10923
  buildPath: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10870
10924
  packagePath: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10871
10925
  xcconfig: OptionalConfigValue<String?> = .fastlaneDefault(nil),
@@ -10873,10 +10927,14 @@ public func spm(command: String = "build",
10873
10927
  disableSandbox: OptionalConfigValue<Bool> = .fastlaneDefault(false),
10874
10928
  xcprettyOutput: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10875
10929
  xcprettyArgs: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10876
- verbose: OptionalConfigValue<Bool> = .fastlaneDefault(false))
10930
+ verbose: OptionalConfigValue<Bool> = .fastlaneDefault(false),
10931
+ simulator: OptionalConfigValue<String?> = .fastlaneDefault(nil),
10932
+ simulatorArch: String = "arm64")
10877
10933
  {
10878
10934
  let commandArg = RubyCommand.Argument(name: "command", value: command, type: nil)
10879
10935
  let enableCodeCoverageArg = enableCodeCoverage.asRubyArgument(name: "enable_code_coverage", type: nil)
10936
+ let scratchPathArg = scratchPath.asRubyArgument(name: "scratch_path", type: nil)
10937
+ let parallelArg = parallel.asRubyArgument(name: "parallel", type: nil)
10880
10938
  let buildPathArg = buildPath.asRubyArgument(name: "build_path", type: nil)
10881
10939
  let packagePathArg = packagePath.asRubyArgument(name: "package_path", type: nil)
10882
10940
  let xcconfigArg = xcconfig.asRubyArgument(name: "xcconfig", type: nil)
@@ -10885,8 +10943,12 @@ public func spm(command: String = "build",
10885
10943
  let xcprettyOutputArg = xcprettyOutput.asRubyArgument(name: "xcpretty_output", type: nil)
10886
10944
  let xcprettyArgsArg = xcprettyArgs.asRubyArgument(name: "xcpretty_args", type: nil)
10887
10945
  let verboseArg = verbose.asRubyArgument(name: "verbose", type: nil)
10946
+ let simulatorArg = simulator.asRubyArgument(name: "simulator", type: nil)
10947
+ let simulatorArchArg = RubyCommand.Argument(name: "simulator_arch", value: simulatorArch, type: nil)
10888
10948
  let array: [RubyCommand.Argument?] = [commandArg,
10889
10949
  enableCodeCoverageArg,
10950
+ scratchPathArg,
10951
+ parallelArg,
10890
10952
  buildPathArg,
10891
10953
  packagePathArg,
10892
10954
  xcconfigArg,
@@ -10894,7 +10956,9 @@ public func spm(command: String = "build",
10894
10956
  disableSandboxArg,
10895
10957
  xcprettyOutputArg,
10896
10958
  xcprettyArgsArg,
10897
- verboseArg]
10959
+ verboseArg,
10960
+ simulatorArg,
10961
+ simulatorArchArg]
10898
10962
  let args: [RubyCommand.Argument] = array
10899
10963
  .filter { $0?.value != nil }
10900
10964
  .compactMap { $0 }
@@ -11230,6 +11294,7 @@ public func swiftlint(mode: String = "lint",
11230
11294
  - forceForNewDevices: Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile types 'appstore' and 'developer_id'
11231
11295
  - includeMacInProfiles: Include Apple Silicon Mac devices in provisioning profiles for iOS/iPadOS apps
11232
11296
  - includeAllCertificates: Include all matching certificates in the provisioning profile. Works only for the 'development' provisioning profile type
11297
+ - certificateId: Select certificate by id. Useful if multiple certificates are stored in one place
11233
11298
  - forceForNewCertificates: Renew the provisioning profiles if the certificate count on the developer portal has changed. Works only for the 'development' provisioning profile type. Requires 'include_all_certificates' option to be 'true'
11234
11299
  - skipConfirmation: Disables confirmation prompts during nuke, answering them with yes
11235
11300
  - safeRemoveCerts: Remove certs from repository during nuke without revoking them on the developer portal
@@ -11287,6 +11352,7 @@ public func syncCodeSigning(type: String = "development",
11287
11352
  forceForNewDevices: OptionalConfigValue<Bool> = .fastlaneDefault(false),
11288
11353
  includeMacInProfiles: OptionalConfigValue<Bool> = .fastlaneDefault(false),
11289
11354
  includeAllCertificates: OptionalConfigValue<Bool> = .fastlaneDefault(false),
11355
+ certificateId: OptionalConfigValue<String?> = .fastlaneDefault(nil),
11290
11356
  forceForNewCertificates: OptionalConfigValue<Bool> = .fastlaneDefault(false),
11291
11357
  skipConfirmation: OptionalConfigValue<Bool> = .fastlaneDefault(false),
11292
11358
  safeRemoveCerts: OptionalConfigValue<Bool> = .fastlaneDefault(false),
@@ -11342,6 +11408,7 @@ public func syncCodeSigning(type: String = "development",
11342
11408
  let forceForNewDevicesArg = forceForNewDevices.asRubyArgument(name: "force_for_new_devices", type: nil)
11343
11409
  let includeMacInProfilesArg = includeMacInProfiles.asRubyArgument(name: "include_mac_in_profiles", type: nil)
11344
11410
  let includeAllCertificatesArg = includeAllCertificates.asRubyArgument(name: "include_all_certificates", type: nil)
11411
+ let certificateIdArg = certificateId.asRubyArgument(name: "certificate_id", type: nil)
11345
11412
  let forceForNewCertificatesArg = forceForNewCertificates.asRubyArgument(name: "force_for_new_certificates", type: nil)
11346
11413
  let skipConfirmationArg = skipConfirmation.asRubyArgument(name: "skip_confirmation", type: nil)
11347
11414
  let safeRemoveCertsArg = safeRemoveCerts.asRubyArgument(name: "safe_remove_certs", type: nil)
@@ -11396,6 +11463,7 @@ public func syncCodeSigning(type: String = "development",
11396
11463
  forceForNewDevicesArg,
11397
11464
  includeMacInProfilesArg,
11398
11465
  includeAllCertificatesArg,
11466
+ certificateIdArg,
11399
11467
  forceForNewCertificatesArg,
11400
11468
  skipConfirmationArg,
11401
11469
  safeRemoveCertsArg,
@@ -12435,8 +12503,8 @@ public func uploadSymbolsToSentry(apiHost: String = "https://app.getsentry.com/a
12435
12503
  - submitForReview: Submit the new version for Review after uploading everything
12436
12504
  - verifyOnly: Verifies archive with App Store Connect without uploading
12437
12505
  - rejectIfPossible: Rejects the previously submitted build if it's in a state where it's possible
12438
- - automaticRelease: Should the app be automatically released once it's approved? (Can not be used together with `auto_release_date`)
12439
- - autoReleaseDate: Date in milliseconds for automatically releasing on pending approval (Can not be used together with `automatic_release`)
12506
+ - automaticRelease: Should the app be automatically released once it's approved? (Cannot be used together with `auto_release_date`)
12507
+ - autoReleaseDate: Date in milliseconds for automatically releasing on pending approval (Cannot be used together with `automatic_release`)
12440
12508
  - phasedRelease: Enable the phased release feature of iTC
12441
12509
  - resetRatings: Reset the summary rating when you release a new version of the application
12442
12510
  - priceTier: The price tier of this application
@@ -13493,7 +13561,7 @@ public func xcov(workspace: OptionalConfigValue<String?> = .fastlaneDefault(nil)
13493
13561
  coverallsServiceJobId: OptionalConfigValue<String?> = .fastlaneDefault(nil),
13494
13562
  coverallsRepoToken: OptionalConfigValue<String?> = .fastlaneDefault(nil),
13495
13563
  xcconfig: OptionalConfigValue<String?> = .fastlaneDefault(nil),
13496
- ideFoundationPath: String = "/Applications/Xcode-14.3.0.app/Contents/Developer/../Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation",
13564
+ ideFoundationPath: String = "/Applications/Xcode-15.1.0.app/Contents/Developer/../Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation",
13497
13565
  legacySupport: OptionalConfigValue<Bool> = .fastlaneDefault(false))
13498
13566
  {
13499
13567
  let workspaceArg = workspace.asRubyArgument(name: "workspace", type: nil)
@@ -13696,4 +13764,4 @@ public let snapshotfile: Snapshotfile = .init()
13696
13764
 
13697
13765
  // Please don't remove the lines below
13698
13766
  // They are used to detect outdated files
13699
- // FastlaneRunnerAPIVersion [0.9.173]
13767
+ // FastlaneRunnerAPIVersion [0.9.175]
@@ -1,5 +1,5 @@
1
1
  // Gymfile.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  // This class is automatically included in FastlaneRunner during build
5
5
 
@@ -17,4 +17,4 @@ public class Gymfile: GymfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.216.0
20
+ // Generated with fastlane 2.218.0
@@ -1,5 +1,5 @@
1
1
  // GymfileProtocol.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  public protocol GymfileProtocol: AnyObject {
5
5
  /// Path to the workspace file
@@ -208,4 +208,4 @@ public extension GymfileProtocol {
208
208
 
209
209
  // Please don't remove the lines below
210
210
  // They are used to detect outdated files
211
- // FastlaneRunnerAPIVersion [0.9.123]
211
+ // FastlaneRunnerAPIVersion [0.9.125]
@@ -1,5 +1,5 @@
1
1
  // LaneFileProtocol.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  //
5
5
  // ** NOTE **
@@ -118,11 +118,11 @@ open class LaneFile: NSObject, LaneFileProtocol {
118
118
  let lowerCasedLaneRequested = lane.lowercased()
119
119
 
120
120
  guard let laneMethod = currentLanes[lowerCasedLaneRequested] else {
121
- let laneNames = laneFunctionNames.map { laneFuctionName in
122
- if laneFuctionName.hasSuffix("lanewithoptions:") {
123
- return trimLaneWithOptionsFromName(laneName: laneFuctionName)
121
+ let laneNames = laneFunctionNames.map { laneFunctionName in
122
+ if laneFunctionName.hasSuffix("lanewithoptions:") {
123
+ return trimLaneWithOptionsFromName(laneName: laneFunctionName)
124
124
  } else {
125
- return trimLaneFromName(laneName: laneFuctionName)
125
+ return trimLaneFromName(laneName: laneFunctionName)
126
126
  }
127
127
  }.joined(separator: ", ")
128
128
 
@@ -1,5 +1,5 @@
1
1
  // MainProcess.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  //
5
5
  // ** NOTE **
@@ -1,5 +1,5 @@
1
1
  // Matchfile.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  // This class is automatically included in FastlaneRunner during build
5
5
 
@@ -17,4 +17,4 @@ public class Matchfile: MatchfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.216.0
20
+ // Generated with fastlane 2.218.0
@@ -1,5 +1,5 @@
1
1
  // MatchfileProtocol.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  public protocol MatchfileProtocol: AnyObject {
5
5
  /// Define the profile type, can be appstore, adhoc, development, enterprise, developer_id, mac_installer_distribution, developer_id_installer
@@ -125,6 +125,9 @@ public protocol MatchfileProtocol: AnyObject {
125
125
  /// Include all matching certificates in the provisioning profile. Works only for the 'development' provisioning profile type
126
126
  var includeAllCertificates: Bool { get }
127
127
 
128
+ /// Select certificate by id. Useful if multiple certificates are stored in one place
129
+ var certificateId: String? { get }
130
+
128
131
  /// Renew the provisioning profiles if the certificate count on the developer portal has changed. Works only for the 'development' provisioning profile type. Requires 'include_all_certificates' option to be 'true'
129
132
  var forceForNewCertificates: Bool { get }
130
133
 
@@ -207,6 +210,7 @@ public extension MatchfileProtocol {
207
210
  var forceForNewDevices: Bool { return false }
208
211
  var includeMacInProfiles: Bool { return false }
209
212
  var includeAllCertificates: Bool { return false }
213
+ var certificateId: String? { return nil }
210
214
  var forceForNewCertificates: Bool { return false }
211
215
  var skipConfirmation: Bool { return false }
212
216
  var safeRemoveCerts: Bool { return false }
@@ -224,4 +228,4 @@ public extension MatchfileProtocol {
224
228
 
225
229
  // Please don't remove the lines below
226
230
  // They are used to detect outdated files
227
- // FastlaneRunnerAPIVersion [0.9.117]
231
+ // FastlaneRunnerAPIVersion [0.9.119]
@@ -1,5 +1,5 @@
1
1
  // OptionalConfigValue.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  //
5
5
  // ** NOTE **
@@ -1,5 +1,5 @@
1
1
  // Plugins.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  // This autogenerated file will be overwritten or replaced when installing/updating plugins or running "fastlane generate_swift"
5
5
  //
@@ -1,5 +1,5 @@
1
1
  // Precheckfile.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  // This class is automatically included in FastlaneRunner during build
5
5
 
@@ -17,4 +17,4 @@ public class Precheckfile: PrecheckfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.216.0
20
+ // Generated with fastlane 2.218.0
@@ -1,5 +1,5 @@
1
1
  // PrecheckfileProtocol.swift
2
- // Copyright (c) 2023 FastlaneTools
2
+ // Copyright (c) 2024 FastlaneTools
3
3
 
4
4
  public protocol PrecheckfileProtocol: AnyObject {
5
5
  /// 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 {
52
52
 
53
53
  // Please don't remove the lines below
54
54
  // They are used to detect outdated files
55
- // FastlaneRunnerAPIVersion [0.9.116]
55
+ // FastlaneRunnerAPIVersion [0.9.118]