fastlane 2.183.1 → 2.185.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +102 -95
  3. data/cert/lib/cert/runner.rb +3 -7
  4. data/deliver/lib/deliver/commands_generator.rb +1 -1
  5. data/deliver/lib/deliver/detect_values.rb +5 -3
  6. data/deliver/lib/deliver/download_screenshots.rb +1 -1
  7. data/deliver/lib/deliver/html_generator.rb +2 -2
  8. data/deliver/lib/deliver/module.rb +6 -0
  9. data/deliver/lib/deliver/options.rb +36 -51
  10. data/deliver/lib/deliver/runner.rb +8 -11
  11. data/deliver/lib/deliver/setup.rb +1 -1
  12. data/deliver/lib/deliver/submit_for_review.rb +1 -1
  13. data/deliver/lib/deliver/upload_metadata.rb +20 -6
  14. data/deliver/lib/deliver/upload_price_tier.rb +1 -1
  15. data/deliver/lib/deliver/upload_screenshots.rb +1 -1
  16. data/fastlane/lib/fastlane/actions/adb.rb +1 -4
  17. data/fastlane/lib/fastlane/actions/adb_devices.rb +0 -1
  18. data/fastlane/lib/fastlane/actions/add_git_tag.rb +4 -4
  19. data/fastlane/lib/fastlane/actions/app_store_build_number.rb +10 -15
  20. data/fastlane/lib/fastlane/actions/app_store_connect_api_key.rb +12 -2
  21. data/fastlane/lib/fastlane/actions/appetize.rb +0 -7
  22. data/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb +0 -11
  23. data/fastlane/lib/fastlane/actions/appium.rb +40 -65
  24. data/fastlane/lib/fastlane/actions/apteligent.rb +3 -2
  25. data/fastlane/lib/fastlane/actions/artifactory.rb +5 -6
  26. data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +6 -11
  27. data/fastlane/lib/fastlane/actions/backup_xcarchive.rb +2 -2
  28. data/fastlane/lib/fastlane/actions/badge.rb +9 -13
  29. data/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb +1 -3
  30. data/fastlane/lib/fastlane/actions/bundle_install.rb +8 -10
  31. data/fastlane/lib/fastlane/actions/carthage.rb +2 -16
  32. data/fastlane/lib/fastlane/actions/changelog_from_git_commits.rb +8 -17
  33. data/fastlane/lib/fastlane/actions/chatwork.rb +3 -2
  34. data/fastlane/lib/fastlane/actions/check_app_store_metadata.rb +5 -1
  35. data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +0 -1
  36. data/fastlane/lib/fastlane/actions/clean_cocoapods_cache.rb +0 -1
  37. data/fastlane/lib/fastlane/actions/cloc.rb +9 -13
  38. data/fastlane/lib/fastlane/actions/cocoapods.rb +9 -15
  39. data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -3
  40. data/fastlane/lib/fastlane/actions/commit_version_bump.rb +6 -7
  41. data/fastlane/lib/fastlane/actions/copy_artifacts.rb +3 -4
  42. data/fastlane/lib/fastlane/actions/crashlytics.rb +7 -11
  43. data/fastlane/lib/fastlane/actions/create_app_on_managed_play_store.rb +70 -76
  44. data/fastlane/lib/fastlane/actions/create_keychain.rb +9 -10
  45. data/fastlane/lib/fastlane/actions/create_pull_request.rb +0 -9
  46. data/fastlane/lib/fastlane/actions/danger.rb +6 -11
  47. data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +1 -1
  48. data/fastlane/lib/fastlane/actions/docs/upload_to_app_store.md.erb +35 -16
  49. data/fastlane/lib/fastlane/actions/docs/upload_to_testflight.md +10 -4
  50. data/fastlane/lib/fastlane/actions/get_certificates.rb +5 -1
  51. data/fastlane/lib/fastlane/actions/get_provisioning_profile.rb +5 -1
  52. data/fastlane/lib/fastlane/actions/push_to_git_remote.rb +5 -1
  53. data/fastlane/lib/fastlane/actions/register_device.rb +7 -10
  54. data/fastlane/lib/fastlane/actions/register_devices.rb +7 -10
  55. data/fastlane/lib/fastlane/actions/set_changelog.rb +7 -10
  56. data/fastlane/lib/fastlane/actions/swiftlint.rb +17 -15
  57. data/fastlane/lib/fastlane/actions/sync_code_signing.rb +6 -1
  58. data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +5 -1
  59. data/fastlane/lib/fastlane/actions/upload_to_testflight.rb +2 -1
  60. data/fastlane/lib/fastlane/environment_printer.rb +1 -0
  61. data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +4 -4
  62. data/fastlane/lib/fastlane/helper/git_helper.rb +12 -7
  63. data/fastlane/lib/fastlane/plugins/plugin_manager.rb +1 -1
  64. data/fastlane/lib/fastlane/setup/setup_ios.rb +3 -3
  65. data/fastlane/lib/fastlane/swift_fastlane_function.rb +8 -5
  66. data/fastlane/lib/fastlane/version.rb +1 -1
  67. data/fastlane/swift/Deliverfile.swift +1 -1
  68. data/fastlane/swift/DeliverfileProtocol.swift +20 -20
  69. data/fastlane/swift/Fastlane.swift +4096 -3668
  70. data/fastlane/swift/Gymfile.swift +1 -1
  71. data/fastlane/swift/GymfileProtocol.swift +1 -1
  72. data/fastlane/swift/Matchfile.swift +1 -1
  73. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  74. data/fastlane/swift/OptionalConfigValue.swift +2 -32
  75. data/fastlane/swift/Precheckfile.swift +1 -1
  76. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  77. data/fastlane/swift/Scanfile.swift +1 -1
  78. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  79. data/fastlane/swift/Screengrabfile.swift +1 -1
  80. data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
  81. data/fastlane/swift/Snapshotfile.swift +1 -1
  82. data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
  83. data/fastlane/swift/formatting/Brewfile.lock.json +11 -11
  84. data/fastlane_core/lib/fastlane_core/build_watcher.rb +26 -3
  85. data/fastlane_core/lib/fastlane_core/configuration/commander_generator.rb +5 -0
  86. data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +5 -3
  87. data/fastlane_core/lib/fastlane_core/configuration/configuration.rb +1 -1
  88. data/fastlane_core/lib/fastlane_core/helper.rb +12 -0
  89. data/fastlane_core/lib/fastlane_core/print_table.rb +5 -3
  90. data/fastlane_core/lib/fastlane_core/project.rb +7 -3
  91. data/match/lib/match/importer.rb +6 -10
  92. data/match/lib/match/migrate.rb +2 -3
  93. data/match/lib/match/nuke.rb +3 -7
  94. data/match/lib/match/options.rb +1 -0
  95. data/match/lib/match/runner.rb +2 -3
  96. data/match/lib/match/spaceship_ensure.rb +3 -0
  97. data/match/lib/match/storage/google_cloud_storage.rb +2 -2
  98. data/match/lib/match/storage/s3_storage.rb +2 -2
  99. data/pilot/lib/pilot/build_manager.rb +7 -1
  100. data/pilot/lib/pilot/manager.rb +3 -7
  101. data/pilot/lib/pilot/options.rb +10 -2
  102. data/precheck/lib/precheck/runner.rb +8 -7
  103. data/sigh/lib/assets/resign.sh +81 -61
  104. data/sigh/lib/sigh/download_all.rb +4 -8
  105. data/sigh/lib/sigh/runner.rb +4 -8
  106. data/snapshot/lib/snapshot/test_command_generator.rb +1 -1
  107. data/spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb +36 -4
  108. data/spaceship/lib/spaceship/connect_api/models/app_info.rb +10 -0
  109. data/spaceship/lib/spaceship/connect_api/models/app_store_version.rb +2 -3
  110. data/spaceship/lib/spaceship/connect_api/models/beta_group.rb +3 -1
  111. data/spaceship/lib/spaceship/connect_api/models/build.rb +2 -0
  112. data/spaceship/lib/spaceship/connect_api/token.rb +6 -0
  113. data/spaceship/lib/spaceship/connect_api/tunes/tunes.rb +4 -2
  114. data/spaceship/lib/spaceship/spaceauth_runner.rb +19 -6
  115. data/supply/lib/supply/client.rb +2 -2
  116. data/supply/lib/supply/uploader.rb +2 -2
  117. metadata +20 -22
  118. data/supply/lib/supply/.client.rb.swp +0 -0
  119. data/supply/lib/supply/.listing.rb.swp +0 -0
  120. data/supply/lib/supply/.uploader.rb.swp +0 -0
@@ -105,71 +105,46 @@ module Fastlane
105
105
 
106
106
  def self.available_options
107
107
  [
108
- FastlaneCore::ConfigItem.new(
109
- key: :platform,
110
- env_name: 'FL_APPIUM_PLATFORM',
111
- description: 'Appium platform name',
112
- is_string: true
113
- ),
114
- FastlaneCore::ConfigItem.new(
115
- key: :spec_path,
116
- env_name: 'FL_APPIUM_SPEC_PATH',
117
- description: 'Path to Appium spec directory',
118
- is_string: true
119
- ),
120
- FastlaneCore::ConfigItem.new(
121
- key: :app_path,
122
- env_name: 'FL_APPIUM_APP_FILE_PATH',
123
- description: 'Path to Appium target app file',
124
- is_string: true
125
- ),
126
- FastlaneCore::ConfigItem.new(
127
- key: :invoke_appium_server,
128
- env_name: 'FL_APPIUM_INVOKE_APPIUM_SERVER',
129
- description: 'Use local Appium server with invoke automatically',
130
- is_string: false,
131
- default_value: true,
132
- optional: true
133
- ),
134
- FastlaneCore::ConfigItem.new(
135
- key: :host,
136
- env_name: 'FL_APPIUM_HOST',
137
- description: 'Hostname of Appium server',
138
- is_string: true,
139
- default_value: '0.0.0.0',
140
- optional: true
141
- ),
142
- FastlaneCore::ConfigItem.new(
143
- key: :port,
144
- env_name: 'FL_APPIUM_PORT',
145
- description: 'HTTP port of Appium server',
146
- is_string: false,
147
- default_value: 4723,
148
- optional: true
149
- ),
150
- FastlaneCore::ConfigItem.new(
151
- key: :appium_path,
152
- env_name: 'FL_APPIUM_EXECUTABLE_PATH',
153
- description: 'Path to Appium executable',
154
- is_string: true,
155
- optional: true
156
- ),
157
- FastlaneCore::ConfigItem.new(
158
- key: :caps,
159
- env_name: 'FL_APPIUM_CAPS',
160
- description: 'Hash of caps for Appium::Driver',
161
- is_string: false,
162
- type: Hash,
163
- optional: true
164
- ),
165
- FastlaneCore::ConfigItem.new(
166
- key: :appium_lib,
167
- env_name: 'FL_APPIUM_LIB',
168
- description: 'Hash of appium_lib for Appium::Driver',
169
- is_string: false,
170
- type: Hash,
171
- optional: true
172
- )
108
+ FastlaneCore::ConfigItem.new(key: :platform,
109
+ env_name: 'FL_APPIUM_PLATFORM',
110
+ description: 'Appium platform name'),
111
+ FastlaneCore::ConfigItem.new(key: :spec_path,
112
+ env_name: 'FL_APPIUM_SPEC_PATH',
113
+ description: 'Path to Appium spec directory'),
114
+ FastlaneCore::ConfigItem.new(key: :app_path,
115
+ env_name: 'FL_APPIUM_APP_FILE_PATH',
116
+ description: 'Path to Appium target app file'),
117
+ FastlaneCore::ConfigItem.new(key: :invoke_appium_server,
118
+ env_name: 'FL_APPIUM_INVOKE_APPIUM_SERVER',
119
+ description: 'Use local Appium server with invoke automatically',
120
+ type: Boolean,
121
+ default_value: true,
122
+ optional: true),
123
+ FastlaneCore::ConfigItem.new(key: :host,
124
+ env_name: 'FL_APPIUM_HOST',
125
+ description: 'Hostname of Appium server',
126
+ default_value: '0.0.0.0',
127
+ optional: true),
128
+ FastlaneCore::ConfigItem.new(key: :port,
129
+ env_name: 'FL_APPIUM_PORT',
130
+ description: 'HTTP port of Appium server',
131
+ type: Integer,
132
+ default_value: 4723,
133
+ optional: true),
134
+ FastlaneCore::ConfigItem.new(key: :appium_path,
135
+ env_name: 'FL_APPIUM_EXECUTABLE_PATH',
136
+ description: 'Path to Appium executable',
137
+ optional: true),
138
+ FastlaneCore::ConfigItem.new(key: :caps,
139
+ env_name: 'FL_APPIUM_CAPS',
140
+ description: 'Hash of caps for Appium::Driver',
141
+ type: Hash,
142
+ optional: true),
143
+ FastlaneCore::ConfigItem.new(key: :appium_lib,
144
+ env_name: 'FL_APPIUM_LIB',
145
+ description: 'Hash of appium_lib for Appium::Driver',
146
+ type: Hash,
147
+ optional: true)
173
148
  ]
174
149
  end
175
150
 
@@ -70,11 +70,12 @@ module Fastlane
70
70
  optional: true),
71
71
  FastlaneCore::ConfigItem.new(key: :app_id,
72
72
  env_name: "FL_APTELIGENT_APP_ID",
73
- description: "Apteligent App ID key e.g. 569f5c87cb99e10e00c7xxxx",
74
- optional: false),
73
+ description: "Apteligent App ID key e.g. 569f5c87cb99e10e00c7xxxx",
74
+ optional: false),
75
75
  FastlaneCore::ConfigItem.new(key: :api_key,
76
76
  env_name: "FL_APTELIGENT_API_KEY",
77
77
  sensitive: true,
78
+ code_gen_sensitive: true,
78
79
  description: "Apteligent App API key e.g. IXPQIi8yCbHaLliqzRoo065tH0lxxxxx",
79
80
  optional: false)
80
81
  ]
@@ -126,6 +126,7 @@ module Fastlane
126
126
  env_name: "FL_ARTIFACTORY_PASSWORD",
127
127
  description: "Artifactory password",
128
128
  sensitive: true,
129
+ code_gen_sensitive: true,
129
130
  optional: true,
130
131
  conflicting_options: [:api_key],
131
132
  conflict_block: proc do |value|
@@ -135,6 +136,7 @@ module Fastlane
135
136
  env_name: "FL_ARTIFACTORY_API_KEY",
136
137
  description: "Artifactory API key",
137
138
  sensitive: true,
139
+ code_gen_sensitive: true,
138
140
  optional: true,
139
141
  conflicting_options: [:username, :password],
140
142
  conflict_block: proc do |value|
@@ -143,7 +145,7 @@ module Fastlane
143
145
  FastlaneCore::ConfigItem.new(key: :properties,
144
146
  env_name: "FL_ARTIFACTORY_PROPERTIES",
145
147
  description: "Artifact properties hash",
146
- is_string: false,
148
+ type: Hash,
147
149
  default_value: {},
148
150
  optional: true),
149
151
  FastlaneCore::ConfigItem.new(key: :ssl_pem_file,
@@ -154,7 +156,7 @@ module Fastlane
154
156
  FastlaneCore::ConfigItem.new(key: :ssl_verify,
155
157
  env_name: "FL_ARTIFACTORY_SSL_VERIFY",
156
158
  description: "Verify SSL",
157
- is_string: false,
159
+ type: Boolean,
158
160
  default_value: true,
159
161
  optional: true),
160
162
  FastlaneCore::ConfigItem.new(key: :proxy_username,
@@ -166,22 +168,19 @@ module Fastlane
166
168
  env_name: "FL_ARTIFACTORY_PROXY_PASSWORD",
167
169
  description: "Proxy password",
168
170
  sensitive: true,
169
- default_value: nil,
171
+ code_gen_sensitive: true,
170
172
  optional: true),
171
173
  FastlaneCore::ConfigItem.new(key: :proxy_address,
172
174
  env_name: "FL_ARTIFACTORY_PROXY_ADDRESS",
173
175
  description: "Proxy address",
174
- default_value: nil,
175
176
  optional: true),
176
177
  FastlaneCore::ConfigItem.new(key: :proxy_port,
177
178
  env_name: "FL_ARTIFACTORY_PROXY_PORT",
178
179
  description: "Proxy port",
179
- default_value: nil,
180
180
  optional: true),
181
181
  FastlaneCore::ConfigItem.new(key: :read_timeout,
182
182
  env_name: "FL_ARTIFACTORY_READ_TIMEOUT",
183
183
  description: "Read timeout",
184
- default_value: nil,
185
184
  optional: true)
186
185
  ]
187
186
  end
@@ -126,13 +126,12 @@ module Fastlane
126
126
  FastlaneCore::ConfigItem.new(key: :use_automatic_signing,
127
127
  env_name: "FL_PROJECT_USE_AUTOMATIC_SIGNING",
128
128
  description: "Defines if project should use automatic signing",
129
- is_string: false,
129
+ type: Boolean,
130
130
  default_value: false),
131
131
  FastlaneCore::ConfigItem.new(key: :team_id,
132
132
  env_name: "FASTLANE_TEAM_ID",
133
133
  optional: true,
134
- description: "Team ID, is used when upgrading project",
135
- is_string: true),
134
+ description: "Team ID, is used when upgrading project"),
136
135
  FastlaneCore::ConfigItem.new(key: :targets,
137
136
  env_name: "FL_PROJECT_SIGNING_TARGETS",
138
137
  optional: true,
@@ -142,23 +141,19 @@ module Fastlane
142
141
  FastlaneCore::ConfigItem.new(key: :code_sign_identity,
143
142
  env_name: "FL_CODE_SIGN_IDENTITY",
144
143
  description: "Code signing identity type (iPhone Developer, iPhone Distribution)",
145
- optional: true,
146
- is_string: true),
144
+ optional: true),
147
145
  FastlaneCore::ConfigItem.new(key: :profile_name,
148
146
  env_name: "FL_PROVISIONING_PROFILE_SPECIFIER",
149
147
  description: "Provisioning profile name to use for code signing",
150
- optional: true,
151
- is_string: true),
148
+ optional: true),
152
149
  FastlaneCore::ConfigItem.new(key: :profile_uuid,
153
150
  env_name: "FL_PROVISIONING_PROFILE",
154
151
  description: "Provisioning profile UUID to use for code signing",
155
- optional: true,
156
- is_string: true),
152
+ optional: true),
157
153
  FastlaneCore::ConfigItem.new(key: :bundle_identifier,
158
154
  env_name: "FL_APP_IDENTIFIER",
159
155
  description: "Application Product Bundle Identifier",
160
- optional: true,
161
- is_string: true)
156
+ optional: true)
162
157
  ]
163
158
  end
164
159
 
@@ -83,7 +83,7 @@ module Fastlane
83
83
  end),
84
84
  FastlaneCore::ConfigItem.new(key: :zip,
85
85
  description: 'Enable compression of the archive',
86
- is_string: false,
86
+ type: Boolean,
87
87
  default_value: true,
88
88
  optional: true,
89
89
  env_name: 'BACKUP_XCARCHIVE_ZIP'),
@@ -94,7 +94,7 @@ module Fastlane
94
94
  env_name: 'BACKUP_XCARCHIVE_ZIP_FILENAME'),
95
95
  FastlaneCore::ConfigItem.new(key: :versioned,
96
96
  description: 'Create a versioned (date and app version) subfolder where to put the archive',
97
- is_string: false,
97
+ type: Boolean,
98
98
  default_value: true,
99
99
  optional: true,
100
100
  env_name: 'BACKUP_XCARCHIVE_VERSIONED')
@@ -65,7 +65,7 @@ module Fastlane
65
65
  env_name: "FL_BADGE_DARK",
66
66
  description: "Adds a dark flavored badge ontop of your icon",
67
67
  optional: true,
68
- is_string: false,
68
+ type: Boolean,
69
69
  verify_block: proc do |value|
70
70
  UI.user_error!("dark is only a flag and should always be true") unless value == true
71
71
  end),
@@ -80,20 +80,19 @@ module Fastlane
80
80
  env_name: "FL_BADGE_NO_BADGE",
81
81
  description: "Hides the beta badge",
82
82
  optional: true,
83
- is_string: false,
83
+ type: Boolean,
84
84
  verify_block: proc do |value|
85
85
  UI.user_error!("no_badge is only a flag and should always be true") unless value == true
86
86
  end),
87
87
  FastlaneCore::ConfigItem.new(key: :shield,
88
88
  env_name: "FL_BADGE_SHIELD",
89
89
  description: "Add a shield to your app icon from shields.io",
90
- optional: true,
91
- is_string: true),
90
+ optional: true),
92
91
  FastlaneCore::ConfigItem.new(key: :alpha,
93
92
  env_name: "FL_BADGE_ALPHA",
94
93
  description: "Adds and alpha badge instead of the default beta one",
95
94
  optional: true,
96
- is_string: false,
95
+ type: Boolean,
97
96
  verify_block: proc do |value|
98
97
  UI.user_error!("alpha is only a flag and should always be true") unless value == true
99
98
  end),
@@ -101,7 +100,6 @@ module Fastlane
101
100
  env_name: "FL_BADGE_PATH",
102
101
  description: "Sets the root path to look for AppIcons",
103
102
  optional: true,
104
- is_string: true,
105
103
  default_value: '.',
106
104
  verify_block: proc do |value|
107
105
  UI.user_error!("path needs to be a valid directory") if Dir[value].empty?
@@ -110,33 +108,31 @@ module Fastlane
110
108
  env_name: "FL_BADGE_SHIELD_IO_TIMEOUT",
111
109
  description: "Set custom duration for the timeout of the shields.io request in seconds",
112
110
  optional: true,
113
- is_string: false,
111
+ type: Integer, # allow integers, strings both
114
112
  verify_block: proc do |value|
115
113
  UI.user_error!("shield_io_timeout needs to be an integer > 0") if value.to_i < 1
116
114
  end),
117
115
  FastlaneCore::ConfigItem.new(key: :glob,
118
116
  env_name: "FL_BADGE_GLOB",
119
117
  description: "Glob pattern for finding image files",
120
- optional: true,
121
- is_string: true),
118
+ optional: true),
122
119
  FastlaneCore::ConfigItem.new(key: :alpha_channel,
123
120
  env_name: "FL_BADGE_ALPHA_CHANNEL",
124
121
  description: "Keeps/adds an alpha channel to the icon (useful for android icons)",
125
122
  optional: true,
126
- is_string: false,
123
+ type: Boolean,
127
124
  verify_block: proc do |value|
128
125
  UI.user_error!("alpha_channel is only a flag and should always be true") unless value == true
129
126
  end),
130
127
  FastlaneCore::ConfigItem.new(key: :shield_gravity,
131
128
  env_name: "FL_BADGE_SHIELD_GRAVITY",
132
129
  description: "Position of shield on icon. Default: North - Choices include: NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast",
133
- optional: true,
134
- is_string: true),
130
+ optional: true),
135
131
  FastlaneCore::ConfigItem.new(key: :shield_no_resize,
136
132
  env_name: "FL_BADGE_SHIELD_NO_RESIZE",
137
133
  description: "Shield image will no longer be resized to aspect fill the full icon. Instead it will only be shrunk to not exceed the icon graphic",
138
134
  optional: true,
139
- is_string: false,
135
+ type: Boolean,
140
136
  verify_block: proc do |value|
141
137
  UI.user_error!("shield_no_resize is only a flag and should always be true") unless value == true
142
138
  end)
@@ -64,10 +64,9 @@ module Fastlane
64
64
  env_name: "APPETIZE_API_TOKEN",
65
65
  description: "Appetize.io API Token",
66
66
  sensitive: true,
67
- is_string: true),
67
+ code_gen_sensitive: true),
68
68
  FastlaneCore::ConfigItem.new(key: :public_key,
69
69
  description: "If not provided, a new app will be created. If provided, the existing build will be overwritten",
70
- is_string: true,
71
70
  optional: true,
72
71
  verify_block: proc do |value|
73
72
  if value.start_with?("private_")
@@ -76,7 +75,6 @@ module Fastlane
76
75
  end),
77
76
  FastlaneCore::ConfigItem.new(key: :note,
78
77
  description: "Notes you wish to add to the uploaded app",
79
- is_string: true,
80
78
  optional: true),
81
79
  FastlaneCore::ConfigItem.new(key: :timeout,
82
80
  description: "The number of seconds to wait until automatically ending the session due to user inactivity. Must be 30, 60, 90, 120, 180, 300, 600, 1800, 3600 or 7200. Default is 120",
@@ -72,12 +72,12 @@ module Fastlane
72
72
  FastlaneCore::ConfigItem.new(key: :clean,
73
73
  env_name: "FL_BUNDLE_INSTALL_CLEAN",
74
74
  description: "Run bundle clean automatically after install",
75
- is_string: false,
75
+ type: Boolean,
76
76
  default_value: false),
77
77
  FastlaneCore::ConfigItem.new(key: :full_index,
78
78
  env_name: "FL_BUNDLE_INSTALL_FULL_INDEX",
79
79
  description: "Use the rubygems modern index instead of the API endpoint",
80
- is_string: false,
80
+ type: Boolean,
81
81
  default_value: false),
82
82
  FastlaneCore::ConfigItem.new(key: :gemfile,
83
83
  env_name: "FL_BUNDLE_INSTALL_GEMFILE",
@@ -86,28 +86,27 @@ module Fastlane
86
86
  FastlaneCore::ConfigItem.new(key: :jobs,
87
87
  env_name: "FL_BUNDLE_INSTALL_JOBS",
88
88
  description: "Install gems using parallel workers",
89
- is_string: false,
90
89
  type: Boolean,
91
90
  optional: true),
92
91
  FastlaneCore::ConfigItem.new(key: :local,
93
92
  env_name: "FL_BUNDLE_INSTALL_LOCAL",
94
93
  description: "Do not attempt to fetch gems remotely and use the gem cache instead",
95
- is_string: false,
94
+ type: Boolean,
96
95
  default_value: false),
97
96
  FastlaneCore::ConfigItem.new(key: :deployment,
98
97
  env_name: "FL_BUNDLE_INSTALL_DEPLOYMENT",
99
98
  description: "Install using defaults tuned for deployment and CI environments",
100
- is_string: false,
99
+ type: Boolean,
101
100
  default_value: false),
102
101
  FastlaneCore::ConfigItem.new(key: :no_cache,
103
102
  env_name: "FL_BUNDLE_INSTALL_NO_CACHE",
104
103
  description: "Don't update the existing gem cache",
105
- is_string: false,
104
+ type: Boolean,
106
105
  default_value: false),
107
106
  FastlaneCore::ConfigItem.new(key: :no_prune,
108
107
  env_name: "FL_BUNDLE_INSTALL_NO_PRUNE",
109
108
  description: "Don't remove stale gems from the cache",
110
- is_string: false,
109
+ type: Boolean,
111
110
  default_value: false),
112
111
  FastlaneCore::ConfigItem.new(key: :path,
113
112
  env_name: "FL_BUNDLE_INSTALL_PATH",
@@ -116,17 +115,16 @@ module Fastlane
116
115
  FastlaneCore::ConfigItem.new(key: :system,
117
116
  env_name: "FL_BUNDLE_INSTALL_SYSTEM",
118
117
  description: "Install to the system location ($BUNDLE_PATH or $GEM_HOME) even if the bundle was previously installed somewhere else for this application",
119
- is_string: false,
118
+ type: Boolean,
120
119
  default_value: false),
121
120
  FastlaneCore::ConfigItem.new(key: :quiet,
122
121
  env_name: "FL_BUNDLE_INSTALL_QUIET",
123
122
  description: "Only output warnings and errors",
124
- is_string: false,
123
+ type: Boolean,
125
124
  default_value: false),
126
125
  FastlaneCore::ConfigItem.new(key: :retry,
127
126
  env_name: "FL_BUNDLE_INSTALL_RETRY",
128
127
  description: "Retry network and git requests that have failed",
129
- is_string: false,
130
128
  type: Boolean,
131
129
  optional: true),
132
130
  FastlaneCore::ConfigItem.new(key: :shebang,
@@ -86,48 +86,40 @@ module Fastlane
86
86
  FastlaneCore::ConfigItem.new(key: :dependencies,
87
87
  description: "Carthage dependencies to update, build or bootstrap",
88
88
  default_value: [],
89
- is_string: false,
90
89
  type: Array),
91
90
  FastlaneCore::ConfigItem.new(key: :use_ssh,
92
91
  env_name: "FL_CARTHAGE_USE_SSH",
93
92
  description: "Use SSH for downloading GitHub repositories",
94
- is_string: false,
95
93
  type: Boolean,
96
94
  optional: true),
97
95
  FastlaneCore::ConfigItem.new(key: :use_submodules,
98
96
  env_name: "FL_CARTHAGE_USE_SUBMODULES",
99
97
  description: "Add dependencies as Git submodules",
100
- is_string: false,
101
98
  type: Boolean,
102
99
  optional: true),
103
100
  FastlaneCore::ConfigItem.new(key: :use_netrc,
104
101
  env_name: "FL_CARTHAGE_USE_NETRC",
105
102
  description: "Use .netrc for downloading frameworks",
106
- is_string: false,
107
103
  type: Boolean,
108
104
  optional: true),
109
105
  FastlaneCore::ConfigItem.new(key: :use_binaries,
110
106
  env_name: "FL_CARTHAGE_USE_BINARIES",
111
107
  description: "Check out dependency repositories even when prebuilt frameworks exist",
112
- is_string: false,
113
108
  type: Boolean,
114
109
  optional: true),
115
110
  FastlaneCore::ConfigItem.new(key: :no_checkout,
116
111
  env_name: "FL_CARTHAGE_NO_CHECKOUT",
117
112
  description: "When bootstrapping Carthage do not checkout",
118
- is_string: false,
119
113
  type: Boolean,
120
114
  optional: true),
121
115
  FastlaneCore::ConfigItem.new(key: :no_build,
122
116
  env_name: "FL_CARTHAGE_NO_BUILD",
123
117
  description: "When bootstrapping Carthage do not build",
124
- is_string: false,
125
118
  type: Boolean,
126
119
  optional: true),
127
120
  FastlaneCore::ConfigItem.new(key: :no_skip_current,
128
121
  env_name: "FL_CARTHAGE_NO_SKIP_CURRENT",
129
122
  description: "Don't skip building the Carthage project (in addition to its dependencies)",
130
- is_string: false,
131
123
  type: Boolean,
132
124
  optional: true),
133
125
  FastlaneCore::ConfigItem.new(key: :derived_data,
@@ -137,7 +129,6 @@ module Fastlane
137
129
  FastlaneCore::ConfigItem.new(key: :verbose,
138
130
  env_name: "FL_CARTHAGE_VERBOSE",
139
131
  description: "Print xcodebuild output inline",
140
- is_string: false,
141
132
  type: Boolean,
142
133
  optional: true),
143
134
  FastlaneCore::ConfigItem.new(key: :platform,
@@ -152,16 +143,14 @@ module Fastlane
152
143
  FastlaneCore::ConfigItem.new(key: :cache_builds,
153
144
  env_name: "FL_CARTHAGE_CACHE_BUILDS",
154
145
  description: "By default Carthage will rebuild a dependency regardless of whether it's the same resolved version as before. Passing the --cache-builds will cause carthage to avoid rebuilding a dependency if it can",
155
- is_string: false,
146
+ type: Boolean,
156
147
  default_value: false),
157
148
  FastlaneCore::ConfigItem.new(key: :frameworks,
158
149
  description: "Framework name or names to archive, could be applied only along with the archive command",
159
150
  default_value: [],
160
- is_string: false,
161
151
  type: Array),
162
152
  FastlaneCore::ConfigItem.new(key: :output,
163
153
  description: "Output name for the archive, could be applied only along with the archive command. Use following format *.framework.zip",
164
- is_string: true,
165
154
  optional: true,
166
155
  verify_block: proc do |value|
167
156
  UI.user_error!("Please pass a valid string for output. Use following format *.framework.zip") unless value.end_with?("framework.zip")
@@ -186,7 +175,6 @@ module Fastlane
186
175
  FastlaneCore::ConfigItem.new(key: :new_resolver,
187
176
  env_name: "FL_CARTHAGE_NEW_RESOLVER",
188
177
  description: "Use new resolver when resolving dependency graph",
189
- is_string: false,
190
178
  optional: true,
191
179
  type: Boolean),
192
180
  FastlaneCore::ConfigItem.new(key: :log_path,
@@ -197,12 +185,10 @@ module Fastlane
197
185
  env_name: "FL_CARTHAGE_USE_XCFRAMEWORKS",
198
186
  description: "Create xcframework bundles instead of one framework per platform (requires Xcode 12+)",
199
187
  type: Boolean,
200
- is_string: false,
201
188
  default_value: false),
202
189
  FastlaneCore::ConfigItem.new(key: :archive,
203
190
  env_name: "FL_CARTHAGE_ARCHIVE",
204
191
  description: "Archive built frameworks from the current project",
205
- is_string: false,
206
192
  type: Boolean,
207
193
  default_value: false),
208
194
  FastlaneCore::ConfigItem.new(key: :executable,
@@ -230,7 +216,7 @@ module Fastlane
230
216
  configuration: "Release", # Build configuration to use when building
231
217
  cache_builds: true, # By default Carthage will rebuild a dependency regardless of whether its the same resolved version as before.
232
218
  toolchain: "com.apple.dt.toolchain.Swift_2_3", # Specify the xcodebuild toolchain
233
- new_resolver: false, # Use the new resolver to resolve depdendency graph
219
+ new_resolver: false, # Use the new resolver to resolve dependency graph
234
220
  log_path: "carthage.log" # Path to the xcode build output
235
221
  )'
236
222
  ]