fastlane 2.201.0 → 2.203.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +88 -88
- data/deliver/lib/deliver/runner.rb +19 -2
- data/deliver/lib/deliver/submit_for_review.rb +25 -3
- data/fastlane/lib/fastlane/actions/run_tests.rb +18 -2
- data/fastlane/lib/fastlane/actions/xcov.rb +5 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +1 -1
- data/fastlane/swift/Fastlane.swift +177 -157
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +6 -2
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
- data/fastlane/swift/formatting/Brewfile.lock.json +14 -14
- data/fastlane_core/lib/fastlane_core/.helper.rb.swp +0 -0
- data/scan/lib/scan/.detect_values.rb.swp +0 -0
- data/scan/lib/scan/.runner.rb.swp +0 -0
- data/scan/lib/scan/error_handler.rb +9 -0
- data/scan/lib/scan/options.rb +6 -1
- data/scan/lib/scan/runner.rb +36 -9
- data/scan/lib/scan/test_command_generator.rb +8 -3
- data/spaceship/lib/spaceship/connect_api/models/app.rb +2 -1
- data/trainer/lib/trainer/options.rb +11 -0
- metadata +25 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04571c4f9435056c091703452863225e9513b3f3c802a40a73619c9c210278c3
|
4
|
+
data.tar.gz: b9a374f41e2de5c433ac18be869cc09af8f306d81fdaef87c9499cfc82f7b75f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94746b9aaa46fe097455bde533ab329cb17079370f19ccc42fa0b03bd8224adc74ab3e01b1c4cf12f52eed79a823bc59ea0b80185ee563031d347fed83de9f0a
|
7
|
+
data.tar.gz: 7f5add6730dd66808b570ca618fc1297b4efe0f663fd46963cc39903724928fb0a7a036c08ee33ef493c809dbea7dd5a577a25eae9e877aa26602fa8c63ba7d0
|
data/README.md
CHANGED
@@ -35,23 +35,29 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
35
35
|
<!-- This table is regenerated and resorted on each release -->
|
36
36
|
<table id='team'>
|
37
37
|
<tr>
|
38
|
+
<td id='manu-wallner'>
|
39
|
+
<a href='https://github.com/milch'>
|
40
|
+
<img src='https://github.com/milch.png' width='140px;'>
|
41
|
+
</a>
|
42
|
+
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
43
|
+
</td>
|
44
|
+
<td id='kohki-miki'>
|
45
|
+
<a href='https://github.com/giginet'>
|
46
|
+
<img src='https://github.com/giginet.png' width='140px;'>
|
47
|
+
</a>
|
48
|
+
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
49
|
+
</td>
|
38
50
|
<td id='helmut-januschka'>
|
39
51
|
<a href='https://github.com/hjanuschka'>
|
40
52
|
<img src='https://github.com/hjanuschka.png' width='140px;'>
|
41
53
|
</a>
|
42
54
|
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
43
55
|
</td>
|
44
|
-
<td id='
|
45
|
-
<a href='https://github.com/
|
46
|
-
<img src='https://github.com/
|
47
|
-
</a>
|
48
|
-
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
|
49
|
-
</td>
|
50
|
-
<td id='danielle-tomlinson'>
|
51
|
-
<a href='https://github.com/endocrimes'>
|
52
|
-
<img src='https://github.com/endocrimes.png' width='140px;'>
|
56
|
+
<td id='jan-piotrowski'>
|
57
|
+
<a href='https://github.com/janpio'>
|
58
|
+
<img src='https://github.com/janpio.png' width='140px;'>
|
53
59
|
</a>
|
54
|
-
<h4 align='center'><a href='https://twitter.com/
|
60
|
+
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
|
55
61
|
</td>
|
56
62
|
<td id='stefan-natchev'>
|
57
63
|
<a href='https://github.com/snatchev'>
|
@@ -59,83 +65,83 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
59
65
|
</a>
|
60
66
|
<h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
|
61
67
|
</td>
|
62
|
-
<td id='kohki-miki'>
|
63
|
-
<a href='https://github.com/giginet'>
|
64
|
-
<img src='https://github.com/giginet.png' width='140px;'>
|
65
|
-
</a>
|
66
|
-
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
67
|
-
</td>
|
68
68
|
</tr>
|
69
69
|
<tr>
|
70
|
-
<td id='
|
71
|
-
<a href='https://github.com/
|
72
|
-
<img src='https://github.com/
|
70
|
+
<td id='olivier-halligon'>
|
71
|
+
<a href='https://github.com/AliSoftware'>
|
72
|
+
<img src='https://github.com/AliSoftware.png' width='140px;'>
|
73
73
|
</a>
|
74
|
-
<h4 align='center'><a href='https://twitter.com/
|
74
|
+
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
75
75
|
</td>
|
76
|
-
<td id='
|
77
|
-
<a href='https://github.com/
|
78
|
-
<img src='https://github.com/
|
76
|
+
<td id='łukasz-grabowski'>
|
77
|
+
<a href='https://github.com/lucgrabowski'>
|
78
|
+
<img src='https://github.com/lucgrabowski.png' width='140px;'>
|
79
79
|
</a>
|
80
|
-
<h4 align='center'
|
80
|
+
<h4 align='center'>Łukasz Grabowski</h4>
|
81
81
|
</td>
|
82
|
-
<td id='
|
83
|
-
<a href='https://github.com/
|
84
|
-
<img src='https://github.com/
|
82
|
+
<td id='danielle-tomlinson'>
|
83
|
+
<a href='https://github.com/endocrimes'>
|
84
|
+
<img src='https://github.com/endocrimes.png' width='140px;'>
|
85
85
|
</a>
|
86
|
-
<h4 align='center'><a href='https://twitter.com/
|
86
|
+
<h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
|
87
87
|
</td>
|
88
|
-
<td id='
|
89
|
-
<a href='https://github.com/
|
90
|
-
<img src='https://github.com/
|
88
|
+
<td id='jimmy-dee'>
|
89
|
+
<a href='https://github.com/jdee'>
|
90
|
+
<img src='https://github.com/jdee.png' width='140px;'>
|
91
91
|
</a>
|
92
|
-
<h4 align='center'
|
92
|
+
<h4 align='center'>Jimmy Dee</h4>
|
93
93
|
</td>
|
94
|
-
<td id='
|
95
|
-
<a href='https://github.com/
|
96
|
-
<img src='https://github.com/
|
94
|
+
<td id='jorge-revuelta-h'>
|
95
|
+
<a href='https://github.com/minuscorp'>
|
96
|
+
<img src='https://github.com/minuscorp.png' width='140px;'>
|
97
97
|
</a>
|
98
|
-
<h4 align='center'
|
98
|
+
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
99
99
|
</td>
|
100
100
|
</tr>
|
101
101
|
<tr>
|
102
|
-
<td id='
|
103
|
-
<a href='https://github.com/
|
104
|
-
<img src='https://github.com/
|
102
|
+
<td id='felix-krause'>
|
103
|
+
<a href='https://github.com/KrauseFx'>
|
104
|
+
<img src='https://github.com/KrauseFx.png' width='140px;'>
|
105
105
|
</a>
|
106
|
-
<h4 align='center'><a href='https://twitter.com/
|
106
|
+
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
107
107
|
</td>
|
108
|
-
<td id='
|
109
|
-
<a href='https://github.com/
|
110
|
-
<img src='https://github.com/
|
108
|
+
<td id='joshua-liebowitz'>
|
109
|
+
<a href='https://github.com/taquitos'>
|
110
|
+
<img src='https://github.com/taquitos.png' width='140px;'>
|
111
111
|
</a>
|
112
|
-
<h4 align='center'><a href='https://twitter.com/
|
112
|
+
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
|
113
113
|
</td>
|
114
|
-
<td id='
|
115
|
-
<a href='https://github.com/
|
116
|
-
<img src='https://github.com/
|
114
|
+
<td id='josh-holtz'>
|
115
|
+
<a href='https://github.com/joshdholtz'>
|
116
|
+
<img src='https://github.com/joshdholtz.png' width='140px;'>
|
117
117
|
</a>
|
118
|
-
<h4 align='center'><a href='https://twitter.com/
|
118
|
+
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
|
119
119
|
</td>
|
120
|
-
<td id='
|
121
|
-
<a href='https://github.com/
|
122
|
-
<img src='https://github.com/
|
120
|
+
<td id='jérôme-lacoste'>
|
121
|
+
<a href='https://github.com/lacostej'>
|
122
|
+
<img src='https://github.com/lacostej.png' width='140px;'>
|
123
123
|
</a>
|
124
|
-
<h4 align='center'>
|
124
|
+
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
125
125
|
</td>
|
126
|
-
<td id='
|
127
|
-
<a href='https://github.com/
|
128
|
-
<img src='https://github.com/
|
126
|
+
<td id='satoshi-namai'>
|
127
|
+
<a href='https://github.com/ainame'>
|
128
|
+
<img src='https://github.com/ainame.png' width='140px;'>
|
129
129
|
</a>
|
130
|
-
<h4 align='center'><a href='https://twitter.com/
|
130
|
+
<h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
|
131
131
|
</td>
|
132
132
|
</tr>
|
133
133
|
<tr>
|
134
|
-
<td id='
|
135
|
-
<a href='https://github.com/
|
136
|
-
<img src='https://github.com/
|
134
|
+
<td id='fumiya-nakamura'>
|
135
|
+
<a href='https://github.com/nafu'>
|
136
|
+
<img src='https://github.com/nafu.png' width='140px;'>
|
137
137
|
</a>
|
138
|
-
<h4 align='center'><a href='https://twitter.com/
|
138
|
+
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
|
139
|
+
</td>
|
140
|
+
<td id='roger-oba'>
|
141
|
+
<a href='https://github.com/rogerluan'>
|
142
|
+
<img src='https://github.com/rogerluan.png' width='140px;'>
|
143
|
+
</a>
|
144
|
+
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
|
139
145
|
</td>
|
140
146
|
<td id='manish-rathi'>
|
141
147
|
<a href='https://github.com/crazymanish'>
|
@@ -143,43 +149,37 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
143
149
|
</a>
|
144
150
|
<h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
|
145
151
|
</td>
|
146
|
-
<td id='felix-krause'>
|
147
|
-
<a href='https://github.com/KrauseFx'>
|
148
|
-
<img src='https://github.com/KrauseFx.png' width='140px;'>
|
149
|
-
</a>
|
150
|
-
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
151
|
-
</td>
|
152
152
|
<td id='luka-mirosevic'>
|
153
153
|
<a href='https://github.com/lmirosevic'>
|
154
154
|
<img src='https://github.com/lmirosevic.png' width='140px;'>
|
155
155
|
</a>
|
156
156
|
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
|
157
157
|
</td>
|
158
|
-
<td id='
|
159
|
-
<a href='https://github.com/
|
160
|
-
<img src='https://github.com/
|
158
|
+
<td id='matthew-ellis'>
|
159
|
+
<a href='https://github.com/matthewellis'>
|
160
|
+
<img src='https://github.com/matthewellis.png' width='140px;'>
|
161
161
|
</a>
|
162
|
-
<h4 align='center'><a href='https://twitter.com/
|
162
|
+
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
163
163
|
</td>
|
164
164
|
</tr>
|
165
165
|
<tr>
|
166
|
-
<td id='iulian-onofrei'>
|
167
|
-
<a href='https://github.com/revolter'>
|
168
|
-
<img src='https://github.com/revolter.png' width='140px;'>
|
169
|
-
</a>
|
170
|
-
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
171
|
-
</td>
|
172
166
|
<td id='maksym-grebenets'>
|
173
167
|
<a href='https://github.com/mgrebenets'>
|
174
168
|
<img src='https://github.com/mgrebenets.png' width='140px;'>
|
175
169
|
</a>
|
176
170
|
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
177
171
|
</td>
|
178
|
-
<td id='
|
179
|
-
<a href='https://github.com/
|
180
|
-
<img src='https://github.com/
|
172
|
+
<td id='iulian-onofrei'>
|
173
|
+
<a href='https://github.com/revolter'>
|
174
|
+
<img src='https://github.com/revolter.png' width='140px;'>
|
181
175
|
</a>
|
182
|
-
<h4 align='center'><a href='https://twitter.com/
|
176
|
+
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
177
|
+
</td>
|
178
|
+
<td id='aaron-brager'>
|
179
|
+
<a href='https://github.com/getaaron'>
|
180
|
+
<img src='https://github.com/getaaron.png' width='140px;'>
|
181
|
+
</a>
|
182
|
+
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
183
183
|
</td>
|
184
184
|
<td id='daniel-jankowski'>
|
185
185
|
<a href='https://github.com/mollyIV'>
|
@@ -187,19 +187,19 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
187
187
|
</a>
|
188
188
|
<h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
|
189
189
|
</td>
|
190
|
-
<td id='
|
191
|
-
<a href='https://github.com/
|
192
|
-
<img src='https://github.com/
|
190
|
+
<td id='andrew-mcburney'>
|
191
|
+
<a href='https://github.com/armcburney'>
|
192
|
+
<img src='https://github.com/armcburney.png' width='140px;'>
|
193
193
|
</a>
|
194
|
-
<h4 align='center'><a href='https://twitter.com/
|
194
|
+
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
195
195
|
</td>
|
196
196
|
</tr>
|
197
197
|
<tr>
|
198
|
-
<td id='
|
199
|
-
<a href='https://github.com/
|
200
|
-
<img src='https://github.com/
|
198
|
+
<td id='max-ott'>
|
199
|
+
<a href='https://github.com/max-ott'>
|
200
|
+
<img src='https://github.com/max-ott.png' width='140px;'>
|
201
201
|
</a>
|
202
|
-
<h4 align='center'><a href='https://twitter.com/
|
202
|
+
<h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
|
203
203
|
</td>
|
204
204
|
</table>
|
205
205
|
|
@@ -197,8 +197,25 @@ module Deliver
|
|
197
197
|
def reject_version_if_possible
|
198
198
|
app = Deliver.cache[:app]
|
199
199
|
platform = Spaceship::ConnectAPI::Platform.map(options[:platform])
|
200
|
-
|
201
|
-
|
200
|
+
|
201
|
+
submission = app.get_in_progress_review_submission(platform: platform)
|
202
|
+
if submission
|
203
|
+
submission.cancel_submission
|
204
|
+
UI.message("Review submission cancellation has been requested")
|
205
|
+
|
206
|
+
# An app version won't get removed from review instantly
|
207
|
+
# Polling until app version has a state of DEVELOPER_REJECT
|
208
|
+
loop do
|
209
|
+
version = app.get_edit_app_store_version(platform: platform)
|
210
|
+
if version.app_store_state == Spaceship::ConnectAPI::AppStoreVersion::AppStoreState::DEVELOPER_REJECTED
|
211
|
+
break
|
212
|
+
end
|
213
|
+
|
214
|
+
UI.message("Waiting for cancellation to take effect...")
|
215
|
+
sleep(15)
|
216
|
+
end
|
217
|
+
|
218
|
+
UI.success("Successfully cancelled previous submission!")
|
202
219
|
end
|
203
220
|
end
|
204
221
|
|
@@ -23,12 +23,34 @@ module Deliver
|
|
23
23
|
update_idfa(options, app, version)
|
24
24
|
update_submission_information(options, app)
|
25
25
|
|
26
|
-
version
|
27
|
-
|
26
|
+
create_review_submission(options, app, version, platform)
|
28
27
|
UI.success("Successfully submitted the app for review!")
|
29
28
|
end
|
30
29
|
|
31
|
-
private
|
30
|
+
private
|
31
|
+
|
32
|
+
def create_review_submission(options, app, version, platform)
|
33
|
+
# Can't submit a review if there is already a review in progress
|
34
|
+
if app.get_in_progress_review_submission(platform: platform)
|
35
|
+
UI.user_error!("Cannot submit for review - A review submission is already in progress")
|
36
|
+
end
|
37
|
+
|
38
|
+
# There can only be one open submission per platform per app
|
39
|
+
# There might be a submission already created so we need to check
|
40
|
+
# 1. Create the submission if its not already created
|
41
|
+
# 2. Error if submission already contains some items for review (because we don't know what they are)
|
42
|
+
submission = app.get_ready_review_submission(platform: platform, includes: "items")
|
43
|
+
if submission.nil?
|
44
|
+
submission = app.create_review_submission(platform: platform)
|
45
|
+
elsif !submission.items.empty?
|
46
|
+
UI.user_error!("Cannot submit for review - A review submission already exists with items not managed by fastlane. Please cancel or remove items from submission for the App Store Connect website")
|
47
|
+
end
|
48
|
+
|
49
|
+
submission.add_app_store_version_to_review_items(app_store_version_id: version.id)
|
50
|
+
submission.submit_for_review
|
51
|
+
end
|
52
|
+
|
53
|
+
def select_build(options, app, version, platform)
|
32
54
|
if options[:build_number] && options[:build_number] != "latest"
|
33
55
|
UI.message("Selecting existing build-number: #{options[:build_number]}")
|
34
56
|
|
@@ -4,6 +4,7 @@ module Fastlane
|
|
4
4
|
SCAN_DERIVED_DATA_PATH = :SCAN_DERIVED_DATA_PATH
|
5
5
|
SCAN_GENERATED_PLIST_FILE = :SCAN_GENERATED_PLIST_FILE
|
6
6
|
SCAN_GENERATED_PLIST_FILES = :SCAN_GENERATED_PLIST_FILES
|
7
|
+
SCAN_GENERATED_XCRESULT_PATH = :SCAN_GENERATED_XCRESULT_PATH
|
7
8
|
SCAN_ZIP_BUILD_PRODUCTS_PATH = :SCAN_ZIP_BUILD_PRODUCTS_PATH
|
8
9
|
end
|
9
10
|
|
@@ -13,12 +14,12 @@ module Fastlane
|
|
13
14
|
manager = Scan::Manager.new
|
14
15
|
|
15
16
|
begin
|
16
|
-
manager.work(values)
|
17
|
+
results = manager.work(values)
|
17
18
|
|
18
19
|
zip_build_products_path = Scan.cache[:zip_build_products_path]
|
19
20
|
Actions.lane_context[SharedValues::SCAN_ZIP_BUILD_PRODUCTS_PATH] = zip_build_products_path if zip_build_products_path
|
20
21
|
|
21
|
-
return
|
22
|
+
return results
|
22
23
|
rescue FastlaneCore::Interface::FastlaneBuildFailure => ex
|
23
24
|
# Specifically catching FastlaneBuildFailure to prevent build/compile errors from being
|
24
25
|
# silenced when :fail_build is set to false
|
@@ -29,6 +30,12 @@ module Fastlane
|
|
29
30
|
raise ex
|
30
31
|
end
|
31
32
|
ensure
|
33
|
+
if Scan.cache && (result_bundle_path = Scan.cache[:result_bundle_path])
|
34
|
+
Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH] = File.absolute_path(result_bundle_path)
|
35
|
+
else
|
36
|
+
Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH] = nil
|
37
|
+
end
|
38
|
+
|
32
39
|
unless values[:derived_data_path].to_s.empty?
|
33
40
|
plist_files_before = manager.plist_files_before || []
|
34
41
|
|
@@ -49,6 +56,14 @@ module Fastlane
|
|
49
56
|
"More information: https://docs.fastlane.tools/actions/scan/"
|
50
57
|
end
|
51
58
|
|
59
|
+
def self.return_value
|
60
|
+
'Outputs has of results with :number_of_tests, :number_of_failures, :number_of_retries, :number_of_tests_excluding_retries, :number_of_failures_excluding_retries'
|
61
|
+
end
|
62
|
+
|
63
|
+
def self.return_type
|
64
|
+
:hash
|
65
|
+
end
|
66
|
+
|
52
67
|
def self.author
|
53
68
|
"KrauseFx"
|
54
69
|
end
|
@@ -70,6 +85,7 @@ module Fastlane
|
|
70
85
|
['SCAN_DERIVED_DATA_PATH', 'The path to the derived data'],
|
71
86
|
['SCAN_GENERATED_PLIST_FILE', 'The generated plist file'],
|
72
87
|
['SCAN_GENERATED_PLIST_FILES', 'The generated plist files'],
|
88
|
+
['SCAN_GENERATED_XCRESULT_PATH', 'The path to the generated .xcresult'],
|
73
89
|
['SCAN_ZIP_BUILD_PRODUCTS_PATH', 'The path to the zipped build products']
|
74
90
|
]
|
75
91
|
end
|
@@ -5,6 +5,11 @@ module Fastlane
|
|
5
5
|
Actions.verify_gem!('xcov')
|
6
6
|
require 'xcov'
|
7
7
|
|
8
|
+
if values[:xccov_file_direct_path].nil? && (path = Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH])
|
9
|
+
UI.verbose("Pulling xcov 'xccov_file_direct_path' from SharedValues::SCAN_GENERATED_XCRESULT_PATH")
|
10
|
+
values[:xccov_file_direct_path] = path
|
11
|
+
end
|
12
|
+
|
8
13
|
Xcov::Manager.new(values).run
|
9
14
|
end
|
10
15
|
|