fastlane 2.128.0 → 2.132.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +64 -64
  3. data/cert/lib/cert/module.rb +2 -0
  4. data/cert/lib/cert/options.rb +6 -0
  5. data/cert/lib/cert/runner.rb +17 -11
  6. data/deliver/lib/deliver/submit_for_review.rb +1 -1
  7. data/fastlane/lib/fastlane.rb +4 -1
  8. data/fastlane/lib/fastlane/actions/.hockey.rb.swp +0 -0
  9. data/fastlane/lib/fastlane/actions/.slack.rb.swp +0 -0
  10. data/fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp +0 -0
  11. data/fastlane/lib/fastlane/actions/actions_helper.rb +4 -0
  12. data/fastlane/lib/fastlane/actions/app_store_build_number.rb +11 -3
  13. data/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb +1 -1
  14. data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -1
  15. data/fastlane/lib/fastlane/actions/carthage.rb +4 -3
  16. data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -1
  17. data/fastlane/lib/fastlane/actions/copy_artifacts.rb +1 -1
  18. data/fastlane/lib/fastlane/actions/danger.rb +7 -0
  19. data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +23 -4
  20. data/fastlane/lib/fastlane/actions/download_dsyms.rb +35 -9
  21. data/fastlane/lib/fastlane/actions/ensure_env_vars.rb +58 -0
  22. data/fastlane/lib/fastlane/actions/get_version_number.rb +21 -2
  23. data/fastlane/lib/fastlane/actions/github_api.rb +1 -1
  24. data/fastlane/lib/fastlane/actions/gradle.rb +37 -8
  25. data/fastlane/lib/fastlane/actions/import_from_git.rb +1 -1
  26. data/fastlane/lib/fastlane/actions/onesignal.rb +59 -29
  27. data/fastlane/lib/fastlane/actions/pod_push.rb +29 -10
  28. data/fastlane/lib/fastlane/actions/puts.rb +1 -1
  29. data/fastlane/lib/fastlane/actions/register_devices.rb +38 -22
  30. data/fastlane/lib/fastlane/actions/resign.rb +2 -2
  31. data/fastlane/lib/fastlane/actions/slather.rb +1 -0
  32. data/fastlane/lib/fastlane/actions/sonar.rb +18 -0
  33. data/fastlane/lib/fastlane/actions/update_fastlane.rb +1 -1
  34. data/fastlane/lib/fastlane/commands_generator.rb +17 -1
  35. data/fastlane/lib/fastlane/fast_file.rb +7 -2
  36. data/fastlane/lib/fastlane/helper/adb_helper.rb +5 -0
  37. data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +12 -6
  38. data/fastlane/lib/fastlane/plugins/plugin_manager.rb +2 -0
  39. data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +3 -0
  40. data/fastlane/lib/fastlane/setup/setup_android.rb +1 -1
  41. data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +116 -32
  42. data/fastlane/lib/fastlane/swift_fastlane_function.rb +11 -7
  43. data/fastlane/lib/fastlane/swift_runner_upgrader.rb +4 -0
  44. data/fastlane/lib/fastlane/version.rb +1 -1
  45. data/fastlane/swift/Actions.swift +15 -0
  46. data/fastlane/swift/Deliverfile.swift +1 -1
  47. data/fastlane/swift/Fastlane.swift +341 -294
  48. data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj +9 -0
  49. data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  50. data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  51. data/fastlane/swift/Gymfile.swift +1 -1
  52. data/fastlane/swift/GymfileProtocol.swift +13 -11
  53. data/fastlane/swift/Matchfile.swift +1 -1
  54. data/fastlane/swift/MatchfileProtocol.swift +7 -1
  55. data/fastlane/swift/Plugins.swift +15 -0
  56. data/fastlane/swift/Precheckfile.swift +1 -1
  57. data/fastlane/swift/Scanfile.swift +1 -1
  58. data/fastlane/swift/ScanfileProtocol.swift +3 -3
  59. data/fastlane/swift/Screengrabfile.swift +1 -1
  60. data/fastlane/swift/Snapshotfile.swift +1 -1
  61. data/fastlane/swift/SnapshotfileProtocol.swift +3 -1
  62. data/fastlane/swift/upgrade_manifest.json +1 -1
  63. data/fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb +1 -1
  64. data/fastlane_core/lib/fastlane_core/command_executor.rb +1 -1
  65. data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +1 -1
  66. data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
  67. data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +1 -3
  68. data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +3 -2
  69. data/frameit/lib/frameit/editor.rb +1 -1
  70. data/frameit/lib/frameit/screenshot.rb +4 -0
  71. data/gym/lib/gym/.runner.rb.swp +0 -0
  72. data/gym/lib/gym/generators/build_command_generator.rb +5 -1
  73. data/gym/lib/gym/options.rb +17 -17
  74. data/gym/lib/gym/runner.rb +33 -5
  75. data/match/lib/match/generator.rb +1 -0
  76. data/match/lib/match/importer.rb +1 -1
  77. data/match/lib/match/module.rb +2 -0
  78. data/match/lib/match/nuke.rb +6 -6
  79. data/match/lib/match/options.rb +17 -0
  80. data/match/lib/match/runner.rb +13 -9
  81. data/match/lib/match/storage/git_storage.rb +8 -2
  82. data/match/lib/match/storage/google_cloud_storage.rb +82 -33
  83. data/match/lib/match/storage/interface.rb +1 -1
  84. data/pilot/lib/pilot/.manager.rb.swp +0 -0
  85. data/produce/lib/produce/service.rb +7 -1
  86. data/scan/lib/scan/options.rb +1 -1
  87. data/scan/lib/scan/runner.rb +1 -1
  88. data/sigh/lib/sigh/download_all.rb +48 -8
  89. data/sigh/lib/sigh/runner.rb +13 -5
  90. data/snapshot/lib/assets/SnapshotHelper.swift +3 -3
  91. data/snapshot/lib/snapshot/commands_generator.rb +2 -2
  92. data/snapshot/lib/snapshot/options.rb +5 -0
  93. data/snapshot/lib/snapshot/reports_generator.rb +3 -0
  94. data/snapshot/lib/snapshot/simulator_launchers/launcher_configuration.rb +2 -0
  95. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb +1 -1
  96. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +16 -1
  97. data/snapshot/lib/snapshot/update.rb +4 -2
  98. data/spaceship/lib/spaceship/client.rb +1 -1
  99. data/spaceship/lib/spaceship/connect_api/.DS_Store +0 -0
  100. data/spaceship/lib/spaceship/connect_api/models/app.rb +6 -6
  101. data/spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb +1 -0
  102. data/spaceship/lib/spaceship/connect_api/models/build.rb +3 -3
  103. data/spaceship/lib/spaceship/connect_api/models/build_delivery.rb +1 -1
  104. data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +1 -1
  105. data/spaceship/lib/spaceship/connect_api/models/certificate.rb +1 -1
  106. data/spaceship/lib/spaceship/connect_api/models/device.rb +1 -1
  107. data/spaceship/lib/spaceship/connect_api/models/profile.rb +1 -1
  108. data/spaceship/lib/spaceship/du/du_client.rb +4 -0
  109. data/spaceship/lib/spaceship/portal/.certificate.rb.swp +0 -0
  110. data/spaceship/lib/spaceship/portal/certificate.rb +15 -1
  111. data/spaceship/lib/spaceship/portal/provisioning_profile.rb +1 -1
  112. data/spaceship/lib/spaceship/spaceauth_runner.rb +1 -1
  113. data/spaceship/lib/spaceship/test_flight/tester.rb +1 -1
  114. data/spaceship/lib/spaceship/tunes/app_version.rb +4 -0
  115. data/spaceship/lib/spaceship/tunes/application.rb +4 -0
  116. data/spaceship/lib/spaceship/tunes/availability.rb +40 -8
  117. data/spaceship/lib/spaceship/tunes/b2b_organization.rb +50 -0
  118. data/spaceship/lib/spaceship/tunes/build_details.rb +160 -18
  119. data/spaceship/lib/spaceship/tunes/display_family.rb +3 -3
  120. data/spaceship/lib/spaceship/tunes/iap.rb +2 -0
  121. data/spaceship/lib/spaceship/tunes/iap_detail.rb +17 -0
  122. data/spaceship/lib/spaceship/tunes/iap_family_details.rb +10 -2
  123. data/spaceship/lib/spaceship/tunes/tunes_client.rb +63 -2
  124. data/supply/lib/supply/client.rb +1 -1
  125. metadata +59 -45
@@ -7,15 +7,17 @@ module Fastlane
7
7
  attr_accessor :param_default_values
8
8
  attr_accessor :param_optionality_values
9
9
  attr_accessor :param_type_overrides
10
+ attr_accessor :param_is_strings
10
11
  attr_accessor :reserved_words
11
12
  attr_accessor :default_values_to_ignore
12
13
 
13
- def initialize(action_name: nil, keys: nil, key_descriptions: nil, key_default_values: nil, key_optionality_values: nil, key_type_overrides: nil, return_type: nil)
14
+ def initialize(action_name: nil, keys: nil, key_descriptions: nil, key_default_values: nil, key_optionality_values: nil, key_type_overrides: nil, key_is_strings: nil, return_type: nil)
14
15
  @function_name = action_name
15
16
  @param_names = keys
16
17
  @param_descriptions = key_descriptions
17
18
  @param_default_values = key_default_values
18
19
  @param_optionality_values = key_optionality_values
20
+ @param_is_strings = key_is_strings
19
21
  @return_type = return_type
20
22
  @param_type_overrides = key_type_overrides
21
23
 
@@ -91,11 +93,13 @@ module Fastlane
91
93
  return default_value
92
94
  end
93
95
 
94
- def get_type(param: nil, default_value: nil, optional: nil, param_type_override: nil)
96
+ def get_type(param: nil, default_value: nil, optional: nil, param_type_override: nil, is_string: true)
95
97
  unless param_type_override.nil?
96
98
  type = determine_type_from_override(type_override: param_type_override)
97
99
  end
98
- type ||= "String"
100
+
101
+ # defaulting type to Any if is_string is false so users are allowed to input all allowed types
102
+ type ||= is_string ? "String" : "Any"
99
103
 
100
104
  optional_specifier = ""
101
105
  # if we are optional and don't have a default value, we'll need to use ?
@@ -121,8 +125,8 @@ module Fastlane
121
125
  return ""
122
126
  end
123
127
 
124
- param_names_and_types = @param_names.zip(param_default_values, param_optionality_values, param_type_overrides).map do |param, default_value, optional, param_type_override|
125
- type = get_type(param: param, default_value: default_value, optional: optional, param_type_override: param_type_override)
128
+ param_names_and_types = @param_names.zip(param_default_values, param_optionality_values, param_type_overrides, param_is_strings).map do |param, default_value, optional, param_type_override, is_string|
129
+ type = get_type(param: param, default_value: default_value, optional: optional, param_type_override: param_type_override, is_string: is_string)
126
130
 
127
131
  unless default_value.nil?
128
132
  if type == "[String : Any]"
@@ -304,8 +308,8 @@ module Fastlane
304
308
  return ""
305
309
  end
306
310
 
307
- param_names_and_types = @param_names.zip(param_default_values, param_optionality_values, param_type_overrides).map do |param, default_value, optional, param_type_override|
308
- type = get_type(param: param, default_value: default_value, optional: optional, param_type_override: param_type_override)
311
+ param_names_and_types = @param_names.zip(param_default_values, param_optionality_values, param_type_overrides).map do |param, default_value, optional, param_type_override, is_string|
312
+ type = get_type(param: param, default_value: default_value, optional: optional, param_type_override: param_type_override, is_string: is_string)
309
313
 
310
314
  param = camel_case_lower(string: param)
311
315
  param = sanitize_reserved_word(word: param)
@@ -90,6 +90,10 @@ module Fastlane
90
90
  source_file_content = File.read(source)
91
91
  target_file_content = File.read(target)
92
92
 
93
+ # ignore if files don't contain FastlaneRunnerAPIVersion
94
+ return false unless source_file_content.include?("FastlaneRunnerAPIVersion")
95
+ return false unless target_file_content.include?("FastlaneRunnerAPIVersion")
96
+
93
97
  bundled_version = source_file_content.match(regex_to_use)[1]
94
98
  target_version = target_file_content.match(regex_to_use)[1]
95
99
  file_versions_are_different = bundled_version != target_version
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.128.0'.freeze
2
+ VERSION = '2.132.0'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -0,0 +1,15 @@
1
+ // This class is automatically included in FastlaneRunner during build
2
+
3
+ // This autogenerated file will be overwritten or replaced when running "fastlane generate_swift"
4
+ //
5
+ // ** NOTE **
6
+ // This file is provided by fastlane and WILL be overwritten in future updates
7
+ // If you want to add extra functionality to this project, create a new file in a
8
+ // new group so that it won't be marked for upgrade
9
+ //
10
+
11
+ import Foundation
12
+
13
+ // Please don't remove the lines below
14
+ // They are used to detect outdated files
15
+ // FastlaneRunnerAPIVersion [0.9.56]
@@ -18,4 +18,4 @@ class Deliverfile: DeliverfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.128.0
21
+ // Generated with fastlane 2.132.0
@@ -19,7 +19,7 @@ func addGitTag(tag: String? = nil,
19
19
  grouping: String = "builds",
20
20
  `prefix`: String = "",
21
21
  `postfix`: String = "",
22
- buildNumber: String,
22
+ buildNumber: Any,
23
23
  message: String? = nil,
24
24
  commit: String? = nil,
25
25
  force: Bool = false,
@@ -35,10 +35,10 @@ func addGitTag(tag: String? = nil,
35
35
  RubyCommand.Argument(name: "sign", value: sign)])
36
36
  _ = runner.executeCommand(command)
37
37
  }
38
- func appStoreBuildNumber(initialBuildNumber: String,
38
+ func appStoreBuildNumber(initialBuildNumber: Any,
39
39
  appIdentifier: String,
40
40
  username: String,
41
- teamId: String? = nil,
41
+ teamId: Any? = nil,
42
42
  live: Bool = true,
43
43
  version: String? = nil,
44
44
  platform: String = "ios",
@@ -131,13 +131,13 @@ func appium(platform: String,
131
131
  RubyCommand.Argument(name: "appium_lib", value: appiumLib)])
132
132
  _ = runner.executeCommand(command)
133
133
  }
134
- func appledoc(input: String,
134
+ func appledoc(input: Any,
135
135
  output: String? = nil,
136
136
  templates: String? = nil,
137
137
  docsetInstallPath: String? = nil,
138
138
  include: String? = nil,
139
- ignore: String? = nil,
140
- excludeOutput: String? = nil,
139
+ ignore: Any? = nil,
140
+ excludeOutput: Any? = nil,
141
141
  indexDesc: String? = nil,
142
142
  projectName: String,
143
143
  projectVersion: String? = nil,
@@ -174,8 +174,8 @@ func appledoc(input: String,
174
174
  exitThreshold: Int = 2,
175
175
  docsSectionTitle: String? = nil,
176
176
  warnings: String? = nil,
177
- logformat: String? = nil,
178
- verbose: String? = nil) {
177
+ logformat: Any? = nil,
178
+ verbose: Any? = nil) {
179
179
  let command = RubyCommand(commandID: "", methodName: "appledoc", className: nil, args: [RubyCommand.Argument(name: "input", value: input),
180
180
  RubyCommand.Argument(name: "output", value: output),
181
181
  RubyCommand.Argument(name: "templates", value: templates),
@@ -243,19 +243,19 @@ func appstore(username: String,
243
243
  submitForReview: Bool = false,
244
244
  rejectIfPossible: Bool = false,
245
245
  automaticRelease: Bool = false,
246
- autoReleaseDate: String? = nil,
246
+ autoReleaseDate: Any? = nil,
247
247
  phasedRelease: Bool = false,
248
248
  resetRatings: Bool = false,
249
- priceTier: String? = nil,
249
+ priceTier: Any? = nil,
250
250
  appRatingConfigPath: String? = nil,
251
- submissionInformation: String? = nil,
252
- teamId: String? = nil,
251
+ submissionInformation: Any? = nil,
252
+ teamId: Any? = nil,
253
253
  teamName: String? = nil,
254
254
  devPortalTeamId: String? = nil,
255
255
  devPortalTeamName: String? = nil,
256
256
  itcProvider: String? = nil,
257
257
  runPrecheckBeforeSubmit: Bool = true,
258
- precheckDefaultRuleLevel: String = "warn",
258
+ precheckDefaultRuleLevel: Any = "warn",
259
259
  individualMetadataItems: [String] = [],
260
260
  appIcon: String? = nil,
261
261
  appleWatchAppIcon: String? = nil,
@@ -269,20 +269,20 @@ func appstore(username: String,
269
269
  tradeRepresentativeContactInformation: [String : Any]? = nil,
270
270
  appReviewInformation: [String : Any]? = nil,
271
271
  appReviewAttachmentFile: String? = nil,
272
- description: String? = nil,
273
- name: String? = nil,
272
+ description: Any? = nil,
273
+ name: Any? = nil,
274
274
  subtitle: [String : Any]? = nil,
275
275
  keywords: [String : Any]? = nil,
276
276
  promotionalText: [String : Any]? = nil,
277
- releaseNotes: String? = nil,
278
- privacyUrl: String? = nil,
279
- appleTvPrivacyPolicy: String? = nil,
280
- supportUrl: String? = nil,
281
- marketingUrl: String? = nil,
277
+ releaseNotes: Any? = nil,
278
+ privacyUrl: Any? = nil,
279
+ appleTvPrivacyPolicy: Any? = nil,
280
+ supportUrl: Any? = nil,
281
+ marketingUrl: Any? = nil,
282
282
  languages: [String]? = nil,
283
283
  ignoreLanguageDirectoryValidation: Bool = false,
284
284
  precheckIncludeInAppPurchases: Bool = true,
285
- app: String) {
285
+ app: Any) {
286
286
  let command = RubyCommand(commandID: "", methodName: "appstore", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
287
287
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
288
288
  RubyCommand.Argument(name: "app_version", value: appVersion),
@@ -417,17 +417,17 @@ func backupXcarchive(xcarchive: String,
417
417
  RubyCommand.Argument(name: "versioned", value: versioned)])
418
418
  _ = runner.executeCommand(command)
419
419
  }
420
- func badge(dark: String? = nil,
420
+ func badge(dark: Any? = nil,
421
421
  custom: String? = nil,
422
- noBadge: String? = nil,
422
+ noBadge: Any? = nil,
423
423
  shield: String? = nil,
424
- alpha: String? = nil,
424
+ alpha: Any? = nil,
425
425
  path: String = ".",
426
- shieldIoTimeout: String? = nil,
426
+ shieldIoTimeout: Any? = nil,
427
427
  glob: String? = nil,
428
- alphaChannel: String? = nil,
428
+ alphaChannel: Any? = nil,
429
429
  shieldGravity: String? = nil,
430
- shieldNoResize: String? = nil) {
430
+ shieldNoResize: Any? = nil) {
431
431
  let command = RubyCommand(commandID: "", methodName: "badge", className: nil, args: [RubyCommand.Argument(name: "dark", value: dark),
432
432
  RubyCommand.Argument(name: "custom", value: custom),
433
433
  RubyCommand.Argument(name: "no_badge", value: noBadge),
@@ -459,8 +459,8 @@ func buildAndroidApp(task: String,
459
459
  flags: String? = nil,
460
460
  projectDir: String = ".",
461
461
  gradlePath: String? = nil,
462
- properties: String? = nil,
463
- systemProperties: String? = nil,
462
+ properties: Any? = nil,
463
+ systemProperties: Any? = nil,
464
464
  serial: String = "",
465
465
  printCommand: Bool = true,
466
466
  printCommandOutput: Bool = true) {
@@ -494,6 +494,7 @@ func buildApp(workspace: String? = nil,
494
494
  exportXcargs: String? = nil,
495
495
  skipBuildArchive: Bool? = nil,
496
496
  skipArchive: Bool? = nil,
497
+ skipCodesigning: Bool? = nil,
497
498
  buildPath: String? = nil,
498
499
  archivePath: String? = nil,
499
500
  derivedDataPath: String? = nil,
@@ -506,15 +507,15 @@ func buildApp(workspace: String? = nil,
506
507
  exportTeamId: String? = nil,
507
508
  xcargs: String? = nil,
508
509
  xcconfig: String? = nil,
509
- suppressXcodeOutput: String? = nil,
510
- disableXcpretty: String? = nil,
511
- xcprettyTestFormat: String? = nil,
510
+ suppressXcodeOutput: Bool? = nil,
511
+ disableXcpretty: Bool? = nil,
512
+ xcprettyTestFormat: Bool? = nil,
512
513
  xcprettyFormatter: String? = nil,
513
514
  xcprettyReportJunit: String? = nil,
514
515
  xcprettyReportHtml: String? = nil,
515
516
  xcprettyReportJson: String? = nil,
516
- analyzeBuildTime: String? = nil,
517
- xcprettyUtf: String? = nil,
517
+ analyzeBuildTime: Bool? = nil,
518
+ xcprettyUtf: Bool? = nil,
518
519
  skipProfileDetection: Bool = false) {
519
520
  let command = RubyCommand(commandID: "", methodName: "build_app", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
520
521
  RubyCommand.Argument(name: "project", value: project),
@@ -533,6 +534,7 @@ func buildApp(workspace: String? = nil,
533
534
  RubyCommand.Argument(name: "export_xcargs", value: exportXcargs),
534
535
  RubyCommand.Argument(name: "skip_build_archive", value: skipBuildArchive),
535
536
  RubyCommand.Argument(name: "skip_archive", value: skipArchive),
537
+ RubyCommand.Argument(name: "skip_codesigning", value: skipCodesigning),
536
538
  RubyCommand.Argument(name: "build_path", value: buildPath),
537
539
  RubyCommand.Argument(name: "archive_path", value: archivePath),
538
540
  RubyCommand.Argument(name: "derived_data_path", value: derivedDataPath),
@@ -574,6 +576,7 @@ func buildIosApp(workspace: String? = nil,
574
576
  exportXcargs: String? = nil,
575
577
  skipBuildArchive: Bool? = nil,
576
578
  skipArchive: Bool? = nil,
579
+ skipCodesigning: Bool? = nil,
577
580
  buildPath: String? = nil,
578
581
  archivePath: String? = nil,
579
582
  derivedDataPath: String? = nil,
@@ -586,15 +589,15 @@ func buildIosApp(workspace: String? = nil,
586
589
  exportTeamId: String? = nil,
587
590
  xcargs: String? = nil,
588
591
  xcconfig: String? = nil,
589
- suppressXcodeOutput: String? = nil,
590
- disableXcpretty: String? = nil,
591
- xcprettyTestFormat: String? = nil,
592
+ suppressXcodeOutput: Bool? = nil,
593
+ disableXcpretty: Bool? = nil,
594
+ xcprettyTestFormat: Bool? = nil,
592
595
  xcprettyFormatter: String? = nil,
593
596
  xcprettyReportJunit: String? = nil,
594
597
  xcprettyReportHtml: String? = nil,
595
598
  xcprettyReportJson: String? = nil,
596
- analyzeBuildTime: String? = nil,
597
- xcprettyUtf: String? = nil,
599
+ analyzeBuildTime: Bool? = nil,
600
+ xcprettyUtf: Bool? = nil,
598
601
  skipProfileDetection: Bool = false) {
599
602
  let command = RubyCommand(commandID: "", methodName: "build_ios_app", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
600
603
  RubyCommand.Argument(name: "project", value: project),
@@ -613,6 +616,7 @@ func buildIosApp(workspace: String? = nil,
613
616
  RubyCommand.Argument(name: "export_xcargs", value: exportXcargs),
614
617
  RubyCommand.Argument(name: "skip_build_archive", value: skipBuildArchive),
615
618
  RubyCommand.Argument(name: "skip_archive", value: skipArchive),
619
+ RubyCommand.Argument(name: "skip_codesigning", value: skipCodesigning),
616
620
  RubyCommand.Argument(name: "build_path", value: buildPath),
617
621
  RubyCommand.Argument(name: "archive_path", value: archivePath),
618
622
  RubyCommand.Argument(name: "derived_data_path", value: derivedDataPath),
@@ -731,6 +735,7 @@ func captureIosScreenshots(workspace: String? = nil,
731
735
  reinstallApp: Bool = false,
732
736
  eraseSimulator: Bool = false,
733
737
  localizeSimulator: Bool = false,
738
+ darkMode: Bool? = nil,
734
739
  appIdentifier: String? = nil,
735
740
  addPhotos: [String]? = nil,
736
741
  addVideos: [String]? = nil,
@@ -746,7 +751,7 @@ func captureIosScreenshots(workspace: String? = nil,
746
751
  derivedDataPath: String? = nil,
747
752
  resultBundle: Bool = false,
748
753
  testTargetName: String? = nil,
749
- namespaceLogFiles: String? = nil,
754
+ namespaceLogFiles: Any? = nil,
750
755
  concurrentSimulators: Bool = true) {
751
756
  let command = RubyCommand(commandID: "", methodName: "capture_ios_screenshots", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
752
757
  RubyCommand.Argument(name: "project", value: project),
@@ -764,6 +769,7 @@ func captureIosScreenshots(workspace: String? = nil,
764
769
  RubyCommand.Argument(name: "reinstall_app", value: reinstallApp),
765
770
  RubyCommand.Argument(name: "erase_simulator", value: eraseSimulator),
766
771
  RubyCommand.Argument(name: "localize_simulator", value: localizeSimulator),
772
+ RubyCommand.Argument(name: "dark_mode", value: darkMode),
767
773
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
768
774
  RubyCommand.Argument(name: "add_photos", value: addPhotos),
769
775
  RubyCommand.Argument(name: "add_videos", value: addVideos),
@@ -799,6 +805,7 @@ func captureScreenshots(workspace: String? = nil,
799
805
  reinstallApp: Bool = false,
800
806
  eraseSimulator: Bool = false,
801
807
  localizeSimulator: Bool = false,
808
+ darkMode: Bool? = nil,
802
809
  appIdentifier: String? = nil,
803
810
  addPhotos: [String]? = nil,
804
811
  addVideos: [String]? = nil,
@@ -814,7 +821,7 @@ func captureScreenshots(workspace: String? = nil,
814
821
  derivedDataPath: String? = nil,
815
822
  resultBundle: Bool = false,
816
823
  testTargetName: String? = nil,
817
- namespaceLogFiles: String? = nil,
824
+ namespaceLogFiles: Any? = nil,
818
825
  concurrentSimulators: Bool = true) {
819
826
  let command = RubyCommand(commandID: "", methodName: "capture_screenshots", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
820
827
  RubyCommand.Argument(name: "project", value: project),
@@ -832,6 +839,7 @@ func captureScreenshots(workspace: String? = nil,
832
839
  RubyCommand.Argument(name: "reinstall_app", value: reinstallApp),
833
840
  RubyCommand.Argument(name: "erase_simulator", value: eraseSimulator),
834
841
  RubyCommand.Argument(name: "localize_simulator", value: localizeSimulator),
842
+ RubyCommand.Argument(name: "dark_mode", value: darkMode),
835
843
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
836
844
  RubyCommand.Argument(name: "add_photos", value: addPhotos),
837
845
  RubyCommand.Argument(name: "add_videos", value: addVideos),
@@ -893,6 +901,7 @@ func carthage(command: String = "bootstrap",
893
901
  }
894
902
  func cert(development: Bool = false,
895
903
  force: Bool = false,
904
+ generateAppleCerts: Bool = true,
896
905
  username: String,
897
906
  teamId: String? = nil,
898
907
  teamName: String? = nil,
@@ -900,9 +909,10 @@ func cert(development: Bool = false,
900
909
  outputPath: String = ".",
901
910
  keychainPath: String,
902
911
  keychainPassword: String? = nil,
903
- platform: String = "ios") {
912
+ platform: Any = "ios") {
904
913
  let command = RubyCommand(commandID: "", methodName: "cert", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
905
914
  RubyCommand.Argument(name: "force", value: force),
915
+ RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
906
916
  RubyCommand.Argument(name: "username", value: username),
907
917
  RubyCommand.Argument(name: "team_id", value: teamId),
908
918
  RubyCommand.Argument(name: "team_name", value: teamName),
@@ -913,7 +923,7 @@ func cert(development: Bool = false,
913
923
  RubyCommand.Argument(name: "platform", value: platform)])
914
924
  _ = runner.executeCommand(command)
915
925
  }
916
- @discardableResult func changelogFromGitCommits(between: String? = nil,
926
+ @discardableResult func changelogFromGitCommits(between: Any? = nil,
917
927
  commitsCount: Int? = nil,
918
928
  path: String = "./",
919
929
  pretty: String = "%B",
@@ -939,7 +949,7 @@ func cert(development: Bool = false,
939
949
  }
940
950
  func chatwork(apiToken: String,
941
951
  message: String,
942
- roomid: String,
952
+ roomid: Any,
943
953
  success: Bool = true) {
944
954
  let command = RubyCommand(commandID: "", methodName: "chatwork", className: nil, args: [RubyCommand.Argument(name: "api_token", value: apiToken),
945
955
  RubyCommand.Argument(name: "message", value: message),
@@ -951,18 +961,18 @@ func checkAppStoreMetadata(appIdentifier: String,
951
961
  username: String,
952
962
  teamId: String? = nil,
953
963
  teamName: String? = nil,
954
- defaultRuleLevel: String = "error",
964
+ defaultRuleLevel: Any = "error",
955
965
  includeInAppPurchases: Bool = true,
956
- negativeAppleSentiment: String? = nil,
957
- placeholderText: String? = nil,
958
- otherPlatforms: String? = nil,
959
- futureFunctionality: String? = nil,
960
- testWords: String? = nil,
961
- curseWords: String? = nil,
962
- freeStuffInIap: String? = nil,
963
- customText: String? = nil,
964
- copyrightDate: String? = nil,
965
- unreachableUrls: String? = nil) {
966
+ negativeAppleSentiment: Any? = nil,
967
+ placeholderText: Any? = nil,
968
+ otherPlatforms: Any? = nil,
969
+ futureFunctionality: Any? = nil,
970
+ testWords: Any? = nil,
971
+ curseWords: Any? = nil,
972
+ freeStuffInIap: Any? = nil,
973
+ customText: Any? = nil,
974
+ copyrightDate: Any? = nil,
975
+ unreachableUrls: Any? = nil) {
966
976
  let command = RubyCommand(commandID: "", methodName: "check_app_store_metadata", className: nil, args: [RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
967
977
  RubyCommand.Argument(name: "username", value: username),
968
978
  RubyCommand.Argument(name: "team_id", value: teamId),
@@ -1019,7 +1029,7 @@ func cocoapods(repoUpdate: Bool = false,
1019
1029
  ansi: Bool = true,
1020
1030
  useBundleExec: Bool = true,
1021
1031
  podfile: String? = nil,
1022
- errorCallback: String? = nil,
1032
+ errorCallback: Any? = nil,
1023
1033
  tryRepoUpdateOnError: Bool = false,
1024
1034
  clean: Bool = true,
1025
1035
  integrate: Bool = true) {
@@ -1055,7 +1065,7 @@ func commitVersionBump(message: String? = nil,
1055
1065
  xcodeproj: String? = nil,
1056
1066
  force: Bool = false,
1057
1067
  settings: Bool = false,
1058
- ignore: String? = nil,
1068
+ ignore: Any? = nil,
1059
1069
  include: [String] = [],
1060
1070
  noVerify: Bool = false) {
1061
1071
  let command = RubyCommand(commandID: "", methodName: "commit_version_bump", className: nil, args: [RubyCommand.Argument(name: "message", value: message),
@@ -1068,7 +1078,7 @@ func commitVersionBump(message: String? = nil,
1068
1078
  _ = runner.executeCommand(command)
1069
1079
  }
1070
1080
  func copyArtifacts(keepOriginal: Bool = true,
1071
- targetPath: String = "artifacts",
1081
+ targetPath: Any = "artifacts",
1072
1082
  artifacts: [String] = [],
1073
1083
  failOnMissing: Bool = false) {
1074
1084
  let command = RubyCommand(commandID: "", methodName: "copy_artifacts", className: nil, args: [RubyCommand.Argument(name: "keep_original", value: keepOriginal),
@@ -1084,8 +1094,8 @@ func crashlytics(ipaPath: String? = nil,
1084
1094
  buildSecret: String,
1085
1095
  notesPath: String? = nil,
1086
1096
  notes: String? = nil,
1087
- groups: String? = nil,
1088
- emails: String? = nil,
1097
+ groups: Any? = nil,
1098
+ emails: Any? = nil,
1089
1099
  notifications: Bool = true,
1090
1100
  debug: Bool = false) {
1091
1101
  let command = RubyCommand(commandID: "", methodName: "crashlytics", className: nil, args: [RubyCommand.Argument(name: "ipa_path", value: ipaPath),
@@ -1135,7 +1145,7 @@ func createAppOnline(username: String,
1135
1145
  skipDevcenter: Bool = false,
1136
1146
  teamId: String? = nil,
1137
1147
  teamName: String? = nil,
1138
- itcTeamId: String? = nil,
1148
+ itcTeamId: Any? = nil,
1139
1149
  itcTeamName: String? = nil) {
1140
1150
  let command = RubyCommand(commandID: "", methodName: "create_app_online", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
1141
1151
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
@@ -1206,6 +1216,7 @@ func danger(useBundleExec: Bool = true,
1206
1216
  githubApiToken: String? = nil,
1207
1217
  failOnErrors: Bool = false,
1208
1218
  newComment: Bool = false,
1219
+ removePreviousComments: Bool = false,
1209
1220
  base: String? = nil,
1210
1221
  head: String? = nil,
1211
1222
  pr: String? = nil) {
@@ -1216,6 +1227,7 @@ func danger(useBundleExec: Bool = true,
1216
1227
  RubyCommand.Argument(name: "github_api_token", value: githubApiToken),
1217
1228
  RubyCommand.Argument(name: "fail_on_errors", value: failOnErrors),
1218
1229
  RubyCommand.Argument(name: "new_comment", value: newComment),
1230
+ RubyCommand.Argument(name: "remove_previous_comments", value: removePreviousComments),
1219
1231
  RubyCommand.Argument(name: "base", value: base),
1220
1232
  RubyCommand.Argument(name: "head", value: head),
1221
1233
  RubyCommand.Argument(name: "pr", value: pr)])
@@ -1235,17 +1247,17 @@ func deleteKeychain(name: String? = nil,
1235
1247
  RubyCommand.Argument(name: "keychain_path", value: keychainPath)])
1236
1248
  _ = runner.executeCommand(command)
1237
1249
  }
1238
- func deliver(username: String = deliverfile.username,
1239
- appIdentifier: String? = deliverfile.appIdentifier,
1240
- appVersion: String? = deliverfile.appVersion,
1241
- ipa: String? = deliverfile.ipa,
1242
- pkg: String? = deliverfile.pkg,
1243
- buildNumber: String? = deliverfile.buildNumber,
1244
- platform: String = deliverfile.platform,
1250
+ func deliver(username: Any = deliverfile.username,
1251
+ appIdentifier: Any? = deliverfile.appIdentifier,
1252
+ appVersion: Any? = deliverfile.appVersion,
1253
+ ipa: Any? = deliverfile.ipa,
1254
+ pkg: Any? = deliverfile.pkg,
1255
+ buildNumber: Any? = deliverfile.buildNumber,
1256
+ platform: Any = deliverfile.platform,
1245
1257
  editLive: Bool = deliverfile.editLive,
1246
1258
  useLiveVersion: Bool = deliverfile.useLiveVersion,
1247
- metadataPath: String? = deliverfile.metadataPath,
1248
- screenshotsPath: String? = deliverfile.screenshotsPath,
1259
+ metadataPath: Any? = deliverfile.metadataPath,
1260
+ screenshotsPath: Any? = deliverfile.screenshotsPath,
1249
1261
  skipBinaryUpload: Bool = deliverfile.skipBinaryUpload,
1250
1262
  skipScreenshots: Bool = deliverfile.skipScreenshots,
1251
1263
  skipMetadata: Bool = deliverfile.skipMetadata,
@@ -1255,46 +1267,46 @@ func deliver(username: String = deliverfile.username,
1255
1267
  submitForReview: Bool = deliverfile.submitForReview,
1256
1268
  rejectIfPossible: Bool = deliverfile.rejectIfPossible,
1257
1269
  automaticRelease: Bool = deliverfile.automaticRelease,
1258
- autoReleaseDate: String? = deliverfile.autoReleaseDate,
1270
+ autoReleaseDate: Any? = deliverfile.autoReleaseDate,
1259
1271
  phasedRelease: Bool = deliverfile.phasedRelease,
1260
1272
  resetRatings: Bool = deliverfile.resetRatings,
1261
- priceTier: String? = deliverfile.priceTier,
1262
- appRatingConfigPath: String? = deliverfile.appRatingConfigPath,
1263
- submissionInformation: String? = deliverfile.submissionInformation,
1264
- teamId: String? = deliverfile.teamId,
1265
- teamName: String? = deliverfile.teamName,
1266
- devPortalTeamId: String? = deliverfile.devPortalTeamId,
1267
- devPortalTeamName: String? = deliverfile.devPortalTeamName,
1268
- itcProvider: String? = deliverfile.itcProvider,
1273
+ priceTier: Any? = deliverfile.priceTier,
1274
+ appRatingConfigPath: Any? = deliverfile.appRatingConfigPath,
1275
+ submissionInformation: Any? = deliverfile.submissionInformation,
1276
+ teamId: Any? = deliverfile.teamId,
1277
+ teamName: Any? = deliverfile.teamName,
1278
+ devPortalTeamId: Any? = deliverfile.devPortalTeamId,
1279
+ devPortalTeamName: Any? = deliverfile.devPortalTeamName,
1280
+ itcProvider: Any? = deliverfile.itcProvider,
1269
1281
  runPrecheckBeforeSubmit: Bool = deliverfile.runPrecheckBeforeSubmit,
1270
- precheckDefaultRuleLevel: String = deliverfile.precheckDefaultRuleLevel,
1282
+ precheckDefaultRuleLevel: Any = deliverfile.precheckDefaultRuleLevel,
1271
1283
  individualMetadataItems: [String] = deliverfile.individualMetadataItems,
1272
- appIcon: String? = deliverfile.appIcon,
1273
- appleWatchAppIcon: String? = deliverfile.appleWatchAppIcon,
1274
- copyright: String? = deliverfile.copyright,
1275
- primaryCategory: String? = deliverfile.primaryCategory,
1276
- secondaryCategory: String? = deliverfile.secondaryCategory,
1277
- primaryFirstSubCategory: String? = deliverfile.primaryFirstSubCategory,
1278
- primarySecondSubCategory: String? = deliverfile.primarySecondSubCategory,
1279
- secondaryFirstSubCategory: String? = deliverfile.secondaryFirstSubCategory,
1280
- secondarySecondSubCategory: String? = deliverfile.secondarySecondSubCategory,
1284
+ appIcon: Any? = deliverfile.appIcon,
1285
+ appleWatchAppIcon: Any? = deliverfile.appleWatchAppIcon,
1286
+ copyright: Any? = deliverfile.copyright,
1287
+ primaryCategory: Any? = deliverfile.primaryCategory,
1288
+ secondaryCategory: Any? = deliverfile.secondaryCategory,
1289
+ primaryFirstSubCategory: Any? = deliverfile.primaryFirstSubCategory,
1290
+ primarySecondSubCategory: Any? = deliverfile.primarySecondSubCategory,
1291
+ secondaryFirstSubCategory: Any? = deliverfile.secondaryFirstSubCategory,
1292
+ secondarySecondSubCategory: Any? = deliverfile.secondarySecondSubCategory,
1281
1293
  tradeRepresentativeContactInformation: [String : Any]? = deliverfile.tradeRepresentativeContactInformation,
1282
1294
  appReviewInformation: [String : Any]? = deliverfile.appReviewInformation,
1283
- appReviewAttachmentFile: String? = deliverfile.appReviewAttachmentFile,
1284
- description: String? = deliverfile.description,
1285
- name: String? = deliverfile.name,
1295
+ appReviewAttachmentFile: Any? = deliverfile.appReviewAttachmentFile,
1296
+ description: Any? = deliverfile.description,
1297
+ name: Any? = deliverfile.name,
1286
1298
  subtitle: [String : Any]? = deliverfile.subtitle,
1287
1299
  keywords: [String : Any]? = deliverfile.keywords,
1288
1300
  promotionalText: [String : Any]? = deliverfile.promotionalText,
1289
- releaseNotes: String? = deliverfile.releaseNotes,
1290
- privacyUrl: String? = deliverfile.privacyUrl,
1291
- appleTvPrivacyPolicy: String? = deliverfile.appleTvPrivacyPolicy,
1292
- supportUrl: String? = deliverfile.supportUrl,
1293
- marketingUrl: String? = deliverfile.marketingUrl,
1301
+ releaseNotes: Any? = deliverfile.releaseNotes,
1302
+ privacyUrl: Any? = deliverfile.privacyUrl,
1303
+ appleTvPrivacyPolicy: Any? = deliverfile.appleTvPrivacyPolicy,
1304
+ supportUrl: Any? = deliverfile.supportUrl,
1305
+ marketingUrl: Any? = deliverfile.marketingUrl,
1294
1306
  languages: [String]? = deliverfile.languages,
1295
1307
  ignoreLanguageDirectoryValidation: Bool = deliverfile.ignoreLanguageDirectoryValidation,
1296
1308
  precheckIncludeInAppPurchases: Bool = deliverfile.precheckIncludeInAppPurchases,
1297
- app: String = deliverfile.app) {
1309
+ app: Any = deliverfile.app) {
1298
1310
  let command = RubyCommand(commandID: "", methodName: "deliver", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
1299
1311
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
1300
1312
  RubyCommand.Argument(name: "app_version", value: appVersion),
@@ -1387,13 +1399,14 @@ func download(url: String) {
1387
1399
  }
1388
1400
  func downloadDsyms(username: String,
1389
1401
  appIdentifier: String,
1390
- teamId: String? = nil,
1402
+ teamId: Any? = nil,
1391
1403
  teamName: String? = nil,
1392
1404
  platform: String = "ios",
1393
1405
  version: String? = nil,
1394
1406
  buildNumber: String? = nil,
1395
1407
  minVersion: String? = nil,
1396
- outputDirectory: String? = nil) {
1408
+ outputDirectory: String? = nil,
1409
+ waitForDsymProcessing: Bool = false) {
1397
1410
  let command = RubyCommand(commandID: "", methodName: "download_dsyms", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
1398
1411
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
1399
1412
  RubyCommand.Argument(name: "team_id", value: teamId),
@@ -1402,11 +1415,12 @@ func downloadDsyms(username: String,
1402
1415
  RubyCommand.Argument(name: "version", value: version),
1403
1416
  RubyCommand.Argument(name: "build_number", value: buildNumber),
1404
1417
  RubyCommand.Argument(name: "min_version", value: minVersion),
1405
- RubyCommand.Argument(name: "output_directory", value: outputDirectory)])
1418
+ RubyCommand.Argument(name: "output_directory", value: outputDirectory),
1419
+ RubyCommand.Argument(name: "wait_for_dsym_processing", value: waitForDsymProcessing)])
1406
1420
  _ = runner.executeCommand(command)
1407
1421
  }
1408
1422
  func downloadFromPlayStore(packageName: String,
1409
- metadataPath: String? = nil,
1423
+ metadataPath: String = "./metadata",
1410
1424
  key: String? = nil,
1411
1425
  issuer: String? = nil,
1412
1426
  jsonKey: String? = nil,
@@ -1439,6 +1453,10 @@ func ensureBundleExec() {
1439
1453
  let command = RubyCommand(commandID: "", methodName: "ensure_bundle_exec", className: nil, args: [])
1440
1454
  _ = runner.executeCommand(command)
1441
1455
  }
1456
+ func ensureEnvVars(envVars: [String]) {
1457
+ let command = RubyCommand(commandID: "", methodName: "ensure_env_vars", className: nil, args: [RubyCommand.Argument(name: "env_vars", value: envVars)])
1458
+ _ = runner.executeCommand(command)
1459
+ }
1442
1460
  func ensureGitBranch(branch: String = "master") {
1443
1461
  let command = RubyCommand(commandID: "", methodName: "ensure_git_branch", className: nil, args: [RubyCommand.Argument(name: "branch", value: branch)])
1444
1462
  _ = runner.executeCommand(command)
@@ -1452,7 +1470,7 @@ func ensureGitStatusClean(showUncommittedChanges: Bool = false,
1452
1470
  func ensureNoDebugCode(text: String,
1453
1471
  path: String = ".",
1454
1472
  `extension`: String? = nil,
1455
- extensions: String? = nil,
1473
+ extensions: Any? = nil,
1456
1474
  exclude: String? = nil,
1457
1475
  excludeDirs: [String]? = nil) {
1458
1476
  let command = RubyCommand(commandID: "", methodName: "ensure_no_debug_code", className: nil, args: [RubyCommand.Argument(name: "text", value: text),
@@ -1563,6 +1581,7 @@ func getBuildNumberRepository(useHgRevisionNumber: Bool = false) {
1563
1581
  }
1564
1582
  func getCertificates(development: Bool = false,
1565
1583
  force: Bool = false,
1584
+ generateAppleCerts: Bool = true,
1566
1585
  username: String,
1567
1586
  teamId: String? = nil,
1568
1587
  teamName: String? = nil,
@@ -1570,9 +1589,10 @@ func getCertificates(development: Bool = false,
1570
1589
  outputPath: String = ".",
1571
1590
  keychainPath: String,
1572
1591
  keychainPassword: String? = nil,
1573
- platform: String = "ios") {
1592
+ platform: Any = "ios") {
1574
1593
  let command = RubyCommand(commandID: "", methodName: "get_certificates", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
1575
1594
  RubyCommand.Argument(name: "force", value: force),
1595
+ RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
1576
1596
  RubyCommand.Argument(name: "username", value: username),
1577
1597
  RubyCommand.Argument(name: "team_id", value: teamId),
1578
1598
  RubyCommand.Argument(name: "team_name", value: teamName),
@@ -1628,7 +1648,7 @@ func getProvisioningProfile(adhoc: Bool = false,
1628
1648
  filename: String? = nil,
1629
1649
  skipFetchProfiles: Bool = false,
1630
1650
  skipCertificateVerification: Bool = false,
1631
- platform: String = "ios",
1651
+ platform: Any = "ios",
1632
1652
  readonly: Bool = false,
1633
1653
  templateName: String? = nil) {
1634
1654
  let command = RubyCommand(commandID: "", methodName: "get_provisioning_profile", className: nil, args: [RubyCommand.Argument(name: "adhoc", value: adhoc),
@@ -1666,7 +1686,7 @@ func getPushCertificate(development: Bool = false,
1666
1686
  p12Password: String,
1667
1687
  pemName: String? = nil,
1668
1688
  outputPath: String = ".",
1669
- newProfile: String? = nil) {
1689
+ newProfile: Any? = nil) {
1670
1690
  let command = RubyCommand(commandID: "", methodName: "get_push_certificate", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
1671
1691
  RubyCommand.Argument(name: "website_push", value: websitePush),
1672
1692
  RubyCommand.Argument(name: "generate_p12", value: generateP12),
@@ -1691,7 +1711,7 @@ func getPushCertificate(development: Bool = false,
1691
1711
  RubyCommand.Argument(name: "configuration", value: configuration)])
1692
1712
  return runner.executeCommand(command)
1693
1713
  }
1694
- func gitAdd(path: String? = nil,
1714
+ func gitAdd(path: Any? = nil,
1695
1715
  shellEscape: Bool = true,
1696
1716
  pathspec: String? = nil) {
1697
1717
  let command = RubyCommand(commandID: "", methodName: "git_add", className: nil, args: [RubyCommand.Argument(name: "path", value: path),
@@ -1703,7 +1723,7 @@ func gitAdd(path: String? = nil,
1703
1723
  let command = RubyCommand(commandID: "", methodName: "git_branch", className: nil, args: [])
1704
1724
  return runner.executeCommand(command)
1705
1725
  }
1706
- func gitCommit(path: String,
1726
+ func gitCommit(path: Any,
1707
1727
  message: String,
1708
1728
  skipGitHooks: Bool? = nil,
1709
1729
  allowNothingToCommit: Bool? = nil) {
@@ -1777,8 +1797,8 @@ func gradle(task: String,
1777
1797
  flags: String? = nil,
1778
1798
  projectDir: String = ".",
1779
1799
  gradlePath: String? = nil,
1780
- properties: String? = nil,
1781
- systemProperties: String? = nil,
1800
+ properties: Any? = nil,
1801
+ systemProperties: Any? = nil,
1782
1802
  serial: String = "",
1783
1803
  printCommand: Bool = true,
1784
1804
  printCommandOutput: Bool = true) {
@@ -1795,44 +1815,45 @@ func gradle(task: String,
1795
1815
  RubyCommand.Argument(name: "print_command_output", value: printCommandOutput)])
1796
1816
  _ = runner.executeCommand(command)
1797
1817
  }
1798
- func gym(workspace: String? = gymfile.workspace,
1799
- project: String? = gymfile.project,
1800
- scheme: String? = gymfile.scheme,
1818
+ func gym(workspace: Any? = gymfile.workspace,
1819
+ project: Any? = gymfile.project,
1820
+ scheme: Any? = gymfile.scheme,
1801
1821
  clean: Bool = gymfile.clean,
1802
- outputDirectory: String = gymfile.outputDirectory,
1803
- outputName: String? = gymfile.outputName,
1804
- configuration: String? = gymfile.configuration,
1822
+ outputDirectory: Any = gymfile.outputDirectory,
1823
+ outputName: Any? = gymfile.outputName,
1824
+ configuration: Any? = gymfile.configuration,
1805
1825
  silent: Bool = gymfile.silent,
1806
- codesigningIdentity: String? = gymfile.codesigningIdentity,
1826
+ codesigningIdentity: Any? = gymfile.codesigningIdentity,
1807
1827
  skipPackageIpa: Bool = gymfile.skipPackageIpa,
1808
1828
  includeSymbols: Bool? = gymfile.includeSymbols,
1809
1829
  includeBitcode: Bool? = gymfile.includeBitcode,
1810
- exportMethod: String? = gymfile.exportMethod,
1830
+ exportMethod: Any? = gymfile.exportMethod,
1811
1831
  exportOptions: [String : Any]? = gymfile.exportOptions,
1812
- exportXcargs: String? = gymfile.exportXcargs,
1832
+ exportXcargs: Any? = gymfile.exportXcargs,
1813
1833
  skipBuildArchive: Bool? = gymfile.skipBuildArchive,
1814
1834
  skipArchive: Bool? = gymfile.skipArchive,
1815
- buildPath: String? = gymfile.buildPath,
1816
- archivePath: String? = gymfile.archivePath,
1817
- derivedDataPath: String? = gymfile.derivedDataPath,
1835
+ skipCodesigning: Bool? = gymfile.skipCodesigning,
1836
+ buildPath: Any? = gymfile.buildPath,
1837
+ archivePath: Any? = gymfile.archivePath,
1838
+ derivedDataPath: Any? = gymfile.derivedDataPath,
1818
1839
  resultBundle: Bool = gymfile.resultBundle,
1819
- resultBundlePath: String? = gymfile.resultBundlePath,
1820
- buildlogPath: String = gymfile.buildlogPath,
1821
- sdk: String? = gymfile.sdk,
1822
- toolchain: String? = gymfile.toolchain,
1823
- destination: String? = gymfile.destination,
1824
- exportTeamId: String? = gymfile.exportTeamId,
1825
- xcargs: String? = gymfile.xcargs,
1826
- xcconfig: String? = gymfile.xcconfig,
1827
- suppressXcodeOutput: String? = gymfile.suppressXcodeOutput,
1828
- disableXcpretty: String? = gymfile.disableXcpretty,
1829
- xcprettyTestFormat: String? = gymfile.xcprettyTestFormat,
1830
- xcprettyFormatter: String? = gymfile.xcprettyFormatter,
1831
- xcprettyReportJunit: String? = gymfile.xcprettyReportJunit,
1832
- xcprettyReportHtml: String? = gymfile.xcprettyReportHtml,
1833
- xcprettyReportJson: String? = gymfile.xcprettyReportJson,
1834
- analyzeBuildTime: String? = gymfile.analyzeBuildTime,
1835
- xcprettyUtf: String? = gymfile.xcprettyUtf,
1840
+ resultBundlePath: Any? = gymfile.resultBundlePath,
1841
+ buildlogPath: Any = gymfile.buildlogPath,
1842
+ sdk: Any? = gymfile.sdk,
1843
+ toolchain: Any? = gymfile.toolchain,
1844
+ destination: Any? = gymfile.destination,
1845
+ exportTeamId: Any? = gymfile.exportTeamId,
1846
+ xcargs: Any? = gymfile.xcargs,
1847
+ xcconfig: Any? = gymfile.xcconfig,
1848
+ suppressXcodeOutput: Bool? = gymfile.suppressXcodeOutput,
1849
+ disableXcpretty: Bool? = gymfile.disableXcpretty,
1850
+ xcprettyTestFormat: Bool? = gymfile.xcprettyTestFormat,
1851
+ xcprettyFormatter: Any? = gymfile.xcprettyFormatter,
1852
+ xcprettyReportJunit: Any? = gymfile.xcprettyReportJunit,
1853
+ xcprettyReportHtml: Any? = gymfile.xcprettyReportHtml,
1854
+ xcprettyReportJson: Any? = gymfile.xcprettyReportJson,
1855
+ analyzeBuildTime: Bool? = gymfile.analyzeBuildTime,
1856
+ xcprettyUtf: Bool? = gymfile.xcprettyUtf,
1836
1857
  skipProfileDetection: Bool = gymfile.skipProfileDetection) {
1837
1858
  let command = RubyCommand(commandID: "", methodName: "gym", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
1838
1859
  RubyCommand.Argument(name: "project", value: project),
@@ -1851,6 +1872,7 @@ func gym(workspace: String? = gymfile.workspace,
1851
1872
  RubyCommand.Argument(name: "export_xcargs", value: exportXcargs),
1852
1873
  RubyCommand.Argument(name: "skip_build_archive", value: skipBuildArchive),
1853
1874
  RubyCommand.Argument(name: "skip_archive", value: skipArchive),
1875
+ RubyCommand.Argument(name: "skip_codesigning", value: skipCodesigning),
1854
1876
  RubyCommand.Argument(name: "build_path", value: buildPath),
1855
1877
  RubyCommand.Argument(name: "archive_path", value: archivePath),
1856
1878
  RubyCommand.Argument(name: "derived_data_path", value: derivedDataPath),
@@ -2007,7 +2029,7 @@ func importCertificate(certificatePath: String,
2007
2029
  RubyCommand.Argument(name: "log_output", value: logOutput)])
2008
2030
  _ = runner.executeCommand(command)
2009
2031
  }
2010
- @discardableResult func incrementBuildNumber(buildNumber: String? = nil,
2032
+ @discardableResult func incrementBuildNumber(buildNumber: Any? = nil,
2011
2033
  xcodeproj: String? = nil) -> String {
2012
2034
  let command = RubyCommand(commandID: "", methodName: "increment_build_number", className: nil, args: [RubyCommand.Argument(name: "build_number", value: buildNumber),
2013
2035
  RubyCommand.Argument(name: "xcodeproj", value: xcodeproj)])
@@ -2023,7 +2045,7 @@ func importCertificate(certificatePath: String,
2023
2045
  }
2024
2046
  func installOnDevice(extra: String? = nil,
2025
2047
  deviceId: String? = nil,
2026
- skipWifi: String? = nil,
2048
+ skipWifi: Any? = nil,
2027
2049
  ipa: String? = nil) {
2028
2050
  let command = RubyCommand(commandID: "", methodName: "install_on_device", className: nil, args: [RubyCommand.Argument(name: "extra", value: extra),
2029
2051
  RubyCommand.Argument(name: "device_id", value: deviceId),
@@ -2057,8 +2079,8 @@ func ipa(workspace: String? = nil,
2057
2079
  project: String? = nil,
2058
2080
  configuration: String? = nil,
2059
2081
  scheme: String? = nil,
2060
- clean: String? = nil,
2061
- archive: String? = nil,
2082
+ clean: Any? = nil,
2083
+ archive: Any? = nil,
2062
2084
  destination: String? = nil,
2063
2085
  embed: String? = nil,
2064
2086
  identity: String? = nil,
@@ -2121,7 +2143,7 @@ func jira(url: String,
2121
2143
  version: String? = nil,
2122
2144
  platform: String = "ios",
2123
2145
  initialBuildNumber: Int = 1,
2124
- teamId: String? = nil,
2146
+ teamId: Any? = nil,
2125
2147
  teamName: String? = nil) -> Int {
2126
2148
  let command = RubyCommand(commandID: "", methodName: "latest_testflight_build_number", className: nil, args: [RubyCommand.Argument(name: "live", value: live),
2127
2149
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
@@ -2157,7 +2179,7 @@ func mailgun(mailgunSandboxDomain: String? = nil,
2157
2179
  ciBuildLink: String? = nil,
2158
2180
  templatePath: String? = nil,
2159
2181
  replyTo: String? = nil,
2160
- attachment: String? = nil,
2182
+ attachment: Any? = nil,
2161
2183
  customPlaceholders: [String : Any] = [:]) {
2162
2184
  let command = RubyCommand(commandID: "", methodName: "mailgun", className: nil, args: [RubyCommand.Argument(name: "mailgun_sandbox_domain", value: mailgunSandboxDomain),
2163
2185
  RubyCommand.Argument(name: "mailgun_sandbox_postmaster", value: mailgunSandboxPostmaster),
@@ -2183,34 +2205,39 @@ func makeChangelogFromJenkins(fallbackChangelog: String = "",
2183
2205
  RubyCommand.Argument(name: "include_commit_body", value: includeCommitBody)])
2184
2206
  _ = runner.executeCommand(command)
2185
2207
  }
2186
- func match(type: String = matchfile.type,
2208
+ func match(type: Any = matchfile.type,
2187
2209
  readonly: Bool = matchfile.readonly,
2210
+ generateAppleCerts: Bool = matchfile.generateAppleCerts,
2211
+ skipProvisioningProfiles: Bool = matchfile.skipProvisioningProfiles,
2188
2212
  appIdentifier: [String] = matchfile.appIdentifier,
2189
- username: String = matchfile.username,
2190
- teamId: String? = matchfile.teamId,
2191
- teamName: String? = matchfile.teamName,
2192
- storageMode: String = matchfile.storageMode,
2193
- gitUrl: String = matchfile.gitUrl,
2194
- gitBranch: String = matchfile.gitBranch,
2195
- gitFullName: String? = matchfile.gitFullName,
2196
- gitUserEmail: String? = matchfile.gitUserEmail,
2213
+ username: Any = matchfile.username,
2214
+ teamId: Any? = matchfile.teamId,
2215
+ teamName: Any? = matchfile.teamName,
2216
+ storageMode: Any = matchfile.storageMode,
2217
+ gitUrl: Any = matchfile.gitUrl,
2218
+ gitBranch: Any = matchfile.gitBranch,
2219
+ gitFullName: Any? = matchfile.gitFullName,
2220
+ gitUserEmail: Any? = matchfile.gitUserEmail,
2197
2221
  shallowClone: Bool = matchfile.shallowClone,
2198
2222
  cloneBranchDirectly: Bool = matchfile.cloneBranchDirectly,
2199
- googleCloudBucketName: String? = matchfile.googleCloudBucketName,
2200
- googleCloudKeysFile: String? = matchfile.googleCloudKeysFile,
2201
- googleCloudProjectId: String? = matchfile.googleCloudProjectId,
2202
- keychainName: String = matchfile.keychainName,
2203
- keychainPassword: String? = matchfile.keychainPassword,
2223
+ gitBasicAuthorization: Any? = matchfile.gitBasicAuthorization,
2224
+ googleCloudBucketName: Any? = matchfile.googleCloudBucketName,
2225
+ googleCloudKeysFile: Any? = matchfile.googleCloudKeysFile,
2226
+ googleCloudProjectId: Any? = matchfile.googleCloudProjectId,
2227
+ keychainName: Any = matchfile.keychainName,
2228
+ keychainPassword: Any? = matchfile.keychainPassword,
2204
2229
  force: Bool = matchfile.force,
2205
2230
  forceForNewDevices: Bool = matchfile.forceForNewDevices,
2206
2231
  skipConfirmation: Bool = matchfile.skipConfirmation,
2207
2232
  skipDocs: Bool = matchfile.skipDocs,
2208
- platform: String = matchfile.platform,
2209
- templateName: String? = matchfile.templateName,
2210
- outputPath: String? = matchfile.outputPath,
2233
+ platform: Any = matchfile.platform,
2234
+ templateName: Any? = matchfile.templateName,
2235
+ outputPath: Any? = matchfile.outputPath,
2211
2236
  verbose: Bool = matchfile.verbose) {
2212
2237
  let command = RubyCommand(commandID: "", methodName: "match", className: nil, args: [RubyCommand.Argument(name: "type", value: type),
2213
2238
  RubyCommand.Argument(name: "readonly", value: readonly),
2239
+ RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
2240
+ RubyCommand.Argument(name: "skip_provisioning_profiles", value: skipProvisioningProfiles),
2214
2241
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
2215
2242
  RubyCommand.Argument(name: "username", value: username),
2216
2243
  RubyCommand.Argument(name: "team_id", value: teamId),
@@ -2222,6 +2249,7 @@ func match(type: String = matchfile.type,
2222
2249
  RubyCommand.Argument(name: "git_user_email", value: gitUserEmail),
2223
2250
  RubyCommand.Argument(name: "shallow_clone", value: shallowClone),
2224
2251
  RubyCommand.Argument(name: "clone_branch_directly", value: cloneBranchDirectly),
2252
+ RubyCommand.Argument(name: "git_basic_authorization", value: gitBasicAuthorization),
2225
2253
  RubyCommand.Argument(name: "google_cloud_bucket_name", value: googleCloudBucketName),
2226
2254
  RubyCommand.Argument(name: "google_cloud_keys_file", value: googleCloudKeysFile),
2227
2255
  RubyCommand.Argument(name: "google_cloud_project_id", value: googleCloudProjectId),
@@ -2313,25 +2341,25 @@ func notify() {
2313
2341
  let command = RubyCommand(commandID: "", methodName: "notify", className: nil, args: [])
2314
2342
  _ = runner.executeCommand(command)
2315
2343
  }
2316
- @discardableResult func numberOfCommits(all: String? = nil) -> Int {
2344
+ @discardableResult func numberOfCommits(all: Any? = nil) -> Int {
2317
2345
  let command = RubyCommand(commandID: "", methodName: "number_of_commits", className: nil, args: [RubyCommand.Argument(name: "all", value: all)])
2318
2346
  return parseInt(fromString: runner.executeCommand(command))
2319
2347
  }
2320
2348
  func oclint(oclintPath: String = "oclint",
2321
2349
  compileCommands: String = "compile_commands.json",
2322
- selectReqex: String? = nil,
2323
- selectRegex: String? = nil,
2324
- excludeRegex: String? = nil,
2350
+ selectReqex: Any? = nil,
2351
+ selectRegex: Any? = nil,
2352
+ excludeRegex: Any? = nil,
2325
2353
  reportType: String = "html",
2326
2354
  reportPath: String? = nil,
2327
2355
  listEnabledRules: Bool = false,
2328
2356
  rc: String? = nil,
2329
- thresholds: String? = nil,
2330
- enableRules: String? = nil,
2331
- disableRules: String? = nil,
2332
- maxPriority1: String? = nil,
2333
- maxPriority2: String? = nil,
2334
- maxPriority3: String? = nil,
2357
+ thresholds: Any? = nil,
2358
+ enableRules: Any? = nil,
2359
+ disableRules: Any? = nil,
2360
+ maxPriority1: Any? = nil,
2361
+ maxPriority2: Any? = nil,
2362
+ maxPriority3: Any? = nil,
2335
2363
  enableClangStaticAnalyzer: Bool = false,
2336
2364
  enableGlobalAnalysis: Bool = false,
2337
2365
  allowDuplicatedViolations: Bool = false,
@@ -2357,14 +2385,16 @@ func oclint(oclintPath: String = "oclint",
2357
2385
  RubyCommand.Argument(name: "extra_arg", value: extraArg)])
2358
2386
  _ = runner.executeCommand(command)
2359
2387
  }
2360
- func onesignal(authToken: String,
2361
- appName: String,
2388
+ func onesignal(appId: String? = nil,
2389
+ authToken: String,
2390
+ appName: String? = nil,
2362
2391
  androidToken: String? = nil,
2363
2392
  androidGcmSenderId: String? = nil,
2364
2393
  apnsP12: String? = nil,
2365
2394
  apnsP12Password: String? = nil,
2366
2395
  apnsEnv: String = "production") {
2367
- let command = RubyCommand(commandID: "", methodName: "onesignal", className: nil, args: [RubyCommand.Argument(name: "auth_token", value: authToken),
2396
+ let command = RubyCommand(commandID: "", methodName: "onesignal", className: nil, args: [RubyCommand.Argument(name: "app_id", value: appId),
2397
+ RubyCommand.Argument(name: "auth_token", value: authToken),
2368
2398
  RubyCommand.Argument(name: "app_name", value: appName),
2369
2399
  RubyCommand.Argument(name: "android_token", value: androidToken),
2370
2400
  RubyCommand.Argument(name: "android_gcm_sender_id", value: androidGcmSenderId),
@@ -2394,7 +2424,7 @@ func pem(development: Bool = false,
2394
2424
  p12Password: String,
2395
2425
  pemName: String? = nil,
2396
2426
  outputPath: String = ".",
2397
- newProfile: String? = nil) {
2427
+ newProfile: Any? = nil) {
2398
2428
  let command = RubyCommand(commandID: "", methodName: "pem", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
2399
2429
  RubyCommand.Argument(name: "website_push", value: websitePush),
2400
2430
  RubyCommand.Argument(name: "generate_p12", value: generateP12),
@@ -2434,7 +2464,7 @@ func pilot(username: String,
2434
2464
  email: String? = nil,
2435
2465
  testersFilePath: String = "./testers.csv",
2436
2466
  groups: [String]? = nil,
2437
- teamId: String? = nil,
2467
+ teamId: Any? = nil,
2438
2468
  teamName: String? = nil,
2439
2469
  devPortalTeamId: String? = nil,
2440
2470
  itcProvider: String? = nil,
@@ -2530,7 +2560,8 @@ func podPush(useBundleExec: Bool = false,
2530
2560
  swiftVersion: String? = nil,
2531
2561
  skipImportValidation: Bool? = nil,
2532
2562
  skipTests: Bool? = nil,
2533
- verbose: Bool = false) {
2563
+ verbose: Bool = false,
2564
+ useModularHeaders: Bool? = nil) {
2534
2565
  let command = RubyCommand(commandID: "", methodName: "pod_push", className: nil, args: [RubyCommand.Argument(name: "use_bundle_exec", value: useBundleExec),
2535
2566
  RubyCommand.Argument(name: "path", value: path),
2536
2567
  RubyCommand.Argument(name: "repo", value: repo),
@@ -2540,7 +2571,8 @@ func podPush(useBundleExec: Bool = false,
2540
2571
  RubyCommand.Argument(name: "swift_version", value: swiftVersion),
2541
2572
  RubyCommand.Argument(name: "skip_import_validation", value: skipImportValidation),
2542
2573
  RubyCommand.Argument(name: "skip_tests", value: skipTests),
2543
- RubyCommand.Argument(name: "verbose", value: verbose)])
2574
+ RubyCommand.Argument(name: "verbose", value: verbose),
2575
+ RubyCommand.Argument(name: "use_modular_headers", value: useModularHeaders)])
2544
2576
  _ = runner.executeCommand(command)
2545
2577
  }
2546
2578
  func podioItem(clientId: String,
@@ -2559,13 +2591,13 @@ func podioItem(clientId: String,
2559
2591
  RubyCommand.Argument(name: "other_fields", value: otherFields)])
2560
2592
  _ = runner.executeCommand(command)
2561
2593
  }
2562
- func precheck(appIdentifier: String = precheckfile.appIdentifier,
2563
- username: String = precheckfile.username,
2564
- teamId: String? = precheckfile.teamId,
2565
- teamName: String? = precheckfile.teamName,
2566
- defaultRuleLevel: String = precheckfile.defaultRuleLevel,
2594
+ func precheck(appIdentifier: Any = precheckfile.appIdentifier,
2595
+ username: Any = precheckfile.username,
2596
+ teamId: Any? = precheckfile.teamId,
2597
+ teamName: Any? = precheckfile.teamName,
2598
+ defaultRuleLevel: Any = precheckfile.defaultRuleLevel,
2567
2599
  includeInAppPurchases: Bool = precheckfile.includeInAppPurchases,
2568
- freeStuffInIap: String? = precheckfile.freeStuffInIap) {
2600
+ freeStuffInIap: Any? = precheckfile.freeStuffInIap) {
2569
2601
  let command = RubyCommand(commandID: "", methodName: "precheck", className: nil, args: [RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
2570
2602
  RubyCommand.Argument(name: "username", value: username),
2571
2603
  RubyCommand.Argument(name: "team_id", value: teamId),
@@ -2595,7 +2627,7 @@ func produce(username: String,
2595
2627
  skipDevcenter: Bool = false,
2596
2628
  teamId: String? = nil,
2597
2629
  teamName: String? = nil,
2598
- itcTeamId: String? = nil,
2630
+ itcTeamId: Any? = nil,
2599
2631
  itcTeamName: String? = nil) {
2600
2632
  let command = RubyCommand(commandID: "", methodName: "produce", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
2601
2633
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
@@ -2693,11 +2725,11 @@ func registerDevices(devices: [String : Any]? = nil,
2693
2725
  RubyCommand.Argument(name: "platform", value: platform)])
2694
2726
  _ = runner.executeCommand(command)
2695
2727
  }
2696
- func resetGitRepo(files: String? = nil,
2728
+ func resetGitRepo(files: Any? = nil,
2697
2729
  force: Bool = false,
2698
2730
  skipClean: Bool = false,
2699
2731
  disregardGitignore: Bool = true,
2700
- exclude: String? = nil) {
2732
+ exclude: Any? = nil) {
2701
2733
  let command = RubyCommand(commandID: "", methodName: "reset_git_repo", className: nil, args: [RubyCommand.Argument(name: "files", value: files),
2702
2734
  RubyCommand.Argument(name: "force", value: force),
2703
2735
  RubyCommand.Argument(name: "skip_clean", value: skipClean),
@@ -2714,13 +2746,13 @@ func resetSimulatorContents(ios: [String]? = nil,
2714
2746
  func resign(ipa: String,
2715
2747
  signingIdentity: String,
2716
2748
  entitlements: String? = nil,
2717
- provisioningProfile: String,
2749
+ provisioningProfile: Any,
2718
2750
  version: String? = nil,
2719
2751
  displayName: String? = nil,
2720
2752
  shortVersion: String? = nil,
2721
2753
  bundleVersion: String? = nil,
2722
2754
  bundleId: String? = nil,
2723
- useAppEntitlements: String? = nil,
2755
+ useAppEntitlements: Any? = nil,
2724
2756
  keychainPath: String? = nil) {
2725
2757
  let command = RubyCommand(commandID: "", methodName: "resign", className: nil, args: [RubyCommand.Argument(name: "ipa", value: ipa),
2726
2758
  RubyCommand.Argument(name: "signing_identity", value: signingIdentity),
@@ -2774,10 +2806,10 @@ func runTests(workspace: String? = nil,
2774
2806
  prelaunchSimulator: Bool? = nil,
2775
2807
  reinstallApp: Bool = false,
2776
2808
  appIdentifier: String? = nil,
2777
- onlyTesting: String? = nil,
2778
- skipTesting: String? = nil,
2809
+ onlyTesting: Any? = nil,
2810
+ skipTesting: Any? = nil,
2779
2811
  xctestrun: String? = nil,
2780
- toolchain: String? = nil,
2812
+ toolchain: Any? = nil,
2781
2813
  clean: Bool = false,
2782
2814
  codeCoverage: Bool? = nil,
2783
2815
  addressSanitizer: Bool? = nil,
@@ -2789,7 +2821,7 @@ func runTests(workspace: String? = nil,
2789
2821
  outputFiles: String? = nil,
2790
2822
  buildlogPath: String = "~/Library/Logs/scan",
2791
2823
  includeSimulatorLogs: Bool = false,
2792
- suppressXcodeOutput: String? = nil,
2824
+ suppressXcodeOutput: Bool? = nil,
2793
2825
  formatter: String? = nil,
2794
2826
  xcprettyArgs: String? = nil,
2795
2827
  derivedDataPath: String? = nil,
@@ -2813,7 +2845,7 @@ func runTests(workspace: String? = nil,
2813
2845
  slackIconUrl: String = "https://s3-eu-west-1.amazonaws.com/fastlane.tools/fastlane.png",
2814
2846
  skipSlack: Bool = false,
2815
2847
  slackOnlyOnFailure: Bool = false,
2816
- destination: String? = nil,
2848
+ destination: Any? = nil,
2817
2849
  customReportFileName: String? = nil,
2818
2850
  xcodebuildCommand: String = "env NSUnbufferedIO=YES xcodebuild",
2819
2851
  failBuild: Bool = true) {
@@ -2907,42 +2939,42 @@ func s3(ipa: String? = nil,
2907
2939
  RubyCommand.Argument(name: "acl", value: acl)])
2908
2940
  _ = runner.executeCommand(command)
2909
2941
  }
2910
- func say(text: String,
2942
+ func say(text: Any,
2911
2943
  mute: Bool = false) {
2912
2944
  let command = RubyCommand(commandID: "", methodName: "say", className: nil, args: [RubyCommand.Argument(name: "text", value: text),
2913
2945
  RubyCommand.Argument(name: "mute", value: mute)])
2914
2946
  _ = runner.executeCommand(command)
2915
2947
  }
2916
- func scan(workspace: String? = scanfile.workspace,
2917
- project: String? = scanfile.project,
2918
- scheme: String? = scanfile.scheme,
2919
- device: String? = scanfile.device,
2948
+ func scan(workspace: Any? = scanfile.workspace,
2949
+ project: Any? = scanfile.project,
2950
+ scheme: Any? = scanfile.scheme,
2951
+ device: Any? = scanfile.device,
2920
2952
  devices: [String]? = scanfile.devices,
2921
2953
  skipDetectDevices: Bool = scanfile.skipDetectDevices,
2922
2954
  forceQuitSimulator: Bool = scanfile.forceQuitSimulator,
2923
2955
  resetSimulator: Bool = scanfile.resetSimulator,
2924
2956
  prelaunchSimulator: Bool? = scanfile.prelaunchSimulator,
2925
2957
  reinstallApp: Bool = scanfile.reinstallApp,
2926
- appIdentifier: String? = scanfile.appIdentifier,
2927
- onlyTesting: String? = scanfile.onlyTesting,
2928
- skipTesting: String? = scanfile.skipTesting,
2929
- xctestrun: String? = scanfile.xctestrun,
2930
- toolchain: String? = scanfile.toolchain,
2958
+ appIdentifier: Any? = scanfile.appIdentifier,
2959
+ onlyTesting: Any? = scanfile.onlyTesting,
2960
+ skipTesting: Any? = scanfile.skipTesting,
2961
+ xctestrun: Any? = scanfile.xctestrun,
2962
+ toolchain: Any? = scanfile.toolchain,
2931
2963
  clean: Bool = scanfile.clean,
2932
2964
  codeCoverage: Bool? = scanfile.codeCoverage,
2933
2965
  addressSanitizer: Bool? = scanfile.addressSanitizer,
2934
2966
  threadSanitizer: Bool? = scanfile.threadSanitizer,
2935
2967
  openReport: Bool = scanfile.openReport,
2936
- outputDirectory: String = scanfile.outputDirectory,
2937
- outputStyle: String? = scanfile.outputStyle,
2938
- outputTypes: String = scanfile.outputTypes,
2939
- outputFiles: String? = scanfile.outputFiles,
2940
- buildlogPath: String = scanfile.buildlogPath,
2968
+ outputDirectory: Any = scanfile.outputDirectory,
2969
+ outputStyle: Any? = scanfile.outputStyle,
2970
+ outputTypes: Any = scanfile.outputTypes,
2971
+ outputFiles: Any? = scanfile.outputFiles,
2972
+ buildlogPath: Any = scanfile.buildlogPath,
2941
2973
  includeSimulatorLogs: Bool = scanfile.includeSimulatorLogs,
2942
- suppressXcodeOutput: String? = scanfile.suppressXcodeOutput,
2943
- formatter: String? = scanfile.formatter,
2944
- xcprettyArgs: String? = scanfile.xcprettyArgs,
2945
- derivedDataPath: String? = scanfile.derivedDataPath,
2974
+ suppressXcodeOutput: Bool? = scanfile.suppressXcodeOutput,
2975
+ formatter: Any? = scanfile.formatter,
2976
+ xcprettyArgs: Any? = scanfile.xcprettyArgs,
2977
+ derivedDataPath: Any? = scanfile.derivedDataPath,
2946
2978
  shouldZipBuildProducts: Bool = scanfile.shouldZipBuildProducts,
2947
2979
  resultBundle: Bool = scanfile.resultBundle,
2948
2980
  useClangReportName: Bool = scanfile.useClangReportName,
@@ -2951,21 +2983,21 @@ func scan(workspace: String? = scanfile.workspace,
2951
2983
  skipBuild: Bool = scanfile.skipBuild,
2952
2984
  testWithoutBuilding: Bool? = scanfile.testWithoutBuilding,
2953
2985
  buildForTesting: Bool? = scanfile.buildForTesting,
2954
- sdk: String? = scanfile.sdk,
2955
- configuration: String? = scanfile.configuration,
2956
- xcargs: String? = scanfile.xcargs,
2957
- xcconfig: String? = scanfile.xcconfig,
2958
- slackUrl: String? = scanfile.slackUrl,
2959
- slackChannel: String? = scanfile.slackChannel,
2960
- slackMessage: String? = scanfile.slackMessage,
2986
+ sdk: Any? = scanfile.sdk,
2987
+ configuration: Any? = scanfile.configuration,
2988
+ xcargs: Any? = scanfile.xcargs,
2989
+ xcconfig: Any? = scanfile.xcconfig,
2990
+ slackUrl: Any? = scanfile.slackUrl,
2991
+ slackChannel: Any? = scanfile.slackChannel,
2992
+ slackMessage: Any? = scanfile.slackMessage,
2961
2993
  slackUseWebhookConfiguredUsernameAndIcon: Bool = scanfile.slackUseWebhookConfiguredUsernameAndIcon,
2962
- slackUsername: String = scanfile.slackUsername,
2963
- slackIconUrl: String = scanfile.slackIconUrl,
2994
+ slackUsername: Any = scanfile.slackUsername,
2995
+ slackIconUrl: Any = scanfile.slackIconUrl,
2964
2996
  skipSlack: Bool = scanfile.skipSlack,
2965
2997
  slackOnlyOnFailure: Bool = scanfile.slackOnlyOnFailure,
2966
- destination: String? = scanfile.destination,
2967
- customReportFileName: String? = scanfile.customReportFileName,
2968
- xcodebuildCommand: String = scanfile.xcodebuildCommand,
2998
+ destination: Any? = scanfile.destination,
2999
+ customReportFileName: Any? = scanfile.customReportFileName,
3000
+ xcodebuildCommand: Any = scanfile.xcodebuildCommand,
2969
3001
  failBuild: Bool = scanfile.failBuild) {
2970
3002
  let command = RubyCommand(commandID: "", methodName: "scan", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
2971
3003
  RubyCommand.Argument(name: "project", value: project),
@@ -3037,23 +3069,23 @@ func scp(username: String,
3037
3069
  RubyCommand.Argument(name: "download", value: download)])
3038
3070
  _ = runner.executeCommand(command)
3039
3071
  }
3040
- func screengrab(androidHome: String? = screengrabfile.androidHome,
3041
- buildToolsVersion: String? = screengrabfile.buildToolsVersion,
3072
+ func screengrab(androidHome: Any? = screengrabfile.androidHome,
3073
+ buildToolsVersion: Any? = screengrabfile.buildToolsVersion,
3042
3074
  locales: [String] = screengrabfile.locales,
3043
3075
  clearPreviousScreenshots: Bool = screengrabfile.clearPreviousScreenshots,
3044
- outputDirectory: String = screengrabfile.outputDirectory,
3076
+ outputDirectory: Any = screengrabfile.outputDirectory,
3045
3077
  skipOpenSummary: Bool = screengrabfile.skipOpenSummary,
3046
- appPackageName: String = screengrabfile.appPackageName,
3047
- testsPackageName: String? = screengrabfile.testsPackageName,
3078
+ appPackageName: Any = screengrabfile.appPackageName,
3079
+ testsPackageName: Any? = screengrabfile.testsPackageName,
3048
3080
  useTestsInPackages: [String]? = screengrabfile.useTestsInPackages,
3049
3081
  useTestsInClasses: [String]? = screengrabfile.useTestsInClasses,
3050
3082
  launchArguments: [String]? = screengrabfile.launchArguments,
3051
- testInstrumentationRunner: String = screengrabfile.testInstrumentationRunner,
3052
- endingLocale: String = screengrabfile.endingLocale,
3053
- appApkPath: String? = screengrabfile.appApkPath,
3054
- testsApkPath: String? = screengrabfile.testsApkPath,
3055
- specificDevice: String? = screengrabfile.specificDevice,
3056
- deviceType: String = screengrabfile.deviceType,
3083
+ testInstrumentationRunner: Any = screengrabfile.testInstrumentationRunner,
3084
+ endingLocale: Any = screengrabfile.endingLocale,
3085
+ appApkPath: Any? = screengrabfile.appApkPath,
3086
+ testsApkPath: Any? = screengrabfile.testsApkPath,
3087
+ specificDevice: Any? = screengrabfile.specificDevice,
3088
+ deviceType: Any = screengrabfile.deviceType,
3057
3089
  exitOnTestFailure: Bool = screengrabfile.exitOnTestFailure,
3058
3090
  reinstallApp: Bool = screengrabfile.reinstallApp) {
3059
3091
  let command = RubyCommand(commandID: "", methodName: "screengrab", className: nil, args: [RubyCommand.Argument(name: "android_home", value: androidHome),
@@ -3087,7 +3119,7 @@ func setChangelog(appIdentifier: String,
3087
3119
  username: String,
3088
3120
  version: String? = nil,
3089
3121
  changelog: String? = nil,
3090
- teamId: String? = nil,
3122
+ teamId: Any? = nil,
3091
3123
  teamName: String? = nil,
3092
3124
  platform: String = "ios") {
3093
3125
  let command = RubyCommand(commandID: "", methodName: "set_changelog", className: nil, args: [RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
@@ -3123,7 +3155,7 @@ func setChangelog(appIdentifier: String,
3123
3155
  }
3124
3156
  func setInfoPlistValue(key: String,
3125
3157
  subkey: String? = nil,
3126
- value: String,
3158
+ value: Any,
3127
3159
  path: String,
3128
3160
  outputFileName: String? = nil) {
3129
3161
  let command = RubyCommand(commandID: "", methodName: "set_info_plist_value", className: nil, args: [RubyCommand.Argument(name: "key", value: key),
@@ -3155,7 +3187,7 @@ func setupCircleCi(force: Bool = false) {
3155
3187
  }
3156
3188
  func setupJenkins(force: Bool = false,
3157
3189
  unlockKeychain: Bool = true,
3158
- addKeychainToSearchList: String = "replace",
3190
+ addKeychainToSearchList: Any = "replace",
3159
3191
  setDefaultKeychain: Bool = true,
3160
3192
  keychainPath: String? = nil,
3161
3193
  keychainPassword: String,
@@ -3183,7 +3215,7 @@ func setupTravis(force: Bool = false) {
3183
3215
  }
3184
3216
  @discardableResult func sh(command: String,
3185
3217
  log: Bool = true,
3186
- errorCallback: String? = nil) -> String {
3218
+ errorCallback: Any? = nil) -> String {
3187
3219
  let command = RubyCommand(commandID: "", methodName: "sh", className: nil, args: [RubyCommand.Argument(name: "command", value: command),
3188
3220
  RubyCommand.Argument(name: "log", value: log),
3189
3221
  RubyCommand.Argument(name: "error_callback", value: errorCallback)])
@@ -3206,7 +3238,7 @@ func sigh(adhoc: Bool = false,
3206
3238
  filename: String? = nil,
3207
3239
  skipFetchProfiles: Bool = false,
3208
3240
  skipCertificateVerification: Bool = false,
3209
- platform: String = "ios",
3241
+ platform: Any = "ios",
3210
3242
  readonly: Bool = false,
3211
3243
  templateName: String? = nil) {
3212
3244
  let command = RubyCommand(commandID: "", methodName: "sigh", className: nil, args: [RubyCommand.Argument(name: "adhoc", value: adhoc),
@@ -3297,16 +3329,16 @@ func slather(buildDirectory: String? = nil,
3297
3329
  simpleOutput: Bool? = nil,
3298
3330
  gutterJson: Bool? = nil,
3299
3331
  coberturaXml: Bool? = nil,
3300
- llvmCov: String? = nil,
3332
+ llvmCov: Any? = nil,
3301
3333
  html: Bool? = nil,
3302
3334
  show: Bool = false,
3303
3335
  sourceDirectory: String? = nil,
3304
3336
  outputDirectory: String? = nil,
3305
- ignore: String? = nil,
3337
+ ignore: Any? = nil,
3306
3338
  verbose: Bool? = nil,
3307
3339
  useBundleExec: Bool = false,
3308
3340
  binaryBasename: Bool = false,
3309
- binaryFile: String? = nil,
3341
+ binaryFile: [String]? = nil,
3310
3342
  arch: String? = nil,
3311
3343
  sourceFiles: Bool = false,
3312
3344
  decimals: Bool = false) {
@@ -3341,38 +3373,39 @@ func slather(buildDirectory: String? = nil,
3341
3373
  RubyCommand.Argument(name: "decimals", value: decimals)])
3342
3374
  _ = runner.executeCommand(command)
3343
3375
  }
3344
- func snapshot(workspace: String? = snapshotfile.workspace,
3345
- project: String? = snapshotfile.project,
3346
- xcargs: String? = snapshotfile.xcargs,
3347
- xcconfig: String? = snapshotfile.xcconfig,
3376
+ func snapshot(workspace: Any? = snapshotfile.workspace,
3377
+ project: Any? = snapshotfile.project,
3378
+ xcargs: Any? = snapshotfile.xcargs,
3379
+ xcconfig: Any? = snapshotfile.xcconfig,
3348
3380
  devices: [String]? = snapshotfile.devices,
3349
3381
  languages: [String] = snapshotfile.languages,
3350
3382
  launchArguments: [String] = snapshotfile.launchArguments,
3351
- outputDirectory: String = snapshotfile.outputDirectory,
3383
+ outputDirectory: Any = snapshotfile.outputDirectory,
3352
3384
  outputSimulatorLogs: Bool = snapshotfile.outputSimulatorLogs,
3353
- iosVersion: String? = snapshotfile.iosVersion,
3385
+ iosVersion: Any? = snapshotfile.iosVersion,
3354
3386
  skipOpenSummary: Bool = snapshotfile.skipOpenSummary,
3355
3387
  skipHelperVersionCheck: Bool = snapshotfile.skipHelperVersionCheck,
3356
3388
  clearPreviousScreenshots: Bool = snapshotfile.clearPreviousScreenshots,
3357
3389
  reinstallApp: Bool = snapshotfile.reinstallApp,
3358
3390
  eraseSimulator: Bool = snapshotfile.eraseSimulator,
3359
3391
  localizeSimulator: Bool = snapshotfile.localizeSimulator,
3360
- appIdentifier: String? = snapshotfile.appIdentifier,
3392
+ darkMode: Bool? = snapshotfile.darkMode,
3393
+ appIdentifier: Any? = snapshotfile.appIdentifier,
3361
3394
  addPhotos: [String]? = snapshotfile.addPhotos,
3362
3395
  addVideos: [String]? = snapshotfile.addVideos,
3363
- buildlogPath: String = snapshotfile.buildlogPath,
3396
+ buildlogPath: Any = snapshotfile.buildlogPath,
3364
3397
  clean: Bool = snapshotfile.clean,
3365
3398
  testWithoutBuilding: Bool? = snapshotfile.testWithoutBuilding,
3366
- configuration: String? = snapshotfile.configuration,
3367
- xcprettyArgs: String? = snapshotfile.xcprettyArgs,
3368
- sdk: String? = snapshotfile.sdk,
3369
- scheme: String? = snapshotfile.scheme,
3399
+ configuration: Any? = snapshotfile.configuration,
3400
+ xcprettyArgs: Any? = snapshotfile.xcprettyArgs,
3401
+ sdk: Any? = snapshotfile.sdk,
3402
+ scheme: Any? = snapshotfile.scheme,
3370
3403
  numberOfRetries: Int = snapshotfile.numberOfRetries,
3371
3404
  stopAfterFirstError: Bool = snapshotfile.stopAfterFirstError,
3372
- derivedDataPath: String? = snapshotfile.derivedDataPath,
3405
+ derivedDataPath: Any? = snapshotfile.derivedDataPath,
3373
3406
  resultBundle: Bool = snapshotfile.resultBundle,
3374
- testTargetName: String? = snapshotfile.testTargetName,
3375
- namespaceLogFiles: String? = snapshotfile.namespaceLogFiles,
3407
+ testTargetName: Any? = snapshotfile.testTargetName,
3408
+ namespaceLogFiles: Any? = snapshotfile.namespaceLogFiles,
3376
3409
  concurrentSimulators: Bool = snapshotfile.concurrentSimulators) {
3377
3410
  let command = RubyCommand(commandID: "", methodName: "snapshot", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
3378
3411
  RubyCommand.Argument(name: "project", value: project),
@@ -3390,6 +3423,7 @@ func snapshot(workspace: String? = snapshotfile.workspace,
3390
3423
  RubyCommand.Argument(name: "reinstall_app", value: reinstallApp),
3391
3424
  RubyCommand.Argument(name: "erase_simulator", value: eraseSimulator),
3392
3425
  RubyCommand.Argument(name: "localize_simulator", value: localizeSimulator),
3426
+ RubyCommand.Argument(name: "dark_mode", value: darkMode),
3393
3427
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
3394
3428
  RubyCommand.Argument(name: "add_photos", value: addPhotos),
3395
3429
  RubyCommand.Argument(name: "add_videos", value: addVideos),
@@ -3419,7 +3453,10 @@ func sonar(projectConfigurationPath: String? = nil,
3419
3453
  sonarRunnerArgs: String? = nil,
3420
3454
  sonarLogin: String? = nil,
3421
3455
  sonarUrl: String? = nil,
3422
- branchName: String? = nil) {
3456
+ branchName: String? = nil,
3457
+ pullRequestBranch: String? = nil,
3458
+ pullRequestBase: String? = nil,
3459
+ pullRequestKey: String? = nil) {
3423
3460
  let command = RubyCommand(commandID: "", methodName: "sonar", className: nil, args: [RubyCommand.Argument(name: "project_configuration_path", value: projectConfigurationPath),
3424
3461
  RubyCommand.Argument(name: "project_key", value: projectKey),
3425
3462
  RubyCommand.Argument(name: "project_name", value: projectName),
@@ -3430,7 +3467,10 @@ func sonar(projectConfigurationPath: String? = nil,
3430
3467
  RubyCommand.Argument(name: "sonar_runner_args", value: sonarRunnerArgs),
3431
3468
  RubyCommand.Argument(name: "sonar_login", value: sonarLogin),
3432
3469
  RubyCommand.Argument(name: "sonar_url", value: sonarUrl),
3433
- RubyCommand.Argument(name: "branch_name", value: branchName)])
3470
+ RubyCommand.Argument(name: "branch_name", value: branchName),
3471
+ RubyCommand.Argument(name: "pull_request_branch", value: pullRequestBranch),
3472
+ RubyCommand.Argument(name: "pull_request_base", value: pullRequestBase),
3473
+ RubyCommand.Argument(name: "pull_request_key", value: pullRequestKey)])
3434
3474
  _ = runner.executeCommand(command)
3435
3475
  }
3436
3476
  func spaceshipLogs(latest: Bool = true,
@@ -3498,7 +3538,7 @@ func ssh(username: String,
3498
3538
  func supply(packageName: String,
3499
3539
  track: String = "production",
3500
3540
  rollout: String? = nil,
3501
- metadataPath: String? = nil,
3541
+ metadataPath: String = "./metadata",
3502
3542
  key: String? = nil,
3503
3543
  issuer: String? = nil,
3504
3544
  jsonKey: String? = nil,
@@ -3557,12 +3597,12 @@ func supply(packageName: String,
3557
3597
  RubyCommand.Argument(name: "obb_patch_file_size", value: obbPatchFileSize)])
3558
3598
  _ = runner.executeCommand(command)
3559
3599
  }
3560
- func swiftlint(mode: String = "lint",
3600
+ func swiftlint(mode: Any = "lint",
3561
3601
  path: String? = nil,
3562
3602
  outputFile: String? = nil,
3563
3603
  configFile: String? = nil,
3564
3604
  strict: Bool = false,
3565
- files: String? = nil,
3605
+ files: Any? = nil,
3566
3606
  ignoreExitStatus: Bool = false,
3567
3607
  reporter: String? = nil,
3568
3608
  quiet: Bool = false,
@@ -3585,6 +3625,8 @@ func swiftlint(mode: String = "lint",
3585
3625
  }
3586
3626
  func syncCodeSigning(type: String = "development",
3587
3627
  readonly: Bool = false,
3628
+ generateAppleCerts: Bool = true,
3629
+ skipProvisioningProfiles: Bool = false,
3588
3630
  appIdentifier: [String],
3589
3631
  username: String,
3590
3632
  teamId: String? = nil,
@@ -3596,6 +3638,7 @@ func syncCodeSigning(type: String = "development",
3596
3638
  gitUserEmail: String? = nil,
3597
3639
  shallowClone: Bool = false,
3598
3640
  cloneBranchDirectly: Bool = false,
3641
+ gitBasicAuthorization: String? = nil,
3599
3642
  googleCloudBucketName: String? = nil,
3600
3643
  googleCloudKeysFile: String? = nil,
3601
3644
  googleCloudProjectId: String? = nil,
@@ -3605,12 +3648,14 @@ func syncCodeSigning(type: String = "development",
3605
3648
  forceForNewDevices: Bool = false,
3606
3649
  skipConfirmation: Bool = false,
3607
3650
  skipDocs: Bool = false,
3608
- platform: String = "ios",
3651
+ platform: Any = "ios",
3609
3652
  templateName: String? = nil,
3610
3653
  outputPath: String? = nil,
3611
3654
  verbose: Bool = false) {
3612
3655
  let command = RubyCommand(commandID: "", methodName: "sync_code_signing", className: nil, args: [RubyCommand.Argument(name: "type", value: type),
3613
3656
  RubyCommand.Argument(name: "readonly", value: readonly),
3657
+ RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
3658
+ RubyCommand.Argument(name: "skip_provisioning_profiles", value: skipProvisioningProfiles),
3614
3659
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
3615
3660
  RubyCommand.Argument(name: "username", value: username),
3616
3661
  RubyCommand.Argument(name: "team_id", value: teamId),
@@ -3622,6 +3667,7 @@ func syncCodeSigning(type: String = "development",
3622
3667
  RubyCommand.Argument(name: "git_user_email", value: gitUserEmail),
3623
3668
  RubyCommand.Argument(name: "shallow_clone", value: shallowClone),
3624
3669
  RubyCommand.Argument(name: "clone_branch_directly", value: cloneBranchDirectly),
3670
+ RubyCommand.Argument(name: "git_basic_authorization", value: gitBasicAuthorization),
3625
3671
  RubyCommand.Argument(name: "google_cloud_bucket_name", value: googleCloudBucketName),
3626
3672
  RubyCommand.Argument(name: "google_cloud_keys_file", value: googleCloudKeysFile),
3627
3673
  RubyCommand.Argument(name: "google_cloud_project_id", value: googleCloudProjectId),
@@ -3694,7 +3740,7 @@ func testflight(username: String,
3694
3740
  email: String? = nil,
3695
3741
  testersFilePath: String = "./testers.csv",
3696
3742
  groups: [String]? = nil,
3697
- teamId: String? = nil,
3743
+ teamId: Any? = nil,
3698
3744
  teamName: String? = nil,
3699
3745
  devPortalTeamId: String? = nil,
3700
3746
  itcProvider: String? = nil,
@@ -3776,7 +3822,7 @@ func unlockKeychain(path: String = "login",
3776
3822
  _ = runner.executeCommand(command)
3777
3823
  }
3778
3824
  func updateAppGroupIdentifiers(entitlementsFile: String,
3779
- appGroupIdentifiers: String) {
3825
+ appGroupIdentifiers: Any) {
3780
3826
  let command = RubyCommand(commandID: "", methodName: "update_app_group_identifiers", className: nil, args: [RubyCommand.Argument(name: "entitlements_file", value: entitlementsFile),
3781
3827
  RubyCommand.Argument(name: "app_group_identifiers", value: appGroupIdentifiers)])
3782
3828
  _ = runner.executeCommand(command)
@@ -3798,7 +3844,7 @@ func updateFastlane(nightly: Bool = false,
3798
3844
  _ = runner.executeCommand(command)
3799
3845
  }
3800
3846
  func updateIcloudContainerIdentifiers(entitlementsFile: String,
3801
- icloudContainerIdentifiers: String) {
3847
+ icloudContainerIdentifiers: Any) {
3802
3848
  let command = RubyCommand(commandID: "", methodName: "update_icloud_container_identifiers", className: nil, args: [RubyCommand.Argument(name: "entitlements_file", value: entitlementsFile),
3803
3849
  RubyCommand.Argument(name: "icloud_container_identifiers", value: icloudContainerIdentifiers)])
3804
3850
  _ = runner.executeCommand(command)
@@ -3808,7 +3854,7 @@ func updateInfoPlist(xcodeproj: String? = nil,
3808
3854
  scheme: String? = nil,
3809
3855
  appIdentifier: String? = nil,
3810
3856
  displayName: String? = nil,
3811
- block: String? = nil) {
3857
+ block: Any? = nil) {
3812
3858
  let command = RubyCommand(commandID: "", methodName: "update_info_plist", className: nil, args: [RubyCommand.Argument(name: "xcodeproj", value: xcodeproj),
3813
3859
  RubyCommand.Argument(name: "plist_path", value: plistPath),
3814
3860
  RubyCommand.Argument(name: "scheme", value: scheme),
@@ -3818,7 +3864,7 @@ func updateInfoPlist(xcodeproj: String? = nil,
3818
3864
  _ = runner.executeCommand(command)
3819
3865
  }
3820
3866
  func updatePlist(plistPath: String? = nil,
3821
- block: String) {
3867
+ block: Any) {
3822
3868
  let command = RubyCommand(commandID: "", methodName: "update_plist", className: nil, args: [RubyCommand.Argument(name: "plist_path", value: plistPath),
3823
3869
  RubyCommand.Argument(name: "block", value: block)])
3824
3870
  _ = runner.executeCommand(command)
@@ -3833,9 +3879,9 @@ func updateProjectCodeSigning(path: String,
3833
3879
  }
3834
3880
  func updateProjectProvisioning(xcodeproj: String? = nil,
3835
3881
  profile: String,
3836
- targetFilter: String? = nil,
3882
+ targetFilter: Any? = nil,
3837
3883
  buildConfigurationFilter: String? = nil,
3838
- buildConfiguration: String? = nil,
3884
+ buildConfiguration: Any? = nil,
3839
3885
  certificate: String = "/tmp/AppleIncRootCertificate.cer",
3840
3886
  codeSigningIdentity: String? = nil) {
3841
3887
  let command = RubyCommand(commandID: "", methodName: "update_project_provisioning", className: nil, args: [RubyCommand.Argument(name: "xcodeproj", value: xcodeproj),
@@ -3870,8 +3916,8 @@ func updateUrbanAirshipConfiguration(plistPath: String,
3870
3916
  _ = runner.executeCommand(command)
3871
3917
  }
3872
3918
  func updateUrlSchemes(path: String,
3873
- urlSchemes: String? = nil,
3874
- updateUrlSchemes: String? = nil) {
3919
+ urlSchemes: Any? = nil,
3920
+ updateUrlSchemes: Any? = nil) {
3875
3921
  let command = RubyCommand(commandID: "", methodName: "update_url_schemes", className: nil, args: [RubyCommand.Argument(name: "path", value: path),
3876
3922
  RubyCommand.Argument(name: "url_schemes", value: urlSchemes),
3877
3923
  RubyCommand.Argument(name: "update_url_schemes", value: updateUrlSchemes)])
@@ -3899,7 +3945,7 @@ func uploadSymbolsToSentry(apiHost: String = "https://app.getsentry.com/api/0",
3899
3945
  orgSlug: String,
3900
3946
  projectSlug: String,
3901
3947
  dsymPath: String? = nil,
3902
- dsymPaths: String? = nil) {
3948
+ dsymPaths: Any? = nil) {
3903
3949
  let command = RubyCommand(commandID: "", methodName: "upload_symbols_to_sentry", className: nil, args: [RubyCommand.Argument(name: "api_host", value: apiHost),
3904
3950
  RubyCommand.Argument(name: "api_key", value: apiKey),
3905
3951
  RubyCommand.Argument(name: "auth_token", value: authToken),
@@ -3929,19 +3975,19 @@ func uploadToAppStore(username: String,
3929
3975
  submitForReview: Bool = false,
3930
3976
  rejectIfPossible: Bool = false,
3931
3977
  automaticRelease: Bool = false,
3932
- autoReleaseDate: String? = nil,
3978
+ autoReleaseDate: Any? = nil,
3933
3979
  phasedRelease: Bool = false,
3934
3980
  resetRatings: Bool = false,
3935
- priceTier: String? = nil,
3981
+ priceTier: Any? = nil,
3936
3982
  appRatingConfigPath: String? = nil,
3937
- submissionInformation: String? = nil,
3938
- teamId: String? = nil,
3983
+ submissionInformation: Any? = nil,
3984
+ teamId: Any? = nil,
3939
3985
  teamName: String? = nil,
3940
3986
  devPortalTeamId: String? = nil,
3941
3987
  devPortalTeamName: String? = nil,
3942
3988
  itcProvider: String? = nil,
3943
3989
  runPrecheckBeforeSubmit: Bool = true,
3944
- precheckDefaultRuleLevel: String = "warn",
3990
+ precheckDefaultRuleLevel: Any = "warn",
3945
3991
  individualMetadataItems: [String] = [],
3946
3992
  appIcon: String? = nil,
3947
3993
  appleWatchAppIcon: String? = nil,
@@ -3955,20 +4001,20 @@ func uploadToAppStore(username: String,
3955
4001
  tradeRepresentativeContactInformation: [String : Any]? = nil,
3956
4002
  appReviewInformation: [String : Any]? = nil,
3957
4003
  appReviewAttachmentFile: String? = nil,
3958
- description: String? = nil,
3959
- name: String? = nil,
4004
+ description: Any? = nil,
4005
+ name: Any? = nil,
3960
4006
  subtitle: [String : Any]? = nil,
3961
4007
  keywords: [String : Any]? = nil,
3962
4008
  promotionalText: [String : Any]? = nil,
3963
- releaseNotes: String? = nil,
3964
- privacyUrl: String? = nil,
3965
- appleTvPrivacyPolicy: String? = nil,
3966
- supportUrl: String? = nil,
3967
- marketingUrl: String? = nil,
4009
+ releaseNotes: Any? = nil,
4010
+ privacyUrl: Any? = nil,
4011
+ appleTvPrivacyPolicy: Any? = nil,
4012
+ supportUrl: Any? = nil,
4013
+ marketingUrl: Any? = nil,
3968
4014
  languages: [String]? = nil,
3969
4015
  ignoreLanguageDirectoryValidation: Bool = false,
3970
4016
  precheckIncludeInAppPurchases: Bool = true,
3971
- app: String) {
4017
+ app: Any) {
3972
4018
  let command = RubyCommand(commandID: "", methodName: "upload_to_app_store", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
3973
4019
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
3974
4020
  RubyCommand.Argument(name: "app_version", value: appVersion),
@@ -4034,7 +4080,7 @@ func uploadToAppStore(username: String,
4034
4080
  func uploadToPlayStore(packageName: String,
4035
4081
  track: String = "production",
4036
4082
  rollout: String? = nil,
4037
- metadataPath: String? = nil,
4083
+ metadataPath: String = "./metadata",
4038
4084
  key: String? = nil,
4039
4085
  issuer: String? = nil,
4040
4086
  jsonKey: String? = nil,
@@ -4116,7 +4162,7 @@ func uploadToTestflight(username: String,
4116
4162
  email: String? = nil,
4117
4163
  testersFilePath: String = "./testers.csv",
4118
4164
  groups: [String]? = nil,
4119
- teamId: String? = nil,
4165
+ teamId: Any? = nil,
4120
4166
  teamName: String? = nil,
4121
4167
  devPortalTeamId: String? = nil,
4122
4168
  itcProvider: String? = nil,
@@ -4239,7 +4285,7 @@ func xcodeSelect() {
4239
4285
  }
4240
4286
  @discardableResult func xcodeServerGetAssets(host: String,
4241
4287
  botName: String,
4242
- integrationNumber: String? = nil,
4288
+ integrationNumber: Any? = nil,
4243
4289
  username: String = "",
4244
4290
  password: String? = nil,
4245
4291
  targetFolder: String = "./xcs_assets",
@@ -4285,7 +4331,7 @@ func xcov(workspace: String? = nil,
4285
4331
  coverallsServiceJobId: String? = nil,
4286
4332
  coverallsRepoToken: String? = nil,
4287
4333
  xcconfig: String? = nil,
4288
- ideFoundationPath: String = "/Applications/Xcode10.1.app/Contents/Developer/../Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation",
4334
+ ideFoundationPath: String = "/Applications/Xcode-11.app/Contents/Developer/../Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation",
4289
4335
  legacySupport: Bool = false) {
4290
4336
  let command = RubyCommand(commandID: "", methodName: "xcov", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
4291
4337
  RubyCommand.Argument(name: "project", value: project),
@@ -4393,6 +4439,7 @@ let precheckfile: Precheckfile = Precheckfile()
4393
4439
  let scanfile: Scanfile = Scanfile()
4394
4440
  let screengrabfile: Screengrabfile = Screengrabfile()
4395
4441
  let snapshotfile: Snapshotfile = Snapshotfile()
4442
+
4396
4443
  // Please don't remove the lines below
4397
4444
  // They are used to detect outdated files
4398
- // FastlaneRunnerAPIVersion [0.9.53]
4445
+ // FastlaneRunnerAPIVersion [0.9.58]