fastlane 2.158.0 → 2.159.0

This diff has not been reviewed by any users.
Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +78 -78
  3. data/deliver/lib/deliver/upload_metadata.rb +5 -1
  4. data/{pilot/lib/pilot/.manager.rb.swp → fastlane/lib/fastlane/.erb_template_helper.rb.swp} +0 -0
  5. data/fastlane/lib/fastlane/actions/{.hockey.rb.swp → .git_commit.rb.swp} +0 -0
  6. data/fastlane/lib/fastlane/actions/docs/upload_to_testflight.md +1 -1
  7. data/fastlane/lib/fastlane/actions/download_dsyms.rb +1 -1
  8. data/fastlane/lib/fastlane/helper/git_helper.rb +2 -0
  9. data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +6 -4
  10. data/fastlane/lib/fastlane/swift_fastlane_function.rb +1 -1
  11. data/fastlane/lib/fastlane/version.rb +1 -1
  12. data/fastlane/swift/Actions.swift +2 -1
  13. data/fastlane/swift/Appfile.swift +2 -4
  14. data/fastlane/swift/ArgumentProcessor.swift +2 -6
  15. data/fastlane/swift/ControlCommand.swift +2 -5
  16. data/fastlane/swift/Deliverfile.swift +5 -2
  17. data/fastlane/swift/DeliverfileProtocol.swift +6 -3
  18. data/fastlane/swift/Fastfile.swift +5 -1
  19. data/fastlane/swift/Fastlane.swift +2223 -2220
  20. data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj +5 -5
  21. data/fastlane/swift/Gymfile.swift +5 -2
  22. data/fastlane/swift/GymfileProtocol.swift +6 -3
  23. data/fastlane/swift/LaneFileProtocol.swift +36 -19
  24. data/fastlane/swift/MainProcess.swift +77 -0
  25. data/fastlane/swift/Matchfile.swift +5 -2
  26. data/fastlane/swift/MatchfileProtocol.swift +6 -3
  27. data/fastlane/swift/Plugins.swift +2 -1
  28. data/fastlane/swift/Precheckfile.swift +5 -2
  29. data/fastlane/swift/PrecheckfileProtocol.swift +6 -3
  30. data/fastlane/swift/RubyCommand.swift +2 -6
  31. data/fastlane/swift/RubyCommandable.swift +2 -6
  32. data/fastlane/swift/Runner.swift +5 -9
  33. data/fastlane/swift/RunnerArgument.swift +2 -6
  34. data/fastlane/swift/Scanfile.swift +5 -2
  35. data/fastlane/swift/ScanfileProtocol.swift +6 -3
  36. data/fastlane/swift/Screengrabfile.swift +5 -2
  37. data/fastlane/swift/ScreengrabfileProtocol.swift +6 -3
  38. data/fastlane/swift/Snapshotfile.swift +5 -2
  39. data/fastlane/swift/SnapshotfileProtocol.swift +6 -3
  40. data/fastlane/swift/SocketClient.swift +3 -7
  41. data/fastlane/swift/SocketClientDelegateProtocol.swift +2 -6
  42. data/fastlane/swift/SocketResponse.swift +2 -6
  43. data/fastlane/swift/formatting/Brewfile.lock.json +18 -10
  44. data/fastlane/swift/main.swift +4 -8
  45. data/fastlane/swift/upgrade_manifest.json +1 -1
  46. data/match/lib/match/importer.rb +5 -2
  47. data/snapshot/lib/assets/SnapshotHelper.swift +17 -2
  48. data/spaceship/lib/spaceship/{connect_api/.DS_Store → .DS_Store} +0 -0
  49. data/spaceship/lib/spaceship/connect_api/client.rb +25 -12
  50. data/{fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp → spaceship/lib/spaceship/connect_api/models/.app.rb.swp} +0 -0
  51. data/spaceship/lib/spaceship/connect_api/models/.app_store_version.rb.swp +0 -0
  52. data/{fastlane/lib/fastlane/actions/.slack.rb.swp → spaceship/lib/spaceship/connect_api/models/.app_store_version_submission.rb.swp} +0 -0
  53. data/spaceship/lib/spaceship/connect_api/spaceship.rb +3 -2
  54. data/spaceship/lib/spaceship/connect_api/tunes/tunes.rb +2 -2
  55. metadata +26 -25
  56. data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 788ea487bca43498edde1360e40fe59761bc470b5028f3b7f6bcccf25f8348a9
4
- data.tar.gz: 7333608271e41308100b68c9c56d572751b07feeed59d45ee72f0e972eff296d
3
+ metadata.gz: 580e666fe7cc2465dab2cf2b222e64043365b10445aa3ebc747a88cbb3dd39ea
4
+ data.tar.gz: a87f27692ad0f8f0341f60fbd077468ab7d9f6a52fc6d7c380339ca054a32ec6
5
5
  SHA512:
6
- metadata.gz: 3d173dc0f428264f2eaba63baf543e849525871cf7981f769fa72aa1ee8896b0b042b262ef0a0d3687423892ae9d2cfd5e28487100a887d78b703af83f847de2
7
- data.tar.gz: ecfee323ba2035466bbb7efa6fd34a3af1339046ddc93f13de6a88dae9d65b4a65960bed69baa08b738e193cd050e66363699e682f051e0e4e5b5ab38a176007
6
+ metadata.gz: 5efd5d62be52c22f814bad1afc08e446b60cc97338c205ab10b84357c875d22b1429b5b442e892b7a3d4f67ddd874ed0b101025b4f7ea66c4a26713b044a43f5
7
+ data.tar.gz: b60237273ab6edb899e46b8ae2db68d8064ae476e34139f9b5e653e7f89b6a4159f12a1895d50984e2f2f762723bc9ead7a9c9ccc629d28525d0a592af169522
data/README.md CHANGED
@@ -34,43 +34,23 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
34
34
  <!-- This table is regenerated and resorted on each release -->
35
35
  <table id='team'>
36
36
  <tr>
37
- <td id='felix-krause'>
38
- <a href='https://github.com/KrauseFx'>
39
- <img src='https://github.com/KrauseFx.png?size=140'>
40
- </a>
41
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
42
- </td>
43
- <td id='olivier-halligon'>
44
- <a href='https://github.com/AliSoftware'>
45
- <img src='https://github.com/AliSoftware.png?size=140'>
46
- </a>
47
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
48
- </td>
49
- <td id='danielle-tomlinson'>
50
- <a href='https://github.com/endocrimes'>
51
- <img src='https://github.com/endocrimes.png?size=140'>
52
- </a>
53
- <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
54
- </td>
55
- <td id='luka-mirosevic'>
56
- <a href='https://github.com/lmirosevic'>
57
- <img src='https://github.com/lmirosevic.png?size=140'>
37
+ <td id='josh-holtz'>
38
+ <a href='https://github.com/joshdholtz'>
39
+ <img src='https://github.com/joshdholtz.png?size=140'>
58
40
  </a>
59
- <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
41
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
60
42
  </td>
61
- <td id='kohki-miki'>
62
- <a href='https://github.com/giginet'>
63
- <img src='https://github.com/giginet.png?size=140'>
43
+ <td id='jan-piotrowski'>
44
+ <a href='https://github.com/janpio'>
45
+ <img src='https://github.com/janpio.png?size=140'>
64
46
  </a>
65
- <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
47
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
66
48
  </td>
67
- </tr>
68
- <tr>
69
- <td id='aaron-brager'>
70
- <a href='https://github.com/getaaron'>
71
- <img src='https://github.com/getaaron.png?size=140'>
49
+ <td id='jérôme-lacoste'>
50
+ <a href='https://github.com/lacostej'>
51
+ <img src='https://github.com/lacostej.png?size=140'>
72
52
  </a>
73
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
53
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
74
54
  </td>
75
55
  <td id='andrew-mcburney'>
76
56
  <a href='https://github.com/armcburney'>
@@ -84,63 +64,77 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
84
64
  </a>
85
65
  <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
86
66
  </td>
87
- <td id='joshua-liebowitz'>
88
- <a href='https://github.com/taquitos'>
89
- <img src='https://github.com/taquitos.png?size=140'>
90
- </a>
91
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
92
- </td>
93
- <td id='jimmy-dee'>
94
- <a href='https://github.com/jdee'>
95
- <img src='https://github.com/jdee.png?size=140'>
96
- </a>
97
- <h4 align='center'>Jimmy Dee</h4>
98
- </td>
99
67
  </tr>
100
68
  <tr>
69
+ <td id='luka-mirosevic'>
70
+ <a href='https://github.com/lmirosevic'>
71
+ <img src='https://github.com/lmirosevic.png?size=140'>
72
+ </a>
73
+ <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
74
+ </td>
101
75
  <td id='stefan-natchev'>
102
76
  <a href='https://github.com/snatchev'>
103
77
  <img src='https://github.com/snatchev.png?size=140'>
104
78
  </a>
105
79
  <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
106
80
  </td>
107
- <td id='jan-piotrowski'>
108
- <a href='https://github.com/janpio'>
109
- <img src='https://github.com/janpio.png?size=140'>
81
+ <td id='manu-wallner'>
82
+ <a href='https://github.com/milch'>
83
+ <img src='https://github.com/milch.png?size=140'>
110
84
  </a>
111
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
85
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
112
86
  </td>
113
- <td id='maksym-grebenets'>
114
- <a href='https://github.com/mgrebenets'>
115
- <img src='https://github.com/mgrebenets.png?size=140'>
87
+ <td id='fumiya-nakamura'>
88
+ <a href='https://github.com/nafu'>
89
+ <img src='https://github.com/nafu.png?size=140'>
116
90
  </a>
117
- <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
91
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
118
92
  </td>
93
+ <td id='iulian-onofrei'>
94
+ <a href='https://github.com/revolter'>
95
+ <img src='https://github.com/revolter.png?size=140'>
96
+ </a>
97
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
98
+ </td>
99
+ </tr>
100
+ <tr>
119
101
  <td id='max-ott'>
120
102
  <a href='https://github.com/max-ott'>
121
103
  <img src='https://github.com/max-ott.png?size=140'>
122
104
  </a>
123
105
  <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
124
106
  </td>
125
- <td id='jérôme-lacoste'>
126
- <a href='https://github.com/lacostej'>
127
- <img src='https://github.com/lacostej.png?size=140'>
107
+ <td id='olivier-halligon'>
108
+ <a href='https://github.com/AliSoftware'>
109
+ <img src='https://github.com/AliSoftware.png?size=140'>
128
110
  </a>
129
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
111
+ <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
112
+ </td>
113
+ <td id='aaron-brager'>
114
+ <a href='https://github.com/getaaron'>
115
+ <img src='https://github.com/getaaron.png?size=140'>
116
+ </a>
117
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
118
+ </td>
119
+ <td id='helmut-januschka'>
120
+ <a href='https://github.com/hjanuschka'>
121
+ <img src='https://github.com/hjanuschka.png?size=140'>
122
+ </a>
123
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
130
124
  </td>
131
- </tr>
132
- <tr>
133
125
  <td id='matthew-ellis'>
134
126
  <a href='https://github.com/matthewellis'>
135
127
  <img src='https://github.com/matthewellis.png?size=140'>
136
128
  </a>
137
129
  <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
138
130
  </td>
139
- <td id='fumiya-nakamura'>
140
- <a href='https://github.com/nafu'>
141
- <img src='https://github.com/nafu.png?size=140'>
131
+ </tr>
132
+ <tr>
133
+ <td id='joshua-liebowitz'>
134
+ <a href='https://github.com/taquitos'>
135
+ <img src='https://github.com/taquitos.png?size=140'>
142
136
  </a>
143
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
137
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
144
138
  </td>
145
139
  <td id='daniel-jankowski'>
146
140
  <a href='https://github.com/mollyIV'>
@@ -148,31 +142,37 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
148
142
  </a>
149
143
  <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
150
144
  </td>
151
- <td id='manu-wallner'>
152
- <a href='https://github.com/milch'>
153
- <img src='https://github.com/milch.png?size=140'>
145
+ <td id='maksym-grebenets'>
146
+ <a href='https://github.com/mgrebenets'>
147
+ <img src='https://github.com/mgrebenets.png?size=140'>
154
148
  </a>
155
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
149
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
156
150
  </td>
157
- <td id='helmut-januschka'>
158
- <a href='https://github.com/hjanuschka'>
159
- <img src='https://github.com/hjanuschka.png?size=140'>
151
+ <td id='danielle-tomlinson'>
152
+ <a href='https://github.com/endocrimes'>
153
+ <img src='https://github.com/endocrimes.png?size=140'>
160
154
  </a>
161
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
155
+ <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
156
+ </td>
157
+ <td id='kohki-miki'>
158
+ <a href='https://github.com/giginet'>
159
+ <img src='https://github.com/giginet.png?size=140'>
160
+ </a>
161
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
162
162
  </td>
163
163
  </tr>
164
164
  <tr>
165
- <td id='iulian-onofrei'>
166
- <a href='https://github.com/revolter'>
167
- <img src='https://github.com/revolter.png?size=140'>
165
+ <td id='felix-krause'>
166
+ <a href='https://github.com/KrauseFx'>
167
+ <img src='https://github.com/KrauseFx.png?size=140'>
168
168
  </a>
169
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
169
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
170
170
  </td>
171
- <td id='josh-holtz'>
172
- <a href='https://github.com/joshdholtz'>
173
- <img src='https://github.com/joshdholtz.png?size=140'>
171
+ <td id='jimmy-dee'>
172
+ <a href='https://github.com/jdee'>
173
+ <img src='https://github.com/jdee.png?size=140'>
174
174
  </a>
175
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
175
+ <h4 align='center'>Jimmy Dee</h4>
176
176
  </td>
177
177
  </table>
178
178
 
@@ -111,7 +111,11 @@ module Deliver
111
111
  end
112
112
 
113
113
  # Needed for to filter out release notes from being sent up
114
- number_of_versions = app.get_app_store_versions(filter: { platform: platform }, limit: 2).size
114
+ number_of_versions = Spaceship::ConnectAPI.get_app_store_versions(
115
+ app_id: app.id,
116
+ filter: { platform: platform },
117
+ limit: 2
118
+ ).count
115
119
  is_first_version = number_of_versions == 1
116
120
  UI.verbose("Version '#{version.version_string}' is the first version on App Store Connect") if is_first_version
117
121
 
@@ -32,7 +32,7 @@ For all commands, you can either use an [API Key](#app-store-connect-api-key) or
32
32
 
33
33
  The App Store Connect API Key is the preferred authentication method (if you are able to use it).
34
34
 
35
- - Uses offial App Store Connect API
35
+ - Uses official App Store Connect API
36
36
  - No need for 2FA
37
37
  - Better performance over Apple ID
38
38
 
@@ -159,7 +159,7 @@ module Fastlane
159
159
  latest_build = Spaceship::ConnectAPI.get_builds(filter: filter, sort: "-uploadedDate", includes: "preReleaseVersion").first
160
160
 
161
161
  if latest_build.nil?
162
- UI.user_error!("Could not find latest bulid for version #{version}")
162
+ UI.user_error!("Could not find latest build for version #{version}")
163
163
  end
164
164
 
165
165
  return latest_build
@@ -45,6 +45,8 @@ module Fastlane
45
45
  command = %w(git describe)
46
46
  command << '--tags' if match_lightweight
47
47
  command << hash
48
+ command << '--match' if tag_match_pattern
49
+ command << tag_match_pattern if tag_match_pattern
48
50
  Actions.sh(*command.compact, log: false).chomp
49
51
  rescue
50
52
  nil
@@ -188,6 +188,8 @@ module Fastlane
188
188
 
189
189
  def write_lanefile(lanefile_implementation_opening: nil, class_name: nil, tool_name: nil)
190
190
  disclaimer = []
191
+ disclaimer << "// *bait*" # As we are using a custom common header, we have to bait with a random comment so it does not remove important text.
192
+ disclaimer << ""
191
193
  disclaimer << "// This class is automatically included in FastlaneRunner during build"
192
194
  disclaimer << ""
193
195
  disclaimer << "// This autogenerated file will be overwritten or replaced during build time, or when you initialize `#{tool_name}`"
@@ -223,7 +225,7 @@ module Fastlane
223
225
  header << "// new group so that it won't be marked for upgrade"
224
226
  header << "//"
225
227
  header << ""
226
- header << "class #{tool_detail.swift_class}: #{tool_detail.swift_protocol} {"
228
+ header << "public class #{tool_detail.swift_class}: #{tool_detail.swift_protocol} {"
227
229
  lanefile_implementation_opening = header.join("\n")
228
230
 
229
231
  files_generated << write_lanefile(
@@ -284,7 +286,7 @@ func parseInt(fromString: String, function: String = #function) -> Int {
284
286
 
285
287
  def generate_lanefile_tool_objects(classes: nil)
286
288
  objects = classes.map do |filename|
287
- "let #{filename.downcase}: #{filename} = #{filename}()"
289
+ "public let #{filename.downcase}: #{filename} = #{filename}()"
288
290
  end
289
291
  return objects
290
292
  end
@@ -362,12 +364,12 @@ func parseInt(fromString: String, function: String = #function) -> Int {
362
364
  protocol_content_array = []
363
365
  protocol_name = tool_swift_function.protocol_name
364
366
 
365
- protocol_content_array << "protocol #{protocol_name}: class {"
367
+ protocol_content_array << "public protocol #{protocol_name}: class {"
366
368
  protocol_content_array += tool_swift_function.swift_vars
367
369
  protocol_content_array << "}"
368
370
  protocol_content_array << ""
369
371
 
370
- protocol_content_array << "extension #{protocol_name} {"
372
+ protocol_content_array << "public extension #{protocol_name} {"
371
373
  protocol_content_array += tool_swift_function.swift_default_implementations
372
374
  protocol_content_array << "}"
373
375
  protocol_content_array << ""
@@ -206,7 +206,7 @@ module Fastlane
206
206
  # This just creates a string with as many spaces are necessary given whether or not
207
207
  # the function has a 'discardableResult' annotation, the 'func' keyword, function name
208
208
  # and the opening paren.
209
- function_keyword_definition = 'func '
209
+ function_keyword_definition = 'public func '
210
210
  open_paren = '('
211
211
  closed_paren = ')'
212
212
  indent = ' ' * (discardable_result.length + function_name.length + function_keyword_definition.length + open_paren.length)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.158.0'.freeze
2
+ VERSION = '2.159.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
@@ -1,4 +1,5 @@
1
- // This class is automatically included in FastlaneRunner during build
1
+ // Actions.swift
2
+ // Copyright (c) 2020 FastlaneTools
2
3
 
3
4
  // This autogenerated file will be overwritten or replaced when running "fastlane generate_swift"
4
5
  //
@@ -1,7 +1,5 @@
1
- // This class is automatically included in FastlaneRunner during build
2
- // If you have a custom Appfile.swift, this file will be replaced by it
3
- // Don't modify this file unless you are familiar with how fastlane's swift code generation works
4
- // *** This file will be overwritten or replaced during build time ***
1
+ // Appfile.swift
2
+ // Copyright (c) 2020 FastlaneTools
5
3
 
6
4
  var appIdentifier: String { return "" } // The bundle identifier of your app
7
5
  var appleID: String { return "" } // Your Apple email address
@@ -1,9 +1,5 @@
1
- //
2
- // ArgumentProcessor.swift
3
- // FastlaneRunner
4
- //
5
- // Created by Joshua Liebowitz on 9/28/17.
6
- //
1
+ // ArgumentProcessor.swift
2
+ // Copyright (c) 2020 FastlaneTools
7
3
 
8
4
  //
9
5
  // ** NOTE **
@@ -1,8 +1,5 @@
1
- //
2
- // ControlCommand.swift
3
- // FastlaneRunner
4
- //
5
- // Created by Joshua Liebowitz on 1/3/18.
1
+ // ControlCommand.swift
2
+ // Copyright (c) 2020 FastlaneTools
6
3
 
7
4
  //
8
5
  // ** NOTE **
@@ -1,3 +1,6 @@
1
+ // Deliverfile.swift
2
+ // Copyright (c) 2020 FastlaneTools
3
+
1
4
  // This class is automatically included in FastlaneRunner during build
2
5
 
3
6
  // This autogenerated file will be overwritten or replaced during build time, or when you initialize `deliver`
@@ -8,10 +11,10 @@
8
11
  // new group so that it won't be marked for upgrade
9
12
  //
10
13
 
11
- class Deliverfile: DeliverfileProtocol {
14
+ public class Deliverfile: DeliverfileProtocol {
12
15
  // If you want to enable `deliver`, run `fastlane deliver init`
13
16
  // After, this file will be replaced with a custom implementation that contains values you supplied
14
17
  // during the `init` process, and you won't see this message
15
18
  }
16
19
 
17
- // Generated with fastlane 2.158.0
20
+ // Generated with fastlane 2.159.0
@@ -1,4 +1,7 @@
1
- protocol DeliverfileProtocol: class {
1
+ // DeliverfileProtocol.swift
2
+ // Copyright (c) 2020 FastlaneTools
3
+
4
+ public protocol DeliverfileProtocol: class {
2
5
  /// Your Apple ID Username
3
6
  var username: String { get }
4
7
 
@@ -180,7 +183,7 @@ protocol DeliverfileProtocol: class {
180
183
  var app: String { get }
181
184
  }
182
185
 
183
- extension DeliverfileProtocol {
186
+ public extension DeliverfileProtocol {
184
187
  var username: String { return "" }
185
188
  var appIdentifier: String? { return nil }
186
189
  var appVersion: String? { return nil }
@@ -245,4 +248,4 @@ extension DeliverfileProtocol {
245
248
 
246
249
  // Please don't remove the lines below
247
250
  // They are used to detect outdated files
248
- // FastlaneRunnerAPIVersion [0.9.40]
251
+ // FastlaneRunnerAPIVersion [0.9.42]
@@ -5,7 +5,11 @@
5
5
 
6
6
  import Foundation
7
7
 
8
- class Fastfile: LaneFile { }
8
+ open class Fastfile: LaneFile {
9
+ override public init() {
10
+ super.init()
11
+ }
12
+ }
9
13
 
10
14
  // Please don't remove the lines below
11
15
  // They are used to detect outdated files
@@ -1,3 +1,6 @@
1
+ // Fastlane.swift
2
+ // Copyright (c) 2020 FastlaneTools
3
+
1
4
  import Foundation
2
5
  /**
3
6
  Run ADB Actions
@@ -11,9 +14,9 @@ import Foundation
11
14
 
12
15
  see adb --help for more details
13
16
  */
14
- @discardableResult func adb(serial: String = "",
15
- command: String? = nil,
16
- adbPath: String = "adb") -> String
17
+ @discardableResult public func adb(serial: String = "",
18
+ command: String? = nil,
19
+ adbPath: String = "adb") -> String
17
20
  {
18
21
  let command = RubyCommand(commandID: "", methodName: "adb", className: nil, args: [RubyCommand.Argument(name: "serial", value: serial),
19
22
  RubyCommand.Argument(name: "command", value: command),
@@ -30,7 +33,7 @@ import Foundation
30
33
 
31
34
  Fetches device list via adb, e.g. run an adb command on all connected devices.
32
35
  */
33
- func adbDevices(adbPath: String = "adb") {
36
+ public func adbDevices(adbPath: String = "adb") {
34
37
  let command = RubyCommand(commandID: "", methodName: "adb_devices", className: nil, args: [RubyCommand.Argument(name: "adb_path", value: adbPath)])
35
38
  _ = runner.executeCommand(command)
36
39
  }
@@ -40,7 +43,7 @@ func adbDevices(adbPath: String = "adb") {
40
43
 
41
44
  - parameter platforms: The optional extra platforms to support
42
45
  */
43
- func addExtraPlatforms(platforms: [String] = []) {
46
+ public func addExtraPlatforms(platforms: [String] = []) {
44
47
  let command = RubyCommand(commandID: "", methodName: "add_extra_platforms", className: nil, args: [RubyCommand.Argument(name: "platforms", value: platforms)])
45
48
  _ = runner.executeCommand(command)
46
49
  }
@@ -69,15 +72,15 @@ func addExtraPlatforms(platforms: [String] = []) {
69
72
  >|
70
73
  For example, for build 1234 in the 'appstore' lane, it will tag the commit with `builds/appstore/1234`.
71
74
  */
72
- func addGitTag(tag: String? = nil,
73
- grouping: String = "builds",
74
- prefix: String = "",
75
- postfix: String = "",
76
- buildNumber: Any,
77
- message: String? = nil,
78
- commit: String? = nil,
79
- force: Bool = false,
80
- sign: Bool = false)
75
+ public func addGitTag(tag: String? = nil,
76
+ grouping: String = "builds",
77
+ prefix: String = "",
78
+ postfix: String = "",
79
+ buildNumber: Any,
80
+ message: String? = nil,
81
+ commit: String? = nil,
82
+ force: Bool = false,
83
+ sign: Bool = false)
81
84
  {
82
85
  let command = RubyCommand(commandID: "", methodName: "add_git_tag", className: nil, args: [RubyCommand.Argument(name: "tag", value: tag),
83
86
  RubyCommand.Argument(name: "grouping", value: grouping),
@@ -107,14 +110,14 @@ func addGitTag(tag: String? = nil,
107
110
  Returns the current build number of either the live or testflight version - it is useful for getting the build_number of the current or ready-for-sale app version, and it also works on non-live testflight version.
108
111
  If you need to handle more build-trains please see `latest_testflight_build_number`.
109
112
  */
110
- func appStoreBuildNumber(initialBuildNumber: Any,
111
- appIdentifier: String,
112
- username: String,
113
- teamId: Any? = nil,
114
- live: Bool = true,
115
- version: String? = nil,
116
- platform: String = "ios",
117
- teamName: String? = nil)
113
+ public func appStoreBuildNumber(initialBuildNumber: Any,
114
+ appIdentifier: String,
115
+ username: String,
116
+ teamId: Any? = nil,
117
+ live: Bool = true,
118
+ version: String? = nil,
119
+ platform: String = "ios",
120
+ teamName: String? = nil)
118
121
  {
119
122
  let command = RubyCommand(commandID: "", methodName: "app_store_build_number", className: nil, args: [RubyCommand.Argument(name: "initial_build_number", value: initialBuildNumber),
120
123
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
@@ -140,12 +143,12 @@ func appStoreBuildNumber(initialBuildNumber: Any,
140
143
 
141
144
  Load the App Store Connect API token to use in other fastlane tools and actions
142
145
  */
143
- func appStoreConnectApiKey(keyId: String,
144
- issuerId: String,
145
- keyFilepath: String? = nil,
146
- keyContent: String? = nil,
147
- duration: Int? = nil,
148
- inHouse: Bool? = nil)
146
+ public func appStoreConnectApiKey(keyId: String,
147
+ issuerId: String,
148
+ keyFilepath: String? = nil,
149
+ keyContent: String? = nil,
150
+ duration: Int? = nil,
151
+ inHouse: Bool? = nil)
149
152
  {
150
153
  let command = RubyCommand(commandID: "", methodName: "app_store_connect_api_key", className: nil, args: [RubyCommand.Argument(name: "key_id", value: keyId),
151
154
  RubyCommand.Argument(name: "issuer_id", value: issuerId),
@@ -173,14 +176,14 @@ func appStoreConnectApiKey(keyId: String,
173
176
  You can create an account, push to your existing account, or manage your user groups.
174
177
  We accept iOS and Android applications.
175
178
  */
176
- func appaloosa(binary: String,
177
- apiToken: String,
178
- storeId: String,
179
- groupIds: String = "",
180
- screenshots: String,
181
- locale: String = "en-US",
182
- device: String? = nil,
183
- description: String? = nil)
179
+ public func appaloosa(binary: String,
180
+ apiToken: String,
181
+ storeId: String,
182
+ groupIds: String = "",
183
+ screenshots: String,
184
+ locale: String = "en-US",
185
+ device: String? = nil,
186
+ description: String? = nil)
184
187
  {
185
188
  let command = RubyCommand(commandID: "", methodName: "appaloosa", className: nil, args: [RubyCommand.Argument(name: "binary", value: binary),
186
189
  RubyCommand.Argument(name: "api_token", value: apiToken),
@@ -209,13 +212,13 @@ func appaloosa(binary: String,
209
212
 
210
213
  To integrate appetize into your GitHub workflow check out the [device_grid guide](https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/device_grid/README.md).
211
214
  */
212
- func appetize(apiHost: String = "api.appetize.io",
213
- apiToken: String,
214
- url: String? = nil,
215
- platform: String = "ios",
216
- path: String? = nil,
217
- publicKey: String? = nil,
218
- note: String? = nil)
215
+ public func appetize(apiHost: String = "api.appetize.io",
216
+ apiToken: String,
217
+ url: String? = nil,
218
+ platform: String = "ios",
219
+ path: String? = nil,
220
+ publicKey: String? = nil,
221
+ note: String? = nil)
219
222
  {
220
223
  let command = RubyCommand(commandID: "", methodName: "appetize", className: nil, args: [RubyCommand.Argument(name: "api_host", value: apiHost),
221
224
  RubyCommand.Argument(name: "api_token", value: apiToken),
@@ -247,17 +250,17 @@ func appetize(apiHost: String = "api.appetize.io",
247
250
 
248
251
  Check out the [device_grid guide](https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/device_grid/README.md) for more information
249
252
  */
250
- func appetizeViewingUrlGenerator(publicKey: String,
251
- baseUrl: String = "https://appetize.io/embed",
252
- device: String = "iphone5s",
253
- scale: String? = nil,
254
- orientation: String = "portrait",
255
- language: String? = nil,
256
- color: String = "black",
257
- launchUrl: String? = nil,
258
- osVersion: String? = nil,
259
- params: String? = nil,
260
- proxy: String? = nil)
253
+ public func appetizeViewingUrlGenerator(publicKey: String,
254
+ baseUrl: String = "https://appetize.io/embed",
255
+ device: String = "iphone5s",
256
+ scale: String? = nil,
257
+ orientation: String = "portrait",
258
+ language: String? = nil,
259
+ color: String = "black",
260
+ launchUrl: String? = nil,
261
+ osVersion: String? = nil,
262
+ params: String? = nil,
263
+ proxy: String? = nil)
261
264
  {
262
265
  let command = RubyCommand(commandID: "", methodName: "appetize_viewing_url_generator", className: nil, args: [RubyCommand.Argument(name: "public_key", value: publicKey),
263
266
  RubyCommand.Argument(name: "base_url", value: baseUrl),
@@ -287,15 +290,15 @@ func appetizeViewingUrlGenerator(publicKey: String,
287
290
  - caps: Hash of caps for Appium::Driver
288
291
  - appiumLib: Hash of appium_lib for Appium::Driver
289
292
  */
290
- func appium(platform: String,
291
- specPath: String,
292
- appPath: String,
293
- invokeAppiumServer: Bool = true,
294
- host: String = "0.0.0.0",
295
- port: Int = 4723,
296
- appiumPath: String? = nil,
297
- caps: [String: Any]? = nil,
298
- appiumLib: [String: Any]? = nil)
293
+ public func appium(platform: String,
294
+ specPath: String,
295
+ appPath: String,
296
+ invokeAppiumServer: Bool = true,
297
+ host: String = "0.0.0.0",
298
+ port: Int = 4723,
299
+ appiumPath: String? = nil,
300
+ caps: [String: Any]? = nil,
301
+ appiumLib: [String: Any]? = nil)
299
302
  {
300
303
  let command = RubyCommand(commandID: "", methodName: "appium", className: nil, args: [RubyCommand.Argument(name: "platform", value: platform),
301
304
  RubyCommand.Argument(name: "spec_path", value: specPath),
@@ -361,51 +364,51 @@ func appium(platform: String,
361
364
 
362
365
  Runs `appledoc [OPTIONS] <paths to source dirs or files>` for the project
363
366
  */
364
- func appledoc(input: Any,
365
- output: String? = nil,
366
- templates: String? = nil,
367
- docsetInstallPath: String? = nil,
368
- include: String? = nil,
369
- ignore: Any? = nil,
370
- excludeOutput: Any? = nil,
371
- indexDesc: String? = nil,
372
- projectName: String,
373
- projectVersion: String? = nil,
374
- projectCompany: String,
375
- companyId: String? = nil,
376
- createHtml: Bool = false,
377
- createDocset: Bool = false,
378
- installDocset: Bool = false,
379
- publishDocset: Bool = false,
380
- noCreateDocset: Bool = false,
381
- htmlAnchors: String? = nil,
382
- cleanOutput: Bool = false,
383
- docsetBundleId: String? = nil,
384
- docsetBundleName: String? = nil,
385
- docsetDesc: String? = nil,
386
- docsetCopyright: String? = nil,
387
- docsetFeedName: String? = nil,
388
- docsetFeedUrl: String? = nil,
389
- docsetFeedFormats: String? = nil,
390
- docsetPackageUrl: String? = nil,
391
- docsetFallbackUrl: String? = nil,
392
- docsetPublisherId: String? = nil,
393
- docsetPublisherName: String? = nil,
394
- docsetMinXcodeVersion: String? = nil,
395
- docsetPlatformFamily: String? = nil,
396
- docsetCertIssuer: String? = nil,
397
- docsetCertSigner: String? = nil,
398
- docsetBundleFilename: String? = nil,
399
- docsetAtomFilename: String? = nil,
400
- docsetXmlFilename: String? = nil,
401
- docsetPackageFilename: String? = nil,
402
- options: String? = nil,
403
- crossrefFormat: String? = nil,
404
- exitThreshold: Int = 2,
405
- docsSectionTitle: String? = nil,
406
- warnings: String? = nil,
407
- logformat: Any? = nil,
408
- verbose: Any? = nil)
367
+ public func appledoc(input: Any,
368
+ output: String? = nil,
369
+ templates: String? = nil,
370
+ docsetInstallPath: String? = nil,
371
+ include: String? = nil,
372
+ ignore: Any? = nil,
373
+ excludeOutput: Any? = nil,
374
+ indexDesc: String? = nil,
375
+ projectName: String,
376
+ projectVersion: String? = nil,
377
+ projectCompany: String,
378
+ companyId: String? = nil,
379
+ createHtml: Bool = false,
380
+ createDocset: Bool = false,
381
+ installDocset: Bool = false,
382
+ publishDocset: Bool = false,
383
+ noCreateDocset: Bool = false,
384
+ htmlAnchors: String? = nil,
385
+ cleanOutput: Bool = false,
386
+ docsetBundleId: String? = nil,
387
+ docsetBundleName: String? = nil,
388
+ docsetDesc: String? = nil,
389
+ docsetCopyright: String? = nil,
390
+ docsetFeedName: String? = nil,
391
+ docsetFeedUrl: String? = nil,
392
+ docsetFeedFormats: String? = nil,
393
+ docsetPackageUrl: String? = nil,
394
+ docsetFallbackUrl: String? = nil,
395
+ docsetPublisherId: String? = nil,
396
+ docsetPublisherName: String? = nil,
397
+ docsetMinXcodeVersion: String? = nil,
398
+ docsetPlatformFamily: String? = nil,
399
+ docsetCertIssuer: String? = nil,
400
+ docsetCertSigner: String? = nil,
401
+ docsetBundleFilename: String? = nil,
402
+ docsetAtomFilename: String? = nil,
403
+ docsetXmlFilename: String? = nil,
404
+ docsetPackageFilename: String? = nil,
405
+ options: String? = nil,
406
+ crossrefFormat: String? = nil,
407
+ exitThreshold: Int = 2,
408
+ docsSectionTitle: String? = nil,
409
+ warnings: String? = nil,
410
+ logformat: Any? = nil,
411
+ verbose: Any? = nil)
409
412
  {
410
413
  let command = RubyCommand(commandID: "", methodName: "appledoc", className: nil, args: [RubyCommand.Argument(name: "input", value: input),
411
414
  RubyCommand.Argument(name: "output", value: output),
@@ -527,66 +530,66 @@ func appledoc(input: Any,
527
530
  `_upload_to_app_store_(force: true)`
528
531
  If your account is on multiple teams and you need to tell the `iTMSTransporter` which 'provider' to use, you can set the `:itc_provider` option to pass this info.
529
532
  */
530
- func appstore(username: String,
531
- appIdentifier: String? = nil,
532
- appVersion: String? = nil,
533
- ipa: String? = nil,
534
- pkg: String? = nil,
535
- buildNumber: String? = nil,
536
- platform: String = "ios",
537
- editLive: Bool = false,
538
- useLiveVersion: Bool = false,
539
- metadataPath: String? = nil,
540
- screenshotsPath: String? = nil,
541
- skipBinaryUpload: Bool = false,
542
- skipScreenshots: Bool = false,
543
- skipMetadata: Bool = false,
544
- skipAppVersionUpdate: Bool = false,
545
- force: Bool = false,
546
- overwriteScreenshots: Bool = false,
547
- submitForReview: Bool = false,
548
- rejectIfPossible: Bool = false,
549
- automaticRelease: Bool = false,
550
- autoReleaseDate: Int? = nil,
551
- phasedRelease: Bool = false,
552
- resetRatings: Bool = false,
553
- priceTier: Any? = nil,
554
- appRatingConfigPath: String? = nil,
555
- submissionInformation: [String: Any]? = nil,
556
- teamId: Any? = nil,
557
- teamName: String? = nil,
558
- devPortalTeamId: String? = nil,
559
- devPortalTeamName: String? = nil,
560
- itcProvider: String? = nil,
561
- runPrecheckBeforeSubmit: Bool = true,
562
- precheckDefaultRuleLevel: Any = "warn",
563
- individualMetadataItems: [String]? = nil,
564
- appIcon: String? = nil,
565
- appleWatchAppIcon: String? = nil,
566
- copyright: String? = nil,
567
- primaryCategory: String? = nil,
568
- secondaryCategory: String? = nil,
569
- primaryFirstSubCategory: String? = nil,
570
- primarySecondSubCategory: String? = nil,
571
- secondaryFirstSubCategory: String? = nil,
572
- secondarySecondSubCategory: String? = nil,
573
- tradeRepresentativeContactInformation: [String: Any]? = nil,
574
- appReviewInformation: [String: Any]? = nil,
575
- appReviewAttachmentFile: String? = nil,
576
- description: Any? = nil,
577
- name: Any? = nil,
578
- subtitle: [String: Any]? = nil,
579
- keywords: [String: Any]? = nil,
580
- promotionalText: [String: Any]? = nil,
581
- releaseNotes: Any? = nil,
582
- privacyUrl: Any? = nil,
583
- appleTvPrivacyPolicy: Any? = nil,
584
- supportUrl: Any? = nil,
585
- marketingUrl: Any? = nil,
586
- languages: [String]? = nil,
587
- ignoreLanguageDirectoryValidation: Bool = false,
588
- precheckIncludeInAppPurchases: Bool = true,
589
- app: Any)
533
+ public func appstore(username: String,
534
+ appIdentifier: String? = nil,
535
+ appVersion: String? = nil,
536
+ ipa: String? = nil,
537
+ pkg: String? = nil,
538
+ buildNumber: String? = nil,
539
+ platform: String = "ios",
540
+ editLive: Bool = false,
541
+ useLiveVersion: Bool = false,
542
+ metadataPath: String? = nil,
543
+ screenshotsPath: String? = nil,
544
+ skipBinaryUpload: Bool = false,
545
+ skipScreenshots: Bool = false,
546
+ skipMetadata: Bool = false,
547
+ skipAppVersionUpdate: Bool = false,
548
+ force: Bool = false,
549
+ overwriteScreenshots: Bool = false,
550
+ submitForReview: Bool = false,
551
+ rejectIfPossible: Bool = false,
552
+ automaticRelease: Bool = false,
553
+ autoReleaseDate: Int? = nil,
554
+ phasedRelease: Bool = false,
555
+ resetRatings: Bool = false,
556
+ priceTier: Any? = nil,
557
+ appRatingConfigPath: String? = nil,
558
+ submissionInformation: [String: Any]? = nil,
559
+ teamId: Any? = nil,
560
+ teamName: String? = nil,
561
+ devPortalTeamId: String? = nil,
562
+ devPortalTeamName: String? = nil,
563
+ itcProvider: String? = nil,
564
+ runPrecheckBeforeSubmit: Bool = true,
565
+ precheckDefaultRuleLevel: Any = "warn",
566
+ individualMetadataItems: [String]? = nil,
567
+ appIcon: String? = nil,
568
+ appleWatchAppIcon: String? = nil,
569
+ copyright: String? = nil,
570
+ primaryCategory: String? = nil,
571
+ secondaryCategory: String? = nil,
572
+ primaryFirstSubCategory: String? = nil,
573
+ primarySecondSubCategory: String? = nil,
574
+ secondaryFirstSubCategory: String? = nil,
575
+ secondarySecondSubCategory: String? = nil,
576
+ tradeRepresentativeContactInformation: [String: Any]? = nil,
577
+ appReviewInformation: [String: Any]? = nil,
578
+ appReviewAttachmentFile: String? = nil,
579
+ description: Any? = nil,
580
+ name: Any? = nil,
581
+ subtitle: [String: Any]? = nil,
582
+ keywords: [String: Any]? = nil,
583
+ promotionalText: [String: Any]? = nil,
584
+ releaseNotes: Any? = nil,
585
+ privacyUrl: Any? = nil,
586
+ appleTvPrivacyPolicy: Any? = nil,
587
+ supportUrl: Any? = nil,
588
+ marketingUrl: Any? = nil,
589
+ languages: [String]? = nil,
590
+ ignoreLanguageDirectoryValidation: Bool = false,
591
+ precheckIncludeInAppPurchases: Bool = true,
592
+ app: Any)
590
593
  {
591
594
  let command = RubyCommand(commandID: "", methodName: "appstore", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
592
595
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
@@ -659,9 +662,9 @@ func appstore(username: String,
659
662
  - appId: Apteligent App ID key e.g. 569f5c87cb99e10e00c7xxxx
660
663
  - apiKey: Apteligent App API key e.g. IXPQIi8yCbHaLliqzRoo065tH0lxxxxx
661
664
  */
662
- func apteligent(dsym: String? = nil,
663
- appId: String,
664
- apiKey: String)
665
+ public func apteligent(dsym: String? = nil,
666
+ appId: String,
667
+ apiKey: String)
665
668
  {
666
669
  let command = RubyCommand(commandID: "", methodName: "apteligent", className: nil, args: [RubyCommand.Argument(name: "dsym", value: dsym),
667
670
  RubyCommand.Argument(name: "app_id", value: appId),
@@ -688,20 +691,20 @@ func apteligent(dsym: String? = nil,
688
691
  - proxyPort: Proxy port
689
692
  - readTimeout: Read timeout
690
693
  */
691
- func artifactory(file: String,
692
- repo: String,
693
- repoPath: String,
694
- endpoint: String,
695
- username: String,
696
- password: String,
697
- properties: [String: Any] = [:],
698
- sslPemFile: String? = nil,
699
- sslVerify: Bool = true,
700
- proxyUsername: String? = nil,
701
- proxyPassword: String? = nil,
702
- proxyAddress: String? = nil,
703
- proxyPort: String? = nil,
704
- readTimeout: String? = nil)
694
+ public func artifactory(file: String,
695
+ repo: String,
696
+ repoPath: String,
697
+ endpoint: String,
698
+ username: String,
699
+ password: String,
700
+ properties: [String: Any] = [:],
701
+ sslPemFile: String? = nil,
702
+ sslVerify: Bool = true,
703
+ proxyUsername: String? = nil,
704
+ proxyPassword: String? = nil,
705
+ proxyAddress: String? = nil,
706
+ proxyPort: String? = nil,
707
+ readTimeout: String? = nil)
705
708
  {
706
709
  let command = RubyCommand(commandID: "", methodName: "artifactory", className: nil, args: [RubyCommand.Argument(name: "file", value: file),
707
710
  RubyCommand.Argument(name: "repo", value: repo),
@@ -737,14 +740,14 @@ func artifactory(file: String,
737
740
 
738
741
  Configures Xcode's Codesigning options of all targets in the project
739
742
  */
740
- func automaticCodeSigning(path: String,
741
- useAutomaticSigning: Bool = false,
742
- teamId: String? = nil,
743
- targets: [String]? = nil,
744
- codeSignIdentity: String? = nil,
745
- profileName: String? = nil,
746
- profileUuid: String? = nil,
747
- bundleIdentifier: String? = nil)
743
+ public func automaticCodeSigning(path: String,
744
+ useAutomaticSigning: Bool = false,
745
+ teamId: String? = nil,
746
+ targets: [String]? = nil,
747
+ codeSignIdentity: String? = nil,
748
+ profileName: String? = nil,
749
+ profileUuid: String? = nil,
750
+ bundleIdentifier: String? = nil)
748
751
  {
749
752
  let command = RubyCommand(commandID: "", methodName: "automatic_code_signing", className: nil, args: [RubyCommand.Argument(name: "path", value: path),
750
753
  RubyCommand.Argument(name: "use_automatic_signing", value: useAutomaticSigning),
@@ -762,7 +765,7 @@ func automaticCodeSigning(path: String,
762
765
 
763
766
  - parameter path: Path to the file you want to backup
764
767
  */
765
- func backupFile(path: String) {
768
+ public func backupFile(path: String) {
766
769
  let command = RubyCommand(commandID: "", methodName: "backup_file", className: nil, args: [RubyCommand.Argument(name: "path", value: path)])
767
770
  _ = runner.executeCommand(command)
768
771
  }
@@ -777,11 +780,11 @@ func backupFile(path: String) {
777
780
  - zipFilename: Filename of the compressed archive. Will be appended by `.xcarchive.zip`. Default value is the output xcarchive filename
778
781
  - versioned: Create a versioned (date and app version) subfolder where to put the archive
779
782
  */
780
- func backupXcarchive(xcarchive: String,
781
- destination: String,
782
- zip: Bool = true,
783
- zipFilename: String? = nil,
784
- versioned: Bool = true)
783
+ public func backupXcarchive(xcarchive: String,
784
+ destination: String,
785
+ zip: Bool = true,
786
+ zipFilename: String? = nil,
787
+ versioned: Bool = true)
785
788
  {
786
789
  let command = RubyCommand(commandID: "", methodName: "backup_xcarchive", className: nil, args: [RubyCommand.Argument(name: "xcarchive", value: xcarchive),
787
790
  RubyCommand.Argument(name: "destination", value: destination),
@@ -813,17 +816,17 @@ func backupXcarchive(xcarchive: String,
813
816
  More info: [https://github.com/HazAT/badge](https://github.com/HazAT/badge)
814
817
  **Note**: If you want to reset the badge back to default, you can use `sh 'git checkout -- <path>/Assets.xcassets/'`.
815
818
  */
816
- func badge(dark: Any? = nil,
817
- custom: String? = nil,
818
- noBadge: Any? = nil,
819
- shield: String? = nil,
820
- alpha: Any? = nil,
821
- path: String = ".",
822
- shieldIoTimeout: Any? = nil,
823
- glob: String? = nil,
824
- alphaChannel: Any? = nil,
825
- shieldGravity: String? = nil,
826
- shieldNoResize: Any? = nil)
819
+ public func badge(dark: Any? = nil,
820
+ custom: String? = nil,
821
+ noBadge: Any? = nil,
822
+ shield: String? = nil,
823
+ alpha: Any? = nil,
824
+ path: String = ".",
825
+ shieldIoTimeout: Any? = nil,
826
+ glob: String? = nil,
827
+ alphaChannel: Any? = nil,
828
+ shieldGravity: String? = nil,
829
+ shieldNoResize: Any? = nil)
827
830
  {
828
831
  let command = RubyCommand(commandID: "", methodName: "badge", className: nil, args: [RubyCommand.Argument(name: "dark", value: dark),
829
832
  RubyCommand.Argument(name: "custom", value: custom),
@@ -852,11 +855,11 @@ func badge(dark: Any? = nil,
852
855
  This should be called from danger.
853
856
  More information in the [device_grid guide](https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/device_grid/README.md).
854
857
  */
855
- func buildAndUploadToAppetize(xcodebuild: [String: Any] = [:],
856
- scheme: String? = nil,
857
- apiToken: String,
858
- publicKey: String? = nil,
859
- note: String? = nil)
858
+ public func buildAndUploadToAppetize(xcodebuild: [String: Any] = [:],
859
+ scheme: String? = nil,
860
+ apiToken: String,
861
+ publicKey: String? = nil,
862
+ note: String? = nil)
860
863
  {
861
864
  let command = RubyCommand(commandID: "", methodName: "build_and_upload_to_appetize", className: nil, args: [RubyCommand.Argument(name: "xcodebuild", value: xcodebuild),
862
865
  RubyCommand.Argument(name: "scheme", value: scheme),
@@ -887,18 +890,18 @@ func buildAndUploadToAppetize(xcodebuild: [String: Any] = [:],
887
890
 
888
891
  Run `./gradlew tasks` to get a list of all available gradle tasks for your project
889
892
  */
890
- func buildAndroidApp(task: String? = nil,
891
- flavor: String? = nil,
892
- buildType: String? = nil,
893
- tasks: [String]? = nil,
894
- flags: String? = nil,
895
- projectDir: String = ".",
896
- gradlePath: String? = nil,
897
- properties: Any? = nil,
898
- systemProperties: Any? = nil,
899
- serial: String = "",
900
- printCommand: Bool = true,
901
- printCommandOutput: Bool = true)
893
+ public func buildAndroidApp(task: String? = nil,
894
+ flavor: String? = nil,
895
+ buildType: String? = nil,
896
+ tasks: [String]? = nil,
897
+ flags: String? = nil,
898
+ projectDir: String = ".",
899
+ gradlePath: String? = nil,
900
+ properties: Any? = nil,
901
+ systemProperties: Any? = nil,
902
+ serial: String = "",
903
+ printCommand: Bool = true,
904
+ printCommandOutput: Bool = true)
902
905
  {
903
906
  let command = RubyCommand(commandID: "", methodName: "build_android_app", className: nil, args: [RubyCommand.Argument(name: "task", value: task),
904
907
  RubyCommand.Argument(name: "flavor", value: flavor),
@@ -968,50 +971,50 @@ func buildAndroidApp(task: String? = nil,
968
971
 
969
972
  More information: https://fastlane.tools/gym
970
973
  */
971
- func buildApp(workspace: String? = nil,
972
- project: String? = nil,
973
- scheme: String? = nil,
974
- clean: Bool = false,
975
- outputDirectory: String = ".",
976
- outputName: String? = nil,
977
- configuration: String? = nil,
978
- silent: Bool = false,
979
- codesigningIdentity: String? = nil,
980
- skipPackageIpa: Bool = false,
981
- skipPackagePkg: Bool = false,
982
- includeSymbols: Bool? = nil,
983
- includeBitcode: Bool? = nil,
984
- exportMethod: String? = nil,
985
- exportOptions: [String: Any]? = nil,
986
- exportXcargs: String? = nil,
987
- skipBuildArchive: Bool? = nil,
988
- skipArchive: Bool? = nil,
989
- skipCodesigning: Bool? = nil,
990
- catalystPlatform: String? = nil,
991
- installerCertName: String? = nil,
992
- buildPath: String? = nil,
993
- archivePath: String? = nil,
994
- derivedDataPath: String? = nil,
995
- resultBundle: Bool = false,
996
- resultBundlePath: String? = nil,
997
- buildlogPath: String = "~/Library/Logs/gym",
998
- sdk: String? = nil,
999
- toolchain: String? = nil,
1000
- destination: String? = nil,
1001
- exportTeamId: String? = nil,
1002
- xcargs: String? = nil,
1003
- xcconfig: String? = nil,
1004
- suppressXcodeOutput: Bool? = nil,
1005
- disableXcpretty: Bool? = nil,
1006
- xcprettyTestFormat: Bool? = nil,
1007
- xcprettyFormatter: String? = nil,
1008
- xcprettyReportJunit: String? = nil,
1009
- xcprettyReportHtml: String? = nil,
1010
- xcprettyReportJson: String? = nil,
1011
- analyzeBuildTime: Bool? = nil,
1012
- xcprettyUtf: Bool? = nil,
1013
- skipProfileDetection: Bool = false,
1014
- clonedSourcePackagesPath: String? = nil)
974
+ public func buildApp(workspace: String? = nil,
975
+ project: String? = nil,
976
+ scheme: String? = nil,
977
+ clean: Bool = false,
978
+ outputDirectory: String = ".",
979
+ outputName: String? = nil,
980
+ configuration: String? = nil,
981
+ silent: Bool = false,
982
+ codesigningIdentity: String? = nil,
983
+ skipPackageIpa: Bool = false,
984
+ skipPackagePkg: Bool = false,
985
+ includeSymbols: Bool? = nil,
986
+ includeBitcode: Bool? = nil,
987
+ exportMethod: String? = nil,
988
+ exportOptions: [String: Any]? = nil,
989
+ exportXcargs: String? = nil,
990
+ skipBuildArchive: Bool? = nil,
991
+ skipArchive: Bool? = nil,
992
+ skipCodesigning: Bool? = nil,
993
+ catalystPlatform: String? = nil,
994
+ installerCertName: String? = nil,
995
+ buildPath: String? = nil,
996
+ archivePath: String? = nil,
997
+ derivedDataPath: String? = nil,
998
+ resultBundle: Bool = false,
999
+ resultBundlePath: String? = nil,
1000
+ buildlogPath: String = "~/Library/Logs/gym",
1001
+ sdk: String? = nil,
1002
+ toolchain: String? = nil,
1003
+ destination: String? = nil,
1004
+ exportTeamId: String? = nil,
1005
+ xcargs: String? = nil,
1006
+ xcconfig: String? = nil,
1007
+ suppressXcodeOutput: Bool? = nil,
1008
+ disableXcpretty: Bool? = nil,
1009
+ xcprettyTestFormat: Bool? = nil,
1010
+ xcprettyFormatter: String? = nil,
1011
+ xcprettyReportJunit: String? = nil,
1012
+ xcprettyReportHtml: String? = nil,
1013
+ xcprettyReportJson: String? = nil,
1014
+ analyzeBuildTime: Bool? = nil,
1015
+ xcprettyUtf: Bool? = nil,
1016
+ skipProfileDetection: Bool = false,
1017
+ clonedSourcePackagesPath: String? = nil)
1015
1018
  {
1016
1019
  let command = RubyCommand(commandID: "", methodName: "build_app", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
1017
1020
  RubyCommand.Argument(name: "project", value: project),
@@ -1110,47 +1113,47 @@ func buildApp(workspace: String? = nil,
1110
1113
 
1111
1114
  More information: https://fastlane.tools/gym
1112
1115
  */
1113
- func buildIosApp(workspace: String? = nil,
1114
- project: String? = nil,
1115
- scheme: String? = nil,
1116
- clean: Bool = false,
1117
- outputDirectory: String = ".",
1118
- outputName: String? = nil,
1119
- configuration: String? = nil,
1120
- silent: Bool = false,
1121
- codesigningIdentity: String? = nil,
1122
- skipPackageIpa: Bool = false,
1123
- includeSymbols: Bool? = nil,
1124
- includeBitcode: Bool? = nil,
1125
- exportMethod: String? = nil,
1126
- exportOptions: [String: Any]? = nil,
1127
- exportXcargs: String? = nil,
1128
- skipBuildArchive: Bool? = nil,
1129
- skipArchive: Bool? = nil,
1130
- skipCodesigning: Bool? = nil,
1131
- buildPath: String? = nil,
1132
- archivePath: String? = nil,
1133
- derivedDataPath: String? = nil,
1134
- resultBundle: Bool = false,
1135
- resultBundlePath: String? = nil,
1136
- buildlogPath: String = "~/Library/Logs/gym",
1137
- sdk: String? = nil,
1138
- toolchain: String? = nil,
1139
- destination: String? = nil,
1140
- exportTeamId: String? = nil,
1141
- xcargs: String? = nil,
1142
- xcconfig: String? = nil,
1143
- suppressXcodeOutput: Bool? = nil,
1144
- disableXcpretty: Bool? = nil,
1145
- xcprettyTestFormat: Bool? = nil,
1146
- xcprettyFormatter: String? = nil,
1147
- xcprettyReportJunit: String? = nil,
1148
- xcprettyReportHtml: String? = nil,
1149
- xcprettyReportJson: String? = nil,
1150
- analyzeBuildTime: Bool? = nil,
1151
- xcprettyUtf: Bool? = nil,
1152
- skipProfileDetection: Bool = false,
1153
- clonedSourcePackagesPath: String? = nil)
1116
+ public func buildIosApp(workspace: String? = nil,
1117
+ project: String? = nil,
1118
+ scheme: String? = nil,
1119
+ clean: Bool = false,
1120
+ outputDirectory: String = ".",
1121
+ outputName: String? = nil,
1122
+ configuration: String? = nil,
1123
+ silent: Bool = false,
1124
+ codesigningIdentity: String? = nil,
1125
+ skipPackageIpa: Bool = false,
1126
+ includeSymbols: Bool? = nil,
1127
+ includeBitcode: Bool? = nil,
1128
+ exportMethod: String? = nil,
1129
+ exportOptions: [String: Any]? = nil,
1130
+ exportXcargs: String? = nil,
1131
+ skipBuildArchive: Bool? = nil,
1132
+ skipArchive: Bool? = nil,
1133
+ skipCodesigning: Bool? = nil,
1134
+ buildPath: String? = nil,
1135
+ archivePath: String? = nil,
1136
+ derivedDataPath: String? = nil,
1137
+ resultBundle: Bool = false,
1138
+ resultBundlePath: String? = nil,
1139
+ buildlogPath: String = "~/Library/Logs/gym",
1140
+ sdk: String? = nil,
1141
+ toolchain: String? = nil,
1142
+ destination: String? = nil,
1143
+ exportTeamId: String? = nil,
1144
+ xcargs: String? = nil,
1145
+ xcconfig: String? = nil,
1146
+ suppressXcodeOutput: Bool? = nil,
1147
+ disableXcpretty: Bool? = nil,
1148
+ xcprettyTestFormat: Bool? = nil,
1149
+ xcprettyFormatter: String? = nil,
1150
+ xcprettyReportJunit: String? = nil,
1151
+ xcprettyReportHtml: String? = nil,
1152
+ xcprettyReportJson: String? = nil,
1153
+ analyzeBuildTime: Bool? = nil,
1154
+ xcprettyUtf: Bool? = nil,
1155
+ skipProfileDetection: Bool = false,
1156
+ clonedSourcePackagesPath: String? = nil)
1154
1157
  {
1155
1158
  let command = RubyCommand(commandID: "", methodName: "build_ios_app", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
1156
1159
  RubyCommand.Argument(name: "project", value: project),
@@ -1247,48 +1250,48 @@ func buildIosApp(workspace: String? = nil,
1247
1250
 
1248
1251
  More information: https://fastlane.tools/gym
1249
1252
  */
1250
- func buildMacApp(workspace: String? = nil,
1251
- project: String? = nil,
1252
- scheme: String? = nil,
1253
- clean: Bool = false,
1254
- outputDirectory: String = ".",
1255
- outputName: String? = nil,
1256
- configuration: String? = nil,
1257
- silent: Bool = false,
1258
- codesigningIdentity: String? = nil,
1259
- skipPackagePkg: Bool = false,
1260
- includeSymbols: Bool? = nil,
1261
- includeBitcode: Bool? = nil,
1262
- exportMethod: String? = nil,
1263
- exportOptions: [String: Any]? = nil,
1264
- exportXcargs: String? = nil,
1265
- skipBuildArchive: Bool? = nil,
1266
- skipArchive: Bool? = nil,
1267
- skipCodesigning: Bool? = nil,
1268
- installerCertName: String? = nil,
1269
- buildPath: String? = nil,
1270
- archivePath: String? = nil,
1271
- derivedDataPath: String? = nil,
1272
- resultBundle: Bool = false,
1273
- resultBundlePath: String? = nil,
1274
- buildlogPath: String = "~/Library/Logs/gym",
1275
- sdk: String? = nil,
1276
- toolchain: String? = nil,
1277
- destination: String? = nil,
1278
- exportTeamId: String? = nil,
1279
- xcargs: String? = nil,
1280
- xcconfig: String? = nil,
1281
- suppressXcodeOutput: Bool? = nil,
1282
- disableXcpretty: Bool? = nil,
1283
- xcprettyTestFormat: Bool? = nil,
1284
- xcprettyFormatter: String? = nil,
1285
- xcprettyReportJunit: String? = nil,
1286
- xcprettyReportHtml: String? = nil,
1287
- xcprettyReportJson: String? = nil,
1288
- analyzeBuildTime: Bool? = nil,
1289
- xcprettyUtf: Bool? = nil,
1290
- skipProfileDetection: Bool = false,
1291
- clonedSourcePackagesPath: String? = nil)
1253
+ public func buildMacApp(workspace: String? = nil,
1254
+ project: String? = nil,
1255
+ scheme: String? = nil,
1256
+ clean: Bool = false,
1257
+ outputDirectory: String = ".",
1258
+ outputName: String? = nil,
1259
+ configuration: String? = nil,
1260
+ silent: Bool = false,
1261
+ codesigningIdentity: String? = nil,
1262
+ skipPackagePkg: Bool = false,
1263
+ includeSymbols: Bool? = nil,
1264
+ includeBitcode: Bool? = nil,
1265
+ exportMethod: String? = nil,
1266
+ exportOptions: [String: Any]? = nil,
1267
+ exportXcargs: String? = nil,
1268
+ skipBuildArchive: Bool? = nil,
1269
+ skipArchive: Bool? = nil,
1270
+ skipCodesigning: Bool? = nil,
1271
+ installerCertName: String? = nil,
1272
+ buildPath: String? = nil,
1273
+ archivePath: String? = nil,
1274
+ derivedDataPath: String? = nil,
1275
+ resultBundle: Bool = false,
1276
+ resultBundlePath: String? = nil,
1277
+ buildlogPath: String = "~/Library/Logs/gym",
1278
+ sdk: String? = nil,
1279
+ toolchain: String? = nil,
1280
+ destination: String? = nil,
1281
+ exportTeamId: String? = nil,
1282
+ xcargs: String? = nil,
1283
+ xcconfig: String? = nil,
1284
+ suppressXcodeOutput: Bool? = nil,
1285
+ disableXcpretty: Bool? = nil,
1286
+ xcprettyTestFormat: Bool? = nil,
1287
+ xcprettyFormatter: String? = nil,
1288
+ xcprettyReportJunit: String? = nil,
1289
+ xcprettyReportHtml: String? = nil,
1290
+ xcprettyReportJson: String? = nil,
1291
+ analyzeBuildTime: Bool? = nil,
1292
+ xcprettyUtf: Bool? = nil,
1293
+ skipProfileDetection: Bool = false,
1294
+ clonedSourcePackagesPath: String? = nil)
1292
1295
  {
1293
1296
  let command = RubyCommand(commandID: "", methodName: "build_mac_app", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
1294
1297
  RubyCommand.Argument(name: "project", value: project),
@@ -1358,24 +1361,24 @@ func buildMacApp(workspace: String? = nil,
1358
1361
  - without: Exclude gems that are part of the specified named group
1359
1362
  - with: Include gems that are part of the specified named group
1360
1363
  */
1361
- func bundleInstall(binstubs: String? = nil,
1362
- clean: Bool = false,
1363
- fullIndex: Bool = false,
1364
- gemfile: String? = nil,
1365
- jobs: Bool? = nil,
1366
- local: Bool = false,
1367
- deployment: Bool = false,
1368
- noCache: Bool = false,
1369
- noPrune: Bool = false,
1370
- path: String? = nil,
1371
- system: Bool = false,
1372
- quiet: Bool = false,
1373
- retry: Bool? = nil,
1374
- shebang: String? = nil,
1375
- standalone: String? = nil,
1376
- trustPolicy: String? = nil,
1377
- without: String? = nil,
1378
- with: String? = nil)
1364
+ public func bundleInstall(binstubs: String? = nil,
1365
+ clean: Bool = false,
1366
+ fullIndex: Bool = false,
1367
+ gemfile: String? = nil,
1368
+ jobs: Bool? = nil,
1369
+ local: Bool = false,
1370
+ deployment: Bool = false,
1371
+ noCache: Bool = false,
1372
+ noPrune: Bool = false,
1373
+ path: String? = nil,
1374
+ system: Bool = false,
1375
+ quiet: Bool = false,
1376
+ retry: Bool? = nil,
1377
+ shebang: String? = nil,
1378
+ standalone: String? = nil,
1379
+ trustPolicy: String? = nil,
1380
+ without: String? = nil,
1381
+ with: String? = nil)
1379
1382
  {
1380
1383
  let command = RubyCommand(commandID: "", methodName: "bundle_install", className: nil, args: [RubyCommand.Argument(name: "binstubs", value: binstubs),
1381
1384
  RubyCommand.Argument(name: "clean", value: clean),
@@ -1425,28 +1428,28 @@ func bundleInstall(binstubs: String? = nil,
1425
1428
  - useTimestampSuffix: Add timestamp suffix to screenshot filename
1426
1429
  - adbHost: Configure the host used by adb to connect, allows running on remote devices farm
1427
1430
  */
1428
- func captureAndroidScreenshots(androidHome: String? = nil,
1429
- buildToolsVersion: String? = nil,
1430
- locales: [String] = ["en-US"],
1431
- clearPreviousScreenshots: Bool = false,
1432
- outputDirectory: String = "fastlane/metadata/android",
1433
- skipOpenSummary: Bool = false,
1434
- appPackageName: String,
1435
- testsPackageName: String? = nil,
1436
- useTestsInPackages: [String]? = nil,
1437
- useTestsInClasses: [String]? = nil,
1438
- launchArguments: [String]? = nil,
1439
- testInstrumentationRunner: String = "androidx.test.runner.AndroidJUnitRunner",
1440
- endingLocale: String = "en-US",
1441
- useAdbRoot: Bool = false,
1442
- appApkPath: String? = nil,
1443
- testsApkPath: String? = nil,
1444
- specificDevice: String? = nil,
1445
- deviceType: String = "phone",
1446
- exitOnTestFailure: Bool = true,
1447
- reinstallApp: Bool = false,
1448
- useTimestampSuffix: Bool = true,
1449
- adbHost: String? = nil)
1431
+ public func captureAndroidScreenshots(androidHome: String? = nil,
1432
+ buildToolsVersion: String? = nil,
1433
+ locales: [String] = ["en-US"],
1434
+ clearPreviousScreenshots: Bool = false,
1435
+ outputDirectory: String = "fastlane/metadata/android",
1436
+ skipOpenSummary: Bool = false,
1437
+ appPackageName: String,
1438
+ testsPackageName: String? = nil,
1439
+ useTestsInPackages: [String]? = nil,
1440
+ useTestsInClasses: [String]? = nil,
1441
+ launchArguments: [String]? = nil,
1442
+ testInstrumentationRunner: String = "androidx.test.runner.AndroidJUnitRunner",
1443
+ endingLocale: String = "en-US",
1444
+ useAdbRoot: Bool = false,
1445
+ appApkPath: String? = nil,
1446
+ testsApkPath: String? = nil,
1447
+ specificDevice: String? = nil,
1448
+ deviceType: String = "phone",
1449
+ exitOnTestFailure: Bool = true,
1450
+ reinstallApp: Bool = false,
1451
+ useTimestampSuffix: Bool = true,
1452
+ adbHost: String? = nil)
1450
1453
  {
1451
1454
  let command = RubyCommand(commandID: "", methodName: "capture_android_screenshots", className: nil, args: [RubyCommand.Argument(name: "android_home", value: androidHome),
1452
1455
  RubyCommand.Argument(name: "build_tools_version", value: buildToolsVersion),
@@ -1522,50 +1525,50 @@ func captureAndroidScreenshots(androidHome: String? = nil,
1522
1525
  - disableXcpretty: Disable xcpretty formatting of build
1523
1526
  - suppressXcodeOutput: Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
1524
1527
  */
1525
- func captureIosScreenshots(workspace: String? = nil,
1526
- project: String? = nil,
1527
- xcargs: String? = nil,
1528
- xcconfig: String? = nil,
1529
- devices: [String]? = nil,
1530
- languages: [String] = ["en-US"],
1531
- launchArguments: [String] = [""],
1532
- outputDirectory: String = "screenshots",
1533
- outputSimulatorLogs: Bool = false,
1534
- iosVersion: String? = nil,
1535
- skipOpenSummary: Bool = false,
1536
- skipHelperVersionCheck: Bool = false,
1537
- clearPreviousScreenshots: Bool = false,
1538
- reinstallApp: Bool = false,
1539
- eraseSimulator: Bool = false,
1540
- headless: Bool = true,
1541
- overrideStatusBar: Bool = false,
1542
- localizeSimulator: Bool = false,
1543
- darkMode: Bool? = nil,
1544
- appIdentifier: String? = nil,
1545
- addPhotos: [String]? = nil,
1546
- addVideos: [String]? = nil,
1547
- htmlTemplate: String? = nil,
1548
- buildlogPath: String = "~/Library/Logs/snapshot",
1549
- clean: Bool = false,
1550
- testWithoutBuilding: Bool? = nil,
1551
- configuration: String? = nil,
1552
- xcprettyArgs: String? = nil,
1553
- sdk: String? = nil,
1554
- scheme: String? = nil,
1555
- numberOfRetries: Int = 1,
1556
- stopAfterFirstError: Bool = false,
1557
- derivedDataPath: String? = nil,
1558
- resultBundle: Bool = false,
1559
- testTargetName: String? = nil,
1560
- namespaceLogFiles: Any? = nil,
1561
- concurrentSimulators: Bool = true,
1562
- disableSlideToType: Bool = false,
1563
- clonedSourcePackagesPath: String? = nil,
1564
- testplan: String? = nil,
1565
- onlyTesting: Any? = nil,
1566
- skipTesting: Any? = nil,
1567
- disableXcpretty: Bool? = nil,
1568
- suppressXcodeOutput: Bool? = nil)
1528
+ public func captureIosScreenshots(workspace: String? = nil,
1529
+ project: String? = nil,
1530
+ xcargs: String? = nil,
1531
+ xcconfig: String? = nil,
1532
+ devices: [String]? = nil,
1533
+ languages: [String] = ["en-US"],
1534
+ launchArguments: [String] = [""],
1535
+ outputDirectory: String = "screenshots",
1536
+ outputSimulatorLogs: Bool = false,
1537
+ iosVersion: String? = nil,
1538
+ skipOpenSummary: Bool = false,
1539
+ skipHelperVersionCheck: Bool = false,
1540
+ clearPreviousScreenshots: Bool = false,
1541
+ reinstallApp: Bool = false,
1542
+ eraseSimulator: Bool = false,
1543
+ headless: Bool = true,
1544
+ overrideStatusBar: Bool = false,
1545
+ localizeSimulator: Bool = false,
1546
+ darkMode: Bool? = nil,
1547
+ appIdentifier: String? = nil,
1548
+ addPhotos: [String]? = nil,
1549
+ addVideos: [String]? = nil,
1550
+ htmlTemplate: String? = nil,
1551
+ buildlogPath: String = "~/Library/Logs/snapshot",
1552
+ clean: Bool = false,
1553
+ testWithoutBuilding: Bool? = nil,
1554
+ configuration: String? = nil,
1555
+ xcprettyArgs: String? = nil,
1556
+ sdk: String? = nil,
1557
+ scheme: String? = nil,
1558
+ numberOfRetries: Int = 1,
1559
+ stopAfterFirstError: Bool = false,
1560
+ derivedDataPath: String? = nil,
1561
+ resultBundle: Bool = false,
1562
+ testTargetName: String? = nil,
1563
+ namespaceLogFiles: Any? = nil,
1564
+ concurrentSimulators: Bool = true,
1565
+ disableSlideToType: Bool = false,
1566
+ clonedSourcePackagesPath: String? = nil,
1567
+ testplan: String? = nil,
1568
+ onlyTesting: Any? = nil,
1569
+ skipTesting: Any? = nil,
1570
+ disableXcpretty: Bool? = nil,
1571
+ suppressXcodeOutput: Bool? = nil)
1569
1572
  {
1570
1573
  let command = RubyCommand(commandID: "", methodName: "capture_ios_screenshots", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
1571
1574
  RubyCommand.Argument(name: "project", value: project),
@@ -1663,50 +1666,50 @@ func captureIosScreenshots(workspace: String? = nil,
1663
1666
  - disableXcpretty: Disable xcpretty formatting of build
1664
1667
  - suppressXcodeOutput: Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
1665
1668
  */
1666
- func captureScreenshots(workspace: String? = nil,
1667
- project: String? = nil,
1668
- xcargs: String? = nil,
1669
- xcconfig: String? = nil,
1670
- devices: [String]? = nil,
1671
- languages: [String] = ["en-US"],
1672
- launchArguments: [String] = [""],
1673
- outputDirectory: String = "screenshots",
1674
- outputSimulatorLogs: Bool = false,
1675
- iosVersion: String? = nil,
1676
- skipOpenSummary: Bool = false,
1677
- skipHelperVersionCheck: Bool = false,
1678
- clearPreviousScreenshots: Bool = false,
1679
- reinstallApp: Bool = false,
1680
- eraseSimulator: Bool = false,
1681
- headless: Bool = true,
1682
- overrideStatusBar: Bool = false,
1683
- localizeSimulator: Bool = false,
1684
- darkMode: Bool? = nil,
1685
- appIdentifier: String? = nil,
1686
- addPhotos: [String]? = nil,
1687
- addVideos: [String]? = nil,
1688
- htmlTemplate: String? = nil,
1689
- buildlogPath: String = "~/Library/Logs/snapshot",
1690
- clean: Bool = false,
1691
- testWithoutBuilding: Bool? = nil,
1692
- configuration: String? = nil,
1693
- xcprettyArgs: String? = nil,
1694
- sdk: String? = nil,
1695
- scheme: String? = nil,
1696
- numberOfRetries: Int = 1,
1697
- stopAfterFirstError: Bool = false,
1698
- derivedDataPath: String? = nil,
1699
- resultBundle: Bool = false,
1700
- testTargetName: String? = nil,
1701
- namespaceLogFiles: Any? = nil,
1702
- concurrentSimulators: Bool = true,
1703
- disableSlideToType: Bool = false,
1704
- clonedSourcePackagesPath: String? = nil,
1705
- testplan: String? = nil,
1706
- onlyTesting: Any? = nil,
1707
- skipTesting: Any? = nil,
1708
- disableXcpretty: Bool? = nil,
1709
- suppressXcodeOutput: Bool? = nil)
1669
+ public func captureScreenshots(workspace: String? = nil,
1670
+ project: String? = nil,
1671
+ xcargs: String? = nil,
1672
+ xcconfig: String? = nil,
1673
+ devices: [String]? = nil,
1674
+ languages: [String] = ["en-US"],
1675
+ launchArguments: [String] = [""],
1676
+ outputDirectory: String = "screenshots",
1677
+ outputSimulatorLogs: Bool = false,
1678
+ iosVersion: String? = nil,
1679
+ skipOpenSummary: Bool = false,
1680
+ skipHelperVersionCheck: Bool = false,
1681
+ clearPreviousScreenshots: Bool = false,
1682
+ reinstallApp: Bool = false,
1683
+ eraseSimulator: Bool = false,
1684
+ headless: Bool = true,
1685
+ overrideStatusBar: Bool = false,
1686
+ localizeSimulator: Bool = false,
1687
+ darkMode: Bool? = nil,
1688
+ appIdentifier: String? = nil,
1689
+ addPhotos: [String]? = nil,
1690
+ addVideos: [String]? = nil,
1691
+ htmlTemplate: String? = nil,
1692
+ buildlogPath: String = "~/Library/Logs/snapshot",
1693
+ clean: Bool = false,
1694
+ testWithoutBuilding: Bool? = nil,
1695
+ configuration: String? = nil,
1696
+ xcprettyArgs: String? = nil,
1697
+ sdk: String? = nil,
1698
+ scheme: String? = nil,
1699
+ numberOfRetries: Int = 1,
1700
+ stopAfterFirstError: Bool = false,
1701
+ derivedDataPath: String? = nil,
1702
+ resultBundle: Bool = false,
1703
+ testTargetName: String? = nil,
1704
+ namespaceLogFiles: Any? = nil,
1705
+ concurrentSimulators: Bool = true,
1706
+ disableSlideToType: Bool = false,
1707
+ clonedSourcePackagesPath: String? = nil,
1708
+ testplan: String? = nil,
1709
+ onlyTesting: Any? = nil,
1710
+ skipTesting: Any? = nil,
1711
+ disableXcpretty: Bool? = nil,
1712
+ suppressXcodeOutput: Bool? = nil)
1710
1713
  {
1711
1714
  let command = RubyCommand(commandID: "", methodName: "capture_screenshots", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
1712
1715
  RubyCommand.Argument(name: "project", value: project),
@@ -1781,27 +1784,27 @@ func captureScreenshots(workspace: String? = nil,
1781
1784
  - logPath: Path to the xcode build output
1782
1785
  - executable: Path to the `carthage` executable on your machine
1783
1786
  */
1784
- func carthage(command: String = "bootstrap",
1785
- dependencies: [String] = [],
1786
- useSsh: Bool? = nil,
1787
- useSubmodules: Bool? = nil,
1788
- useNetrc: Bool? = nil,
1789
- useBinaries: Bool? = nil,
1790
- noCheckout: Bool? = nil,
1791
- noBuild: Bool? = nil,
1792
- noSkipCurrent: Bool? = nil,
1793
- derivedData: String? = nil,
1794
- verbose: Bool? = nil,
1795
- platform: String? = nil,
1796
- cacheBuilds: Bool = false,
1797
- frameworks: [String] = [],
1798
- output: String? = nil,
1799
- configuration: String? = nil,
1800
- toolchain: String? = nil,
1801
- projectDirectory: String? = nil,
1802
- newResolver: Bool? = nil,
1803
- logPath: String? = nil,
1804
- executable: String = "carthage")
1787
+ public func carthage(command: String = "bootstrap",
1788
+ dependencies: [String] = [],
1789
+ useSsh: Bool? = nil,
1790
+ useSubmodules: Bool? = nil,
1791
+ useNetrc: Bool? = nil,
1792
+ useBinaries: Bool? = nil,
1793
+ noCheckout: Bool? = nil,
1794
+ noBuild: Bool? = nil,
1795
+ noSkipCurrent: Bool? = nil,
1796
+ derivedData: String? = nil,
1797
+ verbose: Bool? = nil,
1798
+ platform: String? = nil,
1799
+ cacheBuilds: Bool = false,
1800
+ frameworks: [String] = [],
1801
+ output: String? = nil,
1802
+ configuration: String? = nil,
1803
+ toolchain: String? = nil,
1804
+ projectDirectory: String? = nil,
1805
+ newResolver: Bool? = nil,
1806
+ logPath: String? = nil,
1807
+ executable: String = "carthage")
1805
1808
  {
1806
1809
  let command = RubyCommand(commandID: "", methodName: "carthage", className: nil, args: [RubyCommand.Argument(name: "command", value: command),
1807
1810
  RubyCommand.Argument(name: "dependencies", value: dependencies),
@@ -1847,18 +1850,18 @@ func carthage(command: String = "bootstrap",
1847
1850
  **Important**: It is recommended to use [match](https://docs.fastlane.tools/actions/match/) according to the [codesigning.guide](https://codesigning.guide) for generating and maintaining your certificates. Use _cert_ directly only if you want full control over what's going on and know more about codesigning.
1848
1851
  Use this action to download the latest code signing identity.
1849
1852
  */
1850
- func cert(development: Bool = false,
1851
- type: String? = nil,
1852
- force: Bool = false,
1853
- generateAppleCerts: Bool = true,
1854
- username: String,
1855
- teamId: String? = nil,
1856
- teamName: String? = nil,
1857
- filename: String? = nil,
1858
- outputPath: String = ".",
1859
- keychainPath: String,
1860
- keychainPassword: String? = nil,
1861
- platform: String = "ios")
1853
+ public func cert(development: Bool = false,
1854
+ type: String? = nil,
1855
+ force: Bool = false,
1856
+ generateAppleCerts: Bool = true,
1857
+ username: String,
1858
+ teamId: String? = nil,
1859
+ teamName: String? = nil,
1860
+ filename: String? = nil,
1861
+ outputPath: String = ".",
1862
+ keychainPath: String,
1863
+ keychainPassword: String? = nil,
1864
+ platform: String = "ios")
1862
1865
  {
1863
1866
  let command = RubyCommand(commandID: "", methodName: "cert", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
1864
1867
  RubyCommand.Argument(name: "type", value: type),
@@ -1895,17 +1898,17 @@ func cert(development: Bool = false,
1895
1898
 
1896
1899
  By default, messages will be collected back to the last tag, but the range can be controlled
1897
1900
  */
1898
- @discardableResult func changelogFromGitCommits(between: Any? = nil,
1899
- commitsCount: Int? = nil,
1900
- path: String = "./",
1901
- pretty: String = "%B",
1902
- dateFormat: String? = nil,
1903
- ancestryPath: Bool = false,
1904
- tagMatchPattern: String? = nil,
1905
- matchLightweightTag: Bool = true,
1906
- quiet: Bool = false,
1907
- includeMerges: Bool? = nil,
1908
- mergeCommitFiltering: String = "include_merges") -> String
1901
+ @discardableResult public func changelogFromGitCommits(between: Any? = nil,
1902
+ commitsCount: Int? = nil,
1903
+ path: String = "./",
1904
+ pretty: String = "%B",
1905
+ dateFormat: String? = nil,
1906
+ ancestryPath: Bool = false,
1907
+ tagMatchPattern: String? = nil,
1908
+ matchLightweightTag: Bool = true,
1909
+ quiet: Bool = false,
1910
+ includeMerges: Bool? = nil,
1911
+ mergeCommitFiltering: String = "include_merges") -> String
1909
1912
  {
1910
1913
  let command = RubyCommand(commandID: "", methodName: "changelog_from_git_commits", className: nil, args: [RubyCommand.Argument(name: "between", value: between),
1911
1914
  RubyCommand.Argument(name: "commits_count", value: commitsCount),
@@ -1932,10 +1935,10 @@ func cert(development: Bool = false,
1932
1935
 
1933
1936
  Information on how to obtain an API token: [http://developer.chatwork.com/ja/authenticate.html](http://developer.chatwork.com/ja/authenticate.html)
1934
1937
  */
1935
- func chatwork(apiToken: String,
1936
- message: String,
1937
- roomid: Any,
1938
- success: Bool = true)
1938
+ public func chatwork(apiToken: String,
1939
+ message: String,
1940
+ roomid: Any,
1941
+ success: Bool = true)
1939
1942
  {
1940
1943
  let command = RubyCommand(commandID: "", methodName: "chatwork", className: nil, args: [RubyCommand.Argument(name: "api_token", value: apiToken),
1941
1944
  RubyCommand.Argument(name: "message", value: message),
@@ -1970,23 +1973,23 @@ func chatwork(apiToken: String,
1970
1973
 
1971
1974
  More information: https://fastlane.tools/precheck
1972
1975
  */
1973
- func checkAppStoreMetadata(appIdentifier: String,
1974
- username: String,
1975
- teamId: String? = nil,
1976
- teamName: String? = nil,
1977
- platform: String = "ios",
1978
- defaultRuleLevel: Any = "error",
1979
- includeInAppPurchases: Bool = true,
1980
- negativeAppleSentiment: Any? = nil,
1981
- placeholderText: Any? = nil,
1982
- otherPlatforms: Any? = nil,
1983
- futureFunctionality: Any? = nil,
1984
- testWords: Any? = nil,
1985
- curseWords: Any? = nil,
1986
- freeStuffInIap: Any? = nil,
1987
- customText: Any? = nil,
1988
- copyrightDate: Any? = nil,
1989
- unreachableUrls: Any? = nil)
1976
+ public func checkAppStoreMetadata(appIdentifier: String,
1977
+ username: String,
1978
+ teamId: String? = nil,
1979
+ teamName: String? = nil,
1980
+ platform: String = "ios",
1981
+ defaultRuleLevel: Any = "error",
1982
+ includeInAppPurchases: Bool = true,
1983
+ negativeAppleSentiment: Any? = nil,
1984
+ placeholderText: Any? = nil,
1985
+ otherPlatforms: Any? = nil,
1986
+ futureFunctionality: Any? = nil,
1987
+ testWords: Any? = nil,
1988
+ curseWords: Any? = nil,
1989
+ freeStuffInIap: Any? = nil,
1990
+ customText: Any? = nil,
1991
+ copyrightDate: Any? = nil,
1992
+ unreachableUrls: Any? = nil)
1990
1993
  {
1991
1994
  let command = RubyCommand(commandID: "", methodName: "check_app_store_metadata", className: nil, args: [RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
1992
1995
  RubyCommand.Argument(name: "username", value: username),
@@ -2017,7 +2020,7 @@ func checkAppStoreMetadata(appIdentifier: String,
2017
2020
 
2018
2021
  Useful if you quickly want to send out a test build by dropping down to the command line and typing something like `fastlane beta`, without leaving your repo in a messy state afterwards.
2019
2022
  */
2020
- func cleanBuildArtifacts(excludePattern: String? = nil) {
2023
+ public func cleanBuildArtifacts(excludePattern: String? = nil) {
2021
2024
  let command = RubyCommand(commandID: "", methodName: "clean_build_artifacts", className: nil, args: [RubyCommand.Argument(name: "exclude_pattern", value: excludePattern)])
2022
2025
  _ = runner.executeCommand(command)
2023
2026
  }
@@ -2027,7 +2030,7 @@ func cleanBuildArtifacts(excludePattern: String? = nil) {
2027
2030
 
2028
2031
  - parameter name: Pod name to be removed from cache
2029
2032
  */
2030
- func cleanCocoapodsCache(name: String? = nil) {
2033
+ public func cleanCocoapodsCache(name: String? = nil) {
2031
2034
  let command = RubyCommand(commandID: "", methodName: "clean_cocoapods_cache", className: nil, args: [RubyCommand.Argument(name: "name", value: name)])
2032
2035
  _ = runner.executeCommand(command)
2033
2036
  }
@@ -2039,7 +2042,7 @@ func cleanCocoapodsCache(name: String? = nil) {
2039
2042
 
2040
2043
  Deletes the Derived Data from path set on Xcode or a supplied path
2041
2044
  */
2042
- func clearDerivedData(derivedDataPath: String = "~/Library/Developer/Xcode/DerivedData") {
2045
+ public func clearDerivedData(derivedDataPath: String = "~/Library/Developer/Xcode/DerivedData") {
2043
2046
  let command = RubyCommand(commandID: "", methodName: "clear_derived_data", className: nil, args: [RubyCommand.Argument(name: "derived_data_path", value: derivedDataPath)])
2044
2047
  _ = runner.executeCommand(command)
2045
2048
  }
@@ -2049,7 +2052,7 @@ func clearDerivedData(derivedDataPath: String = "~/Library/Developer/Xcode/Deriv
2049
2052
 
2050
2053
  - parameter value: The string that should be copied into the clipboard
2051
2054
  */
2052
- func clipboard(value: String) {
2055
+ public func clipboard(value: String) {
2053
2056
  let command = RubyCommand(commandID: "", methodName: "clipboard", className: nil, args: [RubyCommand.Argument(name: "value", value: value)])
2054
2057
  _ = runner.executeCommand(command)
2055
2058
  }
@@ -2067,11 +2070,11 @@ func clipboard(value: String) {
2067
2070
  This action will run cloc to generate a SLOC report that the Jenkins SLOCCount plugin can read.
2068
2071
  See [https://wiki.jenkins-ci.org/display/JENKINS/SLOCCount+Plugin](https://wiki.jenkins-ci.org/display/JENKINS/SLOCCount+Plugin) and [https://github.com/AlDanial/cloc](https://github.com/AlDanial/cloc) for more information.
2069
2072
  */
2070
- func cloc(binaryPath: String = "/usr/local/bin/cloc",
2071
- excludeDir: String? = nil,
2072
- outputDirectory: String = "build",
2073
- sourceDirectory: String = "",
2074
- xml: Bool = true)
2073
+ public func cloc(binaryPath: String = "/usr/local/bin/cloc",
2074
+ excludeDir: String? = nil,
2075
+ outputDirectory: String = "build",
2076
+ sourceDirectory: String = "",
2077
+ xml: Bool = true)
2075
2078
  {
2076
2079
  let command = RubyCommand(commandID: "", methodName: "cloc", className: nil, args: [RubyCommand.Argument(name: "binary_path", value: binaryPath),
2077
2080
  RubyCommand.Argument(name: "exclude_dir", value: excludeDir),
@@ -2084,7 +2087,7 @@ func cloc(binaryPath: String = "/usr/local/bin/cloc",
2084
2087
  /**
2085
2088
  Print a Club Mate in your build output
2086
2089
  */
2087
- func clubmate() {
2090
+ public func clubmate() {
2088
2091
  let command = RubyCommand(commandID: "", methodName: "clubmate", className: nil, args: [])
2089
2092
  _ = runner.executeCommand(command)
2090
2093
  }
@@ -2108,18 +2111,18 @@ func clubmate() {
2108
2111
 
2109
2112
  If you use [CocoaPods](http://cocoapods.org) you can use the `cocoapods` integration to run `pod install` before building your app.
2110
2113
  */
2111
- func cocoapods(repoUpdate: Bool = false,
2112
- cleanInstall: Bool = false,
2113
- silent: Bool = false,
2114
- verbose: Bool = false,
2115
- ansi: Bool = true,
2116
- useBundleExec: Bool = true,
2117
- podfile: String? = nil,
2118
- errorCallback: ((String) -> Void)? = nil,
2119
- tryRepoUpdateOnError: Bool = false,
2120
- deployment: Bool = false,
2121
- clean: Bool = true,
2122
- integrate: Bool = true)
2114
+ public func cocoapods(repoUpdate: Bool = false,
2115
+ cleanInstall: Bool = false,
2116
+ silent: Bool = false,
2117
+ verbose: Bool = false,
2118
+ ansi: Bool = true,
2119
+ useBundleExec: Bool = true,
2120
+ podfile: String? = nil,
2121
+ errorCallback: ((String) -> Void)? = nil,
2122
+ tryRepoUpdateOnError: Bool = false,
2123
+ deployment: Bool = false,
2124
+ clean: Bool = true,
2125
+ integrate: Bool = true)
2123
2126
  {
2124
2127
  let command = RubyCommand(commandID: "", methodName: "cocoapods", className: nil, args: [RubyCommand.Argument(name: "repo_update", value: repoUpdate),
2125
2128
  RubyCommand.Argument(name: "clean_install", value: cleanInstall),
@@ -2155,13 +2158,13 @@ func cocoapods(repoUpdate: Bool = false,
2155
2158
  Out parameters provide the commit sha created, which can be used for later usage for examples such as releases, the direct download link and the full response JSON.
2156
2159
  Documentation: [https://developer.github.com/v3/repos/contents/#create-a-file](https://developer.github.com/v3/repos/contents/#create-a-file).
2157
2160
  */
2158
- @discardableResult func commitGithubFile(repositoryName: String,
2159
- serverUrl: String = "https://api.github.com",
2160
- apiToken: String,
2161
- branch: String = "master",
2162
- path: String,
2163
- message: String? = nil,
2164
- secure: Bool = true) -> [String: String]
2161
+ @discardableResult public func commitGithubFile(repositoryName: String,
2162
+ serverUrl: String = "https://api.github.com",
2163
+ apiToken: String,
2164
+ branch: String = "master",
2165
+ path: String,
2166
+ message: String? = nil,
2167
+ secure: Bool = true) -> [String: String]
2165
2168
  {
2166
2169
  let command = RubyCommand(commandID: "", methodName: "commit_github_file", className: nil, args: [RubyCommand.Argument(name: "repository_name", value: repositoryName),
2167
2170
  RubyCommand.Argument(name: "server_url", value: serverUrl),
@@ -2195,13 +2198,13 @@ func cocoapods(repoUpdate: Bool = false,
2195
2198
  Customize the message with the `:message` option. It defaults to 'Version Bump'.
2196
2199
  If you have other uncommitted changes in your repo, this action will fail. If you started off in a clean repo, and used the _ipa_ and or _sigh_ actions, then you can use the [clean_build_artifacts](https://docs.fastlane.tools/actions/clean_build_artifacts/) action to clean those temporary files up before running this action.
2197
2200
  */
2198
- func commitVersionBump(message: String? = nil,
2199
- xcodeproj: String? = nil,
2200
- force: Bool = false,
2201
- settings: Bool = false,
2202
- ignore: Any? = nil,
2203
- include: [String] = [],
2204
- noVerify: Bool = false)
2201
+ public func commitVersionBump(message: String? = nil,
2202
+ xcodeproj: String? = nil,
2203
+ force: Bool = false,
2204
+ settings: Bool = false,
2205
+ ignore: Any? = nil,
2206
+ include: [String] = [],
2207
+ noVerify: Bool = false)
2205
2208
  {
2206
2209
  let command = RubyCommand(commandID: "", methodName: "commit_version_bump", className: nil, args: [RubyCommand.Argument(name: "message", value: message),
2207
2210
  RubyCommand.Argument(name: "xcodeproj", value: xcodeproj),
@@ -2225,10 +2228,10 @@ func commitVersionBump(message: String? = nil,
2225
2228
  This action copies artifacts to a target directory. It's useful if you have a CI that will pick up these artifacts and attach them to the build. Useful e.g. for storing your `.ipa`s, `.dSYM.zip`s, `.mobileprovision`s, `.cert`s.
2226
2229
  Make sure your `:target_path` is ignored from git, and if you use `reset_git_repo`, make sure the artifacts are added to the exclude list.
2227
2230
  */
2228
- func copyArtifacts(keepOriginal: Bool = true,
2229
- targetPath: Any = "artifacts",
2230
- artifacts: [String] = [],
2231
- failOnMissing: Bool = false)
2231
+ public func copyArtifacts(keepOriginal: Bool = true,
2232
+ targetPath: Any = "artifacts",
2233
+ artifacts: [String] = [],
2234
+ failOnMissing: Bool = false)
2232
2235
  {
2233
2236
  let command = RubyCommand(commandID: "", methodName: "copy_artifacts", className: nil, args: [RubyCommand.Argument(name: "keep_original", value: keepOriginal),
2234
2237
  RubyCommand.Argument(name: "target_path", value: targetPath),
@@ -2257,17 +2260,17 @@ func copyArtifacts(keepOriginal: Bool = true,
2257
2260
  Distributing to Groups: When using the `groups` parameter, it's important to use the group **alias** names for each group you'd like to distribute to. A group's alias can be found in the web UI. If you're viewing the Beta page, you can open the groups dialog by clicking the 'Manage Groups' button.
2258
2261
  This action uses the `submit` binary provided by the Crashlytics framework. If the binary is not found in its usual path, you'll need to specify the path manually by using the `crashlytics_path` option.
2259
2262
  */
2260
- func crashlytics(ipaPath: String? = nil,
2261
- apkPath: String? = nil,
2262
- crashlyticsPath: String? = nil,
2263
- apiToken: String,
2264
- buildSecret: String,
2265
- notesPath: String? = nil,
2266
- notes: String? = nil,
2267
- groups: Any? = nil,
2268
- emails: Any? = nil,
2269
- notifications: Bool = true,
2270
- debug: Bool = false)
2263
+ public func crashlytics(ipaPath: String? = nil,
2264
+ apkPath: String? = nil,
2265
+ crashlyticsPath: String? = nil,
2266
+ apiToken: String,
2267
+ buildSecret: String,
2268
+ notesPath: String? = nil,
2269
+ notes: String? = nil,
2270
+ groups: Any? = nil,
2271
+ emails: Any? = nil,
2272
+ notifications: Bool = true,
2273
+ debug: Bool = false)
2271
2274
  {
2272
2275
  let command = RubyCommand(commandID: "", methodName: "crashlytics", className: nil, args: [RubyCommand.Argument(name: "ipa_path", value: ipaPath),
2273
2276
  RubyCommand.Argument(name: "apk_path", value: apkPath),
@@ -2298,14 +2301,14 @@ func crashlytics(ipaPath: String? = nil,
2298
2301
 
2299
2302
  Create new apps on Managed Google Play.
2300
2303
  */
2301
- func createAppOnManagedPlayStore(jsonKey: String? = nil,
2302
- jsonKeyData: String? = nil,
2303
- developerAccountId: String,
2304
- apk: String,
2305
- appTitle: String,
2306
- language: String = "en_US",
2307
- rootUrl: String? = nil,
2308
- timeout: Int = 300)
2304
+ public func createAppOnManagedPlayStore(jsonKey: String? = nil,
2305
+ jsonKeyData: String? = nil,
2306
+ developerAccountId: String,
2307
+ apk: String,
2308
+ appTitle: String,
2309
+ language: String = "en_US",
2310
+ rootUrl: String? = nil,
2311
+ timeout: Int = 300)
2309
2312
  {
2310
2313
  let command = RubyCommand(commandID: "", methodName: "create_app_on_managed_play_store", className: nil, args: [RubyCommand.Argument(name: "json_key", value: jsonKey),
2311
2314
  RubyCommand.Argument(name: "json_key_data", value: jsonKeyData),
@@ -2346,25 +2349,25 @@ func createAppOnManagedPlayStore(jsonKey: String? = nil,
2346
2349
  If the app already exists, `create_app_online` will not do anything.
2347
2350
  For more information about _produce_, visit its documentation page: [https://docs.fastlane.tools/actions/produce/](https://docs.fastlane.tools/actions/produce/).
2348
2351
  */
2349
- func createAppOnline(username: String,
2350
- appIdentifier: String,
2351
- bundleIdentifierSuffix: String? = nil,
2352
- appName: String,
2353
- appVersion: String? = nil,
2354
- sku: String,
2355
- platform: String = "ios",
2356
- platforms: [String]? = nil,
2357
- language: String = "English",
2358
- companyName: String? = nil,
2359
- skipItc: Bool = false,
2360
- itcUsers: [String]? = nil,
2361
- enabledFeatures: [String: Any] = [:],
2362
- enableServices: [String: Any] = [:],
2363
- skipDevcenter: Bool = false,
2364
- teamId: String? = nil,
2365
- teamName: String? = nil,
2366
- itcTeamId: Any? = nil,
2367
- itcTeamName: String? = nil)
2352
+ public func createAppOnline(username: String,
2353
+ appIdentifier: String,
2354
+ bundleIdentifierSuffix: String? = nil,
2355
+ appName: String,
2356
+ appVersion: String? = nil,
2357
+ sku: String,
2358
+ platform: String = "ios",
2359
+ platforms: [String]? = nil,
2360
+ language: String = "English",
2361
+ companyName: String? = nil,
2362
+ skipItc: Bool = false,
2363
+ itcUsers: [String]? = nil,
2364
+ enabledFeatures: [String: Any] = [:],
2365
+ enableServices: [String: Any] = [:],
2366
+ skipDevcenter: Bool = false,
2367
+ teamId: String? = nil,
2368
+ teamName: String? = nil,
2369
+ itcTeamId: Any? = nil,
2370
+ itcTeamName: String? = nil)
2368
2371
  {
2369
2372
  let command = RubyCommand(commandID: "", methodName: "create_app_online", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
2370
2373
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
@@ -2403,16 +2406,16 @@ func createAppOnline(username: String,
2403
2406
  - addToSearchList: Add keychain to search list
2404
2407
  - requireCreate: Fail the action if the Keychain already exists
2405
2408
  */
2406
- func createKeychain(name: String? = nil,
2407
- path: String? = nil,
2408
- password: String,
2409
- defaultKeychain: Bool = false,
2410
- unlock: Bool = false,
2411
- timeout: Int = 300,
2412
- lockWhenSleeps: Bool = false,
2413
- lockAfterTimeout: Bool = false,
2414
- addToSearchList: Bool = true,
2415
- requireCreate: Bool = false)
2409
+ public func createKeychain(name: String? = nil,
2410
+ path: String? = nil,
2411
+ password: String,
2412
+ defaultKeychain: Bool = false,
2413
+ unlock: Bool = false,
2414
+ timeout: Int = 300,
2415
+ lockWhenSleeps: Bool = false,
2416
+ lockAfterTimeout: Bool = false,
2417
+ addToSearchList: Bool = true,
2418
+ requireCreate: Bool = false)
2416
2419
  {
2417
2420
  let command = RubyCommand(commandID: "", methodName: "create_keychain", className: nil, args: [RubyCommand.Argument(name: "name", value: name),
2418
2421
  RubyCommand.Argument(name: "path", value: path),
@@ -2447,19 +2450,19 @@ func createKeychain(name: String? = nil,
2447
2450
 
2448
2451
  - returns: The pull request URL when successful
2449
2452
  */
2450
- func createPullRequest(apiToken: String,
2451
- repo: String,
2452
- title: String,
2453
- body: String? = nil,
2454
- draft: Bool? = nil,
2455
- labels: [String]? = nil,
2456
- milestone: String? = nil,
2457
- head: String? = nil,
2458
- base: String = "master",
2459
- apiUrl: String = "https://api.github.com",
2460
- assignees: [String]? = nil,
2461
- reviewers: [String]? = nil,
2462
- teamReviewers: [String]? = nil)
2453
+ public func createPullRequest(apiToken: String,
2454
+ repo: String,
2455
+ title: String,
2456
+ body: String? = nil,
2457
+ draft: Bool? = nil,
2458
+ labels: [String]? = nil,
2459
+ milestone: String? = nil,
2460
+ head: String? = nil,
2461
+ base: String = "master",
2462
+ apiUrl: String = "https://api.github.com",
2463
+ assignees: [String]? = nil,
2464
+ reviewers: [String]? = nil,
2465
+ teamReviewers: [String]? = nil)
2463
2466
  {
2464
2467
  let command = RubyCommand(commandID: "", methodName: "create_pull_request", className: nil, args: [RubyCommand.Argument(name: "api_token", value: apiToken),
2465
2468
  RubyCommand.Argument(name: "repo", value: repo),
@@ -2496,17 +2499,17 @@ func createPullRequest(apiToken: String,
2496
2499
  Formalize your Pull Request etiquette.
2497
2500
  More information: [https://github.com/danger/danger](https://github.com/danger/danger).
2498
2501
  */
2499
- func danger(useBundleExec: Bool = true,
2500
- verbose: Bool = false,
2501
- dangerId: String? = nil,
2502
- dangerfile: String? = nil,
2503
- githubApiToken: String? = nil,
2504
- failOnErrors: Bool = false,
2505
- newComment: Bool = false,
2506
- removePreviousComments: Bool = false,
2507
- base: String? = nil,
2508
- head: String? = nil,
2509
- pr: String? = nil)
2502
+ public func danger(useBundleExec: Bool = true,
2503
+ verbose: Bool = false,
2504
+ dangerId: String? = nil,
2505
+ dangerfile: String? = nil,
2506
+ githubApiToken: String? = nil,
2507
+ failOnErrors: Bool = false,
2508
+ newComment: Bool = false,
2509
+ removePreviousComments: Bool = false,
2510
+ base: String? = nil,
2511
+ head: String? = nil,
2512
+ pr: String? = nil)
2510
2513
  {
2511
2514
  let command = RubyCommand(commandID: "", methodName: "danger", className: nil, args: [RubyCommand.Argument(name: "use_bundle_exec", value: useBundleExec),
2512
2515
  RubyCommand.Argument(name: "verbose", value: verbose),
@@ -2525,7 +2528,7 @@ func danger(useBundleExec: Bool = true,
2525
2528
  /**
2526
2529
  Print out an overview of the lane context values
2527
2530
  */
2528
- func debug() {
2531
+ public func debug() {
2529
2532
  let command = RubyCommand(commandID: "", methodName: "debug", className: nil, args: [])
2530
2533
  _ = runner.executeCommand(command)
2531
2534
  }
@@ -2533,7 +2536,7 @@ func debug() {
2533
2536
  /**
2534
2537
  Defines a default platform to not have to specify the platform
2535
2538
  */
2536
- func defaultPlatform() {
2539
+ public func defaultPlatform() {
2537
2540
  let command = RubyCommand(commandID: "", methodName: "default_platform", className: nil, args: [])
2538
2541
  _ = runner.executeCommand(command)
2539
2542
  }
@@ -2547,8 +2550,8 @@ func defaultPlatform() {
2547
2550
 
2548
2551
  Keychains can be deleted after being created with `create_keychain`
2549
2552
  */
2550
- func deleteKeychain(name: String? = nil,
2551
- keychainPath: String? = nil)
2553
+ public func deleteKeychain(name: String? = nil,
2554
+ keychainPath: String? = nil)
2552
2555
  {
2553
2556
  let command = RubyCommand(commandID: "", methodName: "delete_keychain", className: nil, args: [RubyCommand.Argument(name: "name", value: name),
2554
2557
  RubyCommand.Argument(name: "keychain_path", value: keychainPath)])
@@ -2627,66 +2630,66 @@ func deleteKeychain(name: String? = nil,
2627
2630
  `_upload_to_app_store_(force: true)`
2628
2631
  If your account is on multiple teams and you need to tell the `iTMSTransporter` which 'provider' to use, you can set the `:itc_provider` option to pass this info.
2629
2632
  */
2630
- func deliver(username: Any = deliverfile.username,
2631
- appIdentifier: Any? = deliverfile.appIdentifier,
2632
- appVersion: Any? = deliverfile.appVersion,
2633
- ipa: Any? = deliverfile.ipa,
2634
- pkg: Any? = deliverfile.pkg,
2635
- buildNumber: Any? = deliverfile.buildNumber,
2636
- platform: Any = deliverfile.platform,
2637
- editLive: Bool = deliverfile.editLive,
2638
- useLiveVersion: Bool = deliverfile.useLiveVersion,
2639
- metadataPath: Any? = deliverfile.metadataPath,
2640
- screenshotsPath: Any? = deliverfile.screenshotsPath,
2641
- skipBinaryUpload: Bool = deliverfile.skipBinaryUpload,
2642
- skipScreenshots: Bool = deliverfile.skipScreenshots,
2643
- skipMetadata: Bool = deliverfile.skipMetadata,
2644
- skipAppVersionUpdate: Bool = deliverfile.skipAppVersionUpdate,
2645
- force: Bool = deliverfile.force,
2646
- overwriteScreenshots: Bool = deliverfile.overwriteScreenshots,
2647
- submitForReview: Bool = deliverfile.submitForReview,
2648
- rejectIfPossible: Bool = deliverfile.rejectIfPossible,
2649
- automaticRelease: Bool = deliverfile.automaticRelease,
2650
- autoReleaseDate: Int? = deliverfile.autoReleaseDate,
2651
- phasedRelease: Bool = deliverfile.phasedRelease,
2652
- resetRatings: Bool = deliverfile.resetRatings,
2653
- priceTier: Any? = deliverfile.priceTier,
2654
- appRatingConfigPath: Any? = deliverfile.appRatingConfigPath,
2655
- submissionInformation: [String: Any]? = deliverfile.submissionInformation,
2656
- teamId: Any? = deliverfile.teamId,
2657
- teamName: Any? = deliverfile.teamName,
2658
- devPortalTeamId: Any? = deliverfile.devPortalTeamId,
2659
- devPortalTeamName: Any? = deliverfile.devPortalTeamName,
2660
- itcProvider: Any? = deliverfile.itcProvider,
2661
- runPrecheckBeforeSubmit: Bool = deliverfile.runPrecheckBeforeSubmit,
2662
- precheckDefaultRuleLevel: Any = deliverfile.precheckDefaultRuleLevel,
2663
- individualMetadataItems: [String]? = deliverfile.individualMetadataItems,
2664
- appIcon: Any? = deliverfile.appIcon,
2665
- appleWatchAppIcon: Any? = deliverfile.appleWatchAppIcon,
2666
- copyright: Any? = deliverfile.copyright,
2667
- primaryCategory: Any? = deliverfile.primaryCategory,
2668
- secondaryCategory: Any? = deliverfile.secondaryCategory,
2669
- primaryFirstSubCategory: Any? = deliverfile.primaryFirstSubCategory,
2670
- primarySecondSubCategory: Any? = deliverfile.primarySecondSubCategory,
2671
- secondaryFirstSubCategory: Any? = deliverfile.secondaryFirstSubCategory,
2672
- secondarySecondSubCategory: Any? = deliverfile.secondarySecondSubCategory,
2673
- tradeRepresentativeContactInformation: [String: Any]? = deliverfile.tradeRepresentativeContactInformation,
2674
- appReviewInformation: [String: Any]? = deliverfile.appReviewInformation,
2675
- appReviewAttachmentFile: Any? = deliverfile.appReviewAttachmentFile,
2676
- description: Any? = deliverfile.description,
2677
- name: Any? = deliverfile.name,
2678
- subtitle: [String: Any]? = deliverfile.subtitle,
2679
- keywords: [String: Any]? = deliverfile.keywords,
2680
- promotionalText: [String: Any]? = deliverfile.promotionalText,
2681
- releaseNotes: Any? = deliverfile.releaseNotes,
2682
- privacyUrl: Any? = deliverfile.privacyUrl,
2683
- appleTvPrivacyPolicy: Any? = deliverfile.appleTvPrivacyPolicy,
2684
- supportUrl: Any? = deliverfile.supportUrl,
2685
- marketingUrl: Any? = deliverfile.marketingUrl,
2686
- languages: [String]? = deliverfile.languages,
2687
- ignoreLanguageDirectoryValidation: Bool = deliverfile.ignoreLanguageDirectoryValidation,
2688
- precheckIncludeInAppPurchases: Bool = deliverfile.precheckIncludeInAppPurchases,
2689
- app: Any = deliverfile.app)
2633
+ public func deliver(username: Any = deliverfile.username,
2634
+ appIdentifier: Any? = deliverfile.appIdentifier,
2635
+ appVersion: Any? = deliverfile.appVersion,
2636
+ ipa: Any? = deliverfile.ipa,
2637
+ pkg: Any? = deliverfile.pkg,
2638
+ buildNumber: Any? = deliverfile.buildNumber,
2639
+ platform: Any = deliverfile.platform,
2640
+ editLive: Bool = deliverfile.editLive,
2641
+ useLiveVersion: Bool = deliverfile.useLiveVersion,
2642
+ metadataPath: Any? = deliverfile.metadataPath,
2643
+ screenshotsPath: Any? = deliverfile.screenshotsPath,
2644
+ skipBinaryUpload: Bool = deliverfile.skipBinaryUpload,
2645
+ skipScreenshots: Bool = deliverfile.skipScreenshots,
2646
+ skipMetadata: Bool = deliverfile.skipMetadata,
2647
+ skipAppVersionUpdate: Bool = deliverfile.skipAppVersionUpdate,
2648
+ force: Bool = deliverfile.force,
2649
+ overwriteScreenshots: Bool = deliverfile.overwriteScreenshots,
2650
+ submitForReview: Bool = deliverfile.submitForReview,
2651
+ rejectIfPossible: Bool = deliverfile.rejectIfPossible,
2652
+ automaticRelease: Bool = deliverfile.automaticRelease,
2653
+ autoReleaseDate: Int? = deliverfile.autoReleaseDate,
2654
+ phasedRelease: Bool = deliverfile.phasedRelease,
2655
+ resetRatings: Bool = deliverfile.resetRatings,
2656
+ priceTier: Any? = deliverfile.priceTier,
2657
+ appRatingConfigPath: Any? = deliverfile.appRatingConfigPath,
2658
+ submissionInformation: [String: Any]? = deliverfile.submissionInformation,
2659
+ teamId: Any? = deliverfile.teamId,
2660
+ teamName: Any? = deliverfile.teamName,
2661
+ devPortalTeamId: Any? = deliverfile.devPortalTeamId,
2662
+ devPortalTeamName: Any? = deliverfile.devPortalTeamName,
2663
+ itcProvider: Any? = deliverfile.itcProvider,
2664
+ runPrecheckBeforeSubmit: Bool = deliverfile.runPrecheckBeforeSubmit,
2665
+ precheckDefaultRuleLevel: Any = deliverfile.precheckDefaultRuleLevel,
2666
+ individualMetadataItems: [String]? = deliverfile.individualMetadataItems,
2667
+ appIcon: Any? = deliverfile.appIcon,
2668
+ appleWatchAppIcon: Any? = deliverfile.appleWatchAppIcon,
2669
+ copyright: Any? = deliverfile.copyright,
2670
+ primaryCategory: Any? = deliverfile.primaryCategory,
2671
+ secondaryCategory: Any? = deliverfile.secondaryCategory,
2672
+ primaryFirstSubCategory: Any? = deliverfile.primaryFirstSubCategory,
2673
+ primarySecondSubCategory: Any? = deliverfile.primarySecondSubCategory,
2674
+ secondaryFirstSubCategory: Any? = deliverfile.secondaryFirstSubCategory,
2675
+ secondarySecondSubCategory: Any? = deliverfile.secondarySecondSubCategory,
2676
+ tradeRepresentativeContactInformation: [String: Any]? = deliverfile.tradeRepresentativeContactInformation,
2677
+ appReviewInformation: [String: Any]? = deliverfile.appReviewInformation,
2678
+ appReviewAttachmentFile: Any? = deliverfile.appReviewAttachmentFile,
2679
+ description: Any? = deliverfile.description,
2680
+ name: Any? = deliverfile.name,
2681
+ subtitle: [String: Any]? = deliverfile.subtitle,
2682
+ keywords: [String: Any]? = deliverfile.keywords,
2683
+ promotionalText: [String: Any]? = deliverfile.promotionalText,
2684
+ releaseNotes: Any? = deliverfile.releaseNotes,
2685
+ privacyUrl: Any? = deliverfile.privacyUrl,
2686
+ appleTvPrivacyPolicy: Any? = deliverfile.appleTvPrivacyPolicy,
2687
+ supportUrl: Any? = deliverfile.supportUrl,
2688
+ marketingUrl: Any? = deliverfile.marketingUrl,
2689
+ languages: [String]? = deliverfile.languages,
2690
+ ignoreLanguageDirectoryValidation: Bool = deliverfile.ignoreLanguageDirectoryValidation,
2691
+ precheckIncludeInAppPurchases: Bool = deliverfile.precheckIncludeInAppPurchases,
2692
+ app: Any = deliverfile.app)
2690
2693
  {
2691
2694
  let command = RubyCommand(commandID: "", methodName: "deliver", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
2692
2695
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
@@ -2768,15 +2771,15 @@ func deliver(username: Any = deliverfile.username,
2768
2771
  You can retrieve your username and API token on [your settings page](https://deploygate.com/settings).
2769
2772
  More information about the available options can be found in the [DeployGate Push API document](https://deploygate.com/docs/api).
2770
2773
  */
2771
- func deploygate(apiToken: String,
2772
- user: String,
2773
- ipa: String? = nil,
2774
- apk: String? = nil,
2775
- message: String = "No changelog provided",
2776
- distributionKey: String? = nil,
2777
- releaseNote: String? = nil,
2778
- disableNotify: Bool = false,
2779
- distributionName: String? = nil)
2774
+ public func deploygate(apiToken: String,
27