fastlane 2.150.3 → 2.151.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 +86 -86
- data/deliver/lib/deliver/options.rb +7 -1
- data/deliver/lib/deliver/submit_for_review.rb +7 -7
- data/deliver/lib/deliver/upload_metadata.rb +2 -2
- data/fastlane/lib/fastlane/actions/docs/upload_to_testflight.md +3 -0
- data/fastlane/lib/fastlane/actions/notarize.rb +13 -3
- data/fastlane/lib/fastlane/actions/pod_push.rb +10 -1
- data/fastlane/lib/fastlane/actions/resign.rb +1 -1
- data/fastlane/lib/fastlane/actions/setup_ci.rb +5 -0
- data/fastlane/lib/fastlane/actions/setup_circle_ci.rb +1 -1
- data/fastlane/lib/fastlane/actions/setup_travis.rb +1 -1
- data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +10 -2
- data/fastlane/lib/fastlane/documentation/docs_generator.rb +1 -1
- data/fastlane/lib/fastlane/helper/s3_client_helper.rb +28 -11
- data/fastlane/lib/fastlane/server/socket_server.rb +7 -1
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +1 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Actions.swift +1 -1
- data/fastlane/swift/ArgumentProcessor.swift +24 -24
- data/fastlane/swift/ControlCommand.swift +3 -3
- data/fastlane/swift/Deliverfile.swift +4 -8
- data/fastlane/swift/DeliverfileProtocol.swift +181 -182
- data/fastlane/swift/Fastlane.swift +2813 -2802
- data/fastlane/swift/Gymfile.swift +4 -8
- data/fastlane/swift/GymfileProtocol.swift +133 -134
- data/fastlane/swift/LaneFileProtocol.swift +17 -17
- data/fastlane/swift/Matchfile.swift +4 -8
- data/fastlane/swift/MatchfileProtocol.swift +115 -112
- data/fastlane/swift/Plugins.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +4 -8
- data/fastlane/swift/PrecheckfileProtocol.swift +22 -23
- data/fastlane/swift/RubyCommand.swift +34 -37
- data/fastlane/swift/RubyCommandable.swift +3 -1
- data/fastlane/swift/Runner.swift +76 -69
- data/fastlane/swift/Scanfile.swift +4 -8
- data/fastlane/swift/ScanfileProtocol.swift +190 -191
- data/fastlane/swift/Screengrabfile.swift +4 -8
- data/fastlane/swift/ScreengrabfileProtocol.swift +67 -68
- data/fastlane/swift/Snapshotfile.swift +4 -8
- data/fastlane/swift/SnapshotfileProtocol.swift +127 -128
- data/fastlane/swift/SocketClient.swift +84 -90
- data/fastlane/swift/SocketResponse.swift +14 -14
- data/fastlane/swift/formatting/Brewfile +1 -0
- data/fastlane/swift/formatting/Brewfile.lock.json +39 -0
- data/fastlane/swift/formatting/Rakefile +18 -0
- data/fastlane/swift/main.swift +5 -6
- data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +15 -7
- data/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb +1 -1
- data/match/lib/assets/READMETemplate.md +5 -2
- data/match/lib/match/options.rb +4 -0
- data/match/lib/match/runner.rb +1 -0
- data/match/lib/match/storage/git_storage.rb +1 -1
- data/match/lib/match/storage/s3_storage.rb +25 -7
- data/sigh/lib/assets/resign.sh +18 -0
- data/spaceship/lib/spaceship/client.rb +1 -2
- data/spaceship/lib/spaceship/connect_api/client.rb +0 -1
- data/spaceship/lib/spaceship/connect_api/models/app_store_version.rb +1 -1
- metadata +31 -38
- data/deliver/lib/deliver/.upload_metadata.rb.swp +0 -0
- data/spaceship/lib/spaceship/babosa_fix.rb +0 -30
@@ -9,13 +9,9 @@
|
|
9
9
|
//
|
10
10
|
|
11
11
|
class Scanfile: ScanfileProtocol {
|
12
|
-
// If you want to enable `scan`, run `fastlane scan init`
|
13
|
-
// After, this file will be replaced with a custom implementation that contains values you supplied
|
14
|
-
// during the `init` process, and you won't see this message
|
12
|
+
// If you want to enable `scan`, run `fastlane scan init`
|
13
|
+
// After, this file will be replaced with a custom implementation that contains values you supplied
|
14
|
+
// during the `init` process, and you won't see this message
|
15
15
|
}
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
// Generated with fastlane 2.150.3
|
17
|
+
// Generated with fastlane 2.151.0
|
@@ -1,261 +1,260 @@
|
|
1
1
|
protocol ScanfileProtocol: class {
|
2
|
+
/// Path to the workspace file
|
3
|
+
var workspace: String? { get }
|
2
4
|
|
3
|
-
|
4
|
-
|
5
|
+
/// Path to the project file
|
6
|
+
var project: String? { get }
|
5
7
|
|
6
|
-
|
7
|
-
|
8
|
+
/// The project's scheme. Make sure it's marked as `Shared`
|
9
|
+
var scheme: String? { get }
|
8
10
|
|
9
|
-
|
10
|
-
|
11
|
+
/// The name of the simulator type you want to run tests on (e.g. 'iPhone 6')
|
12
|
+
var device: String? { get }
|
11
13
|
|
12
|
-
|
13
|
-
|
14
|
+
/// Array of devices to run the tests on (e.g. ['iPhone 6', 'iPad Air'])
|
15
|
+
var devices: [String]? { get }
|
14
16
|
|
15
|
-
|
16
|
-
|
17
|
+
/// Should skip auto detecting of devices if none were specified
|
18
|
+
var skipDetectDevices: Bool { get }
|
17
19
|
|
18
|
-
|
19
|
-
|
20
|
+
/// Enabling this option will automatically killall Simulator processes before the run
|
21
|
+
var forceQuitSimulator: Bool { get }
|
20
22
|
|
21
|
-
|
22
|
-
|
23
|
+
/// Enabling this option will automatically erase the simulator before running the application
|
24
|
+
var resetSimulator: Bool { get }
|
23
25
|
|
24
|
-
|
25
|
-
|
26
|
+
/// Enabling this option will disable the simulator from showing the 'Slide to type' prompt
|
27
|
+
var disableSlideToType: Bool { get }
|
26
28
|
|
27
|
-
|
28
|
-
|
29
|
+
/// Enabling this option will launch the first simulator prior to calling any xcodebuild command
|
30
|
+
var prelaunchSimulator: Bool? { get }
|
29
31
|
|
30
|
-
|
31
|
-
|
32
|
+
/// Enabling this option will automatically uninstall the application before running it
|
33
|
+
var reinstallApp: Bool { get }
|
32
34
|
|
33
|
-
|
34
|
-
|
35
|
+
/// The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)
|
36
|
+
var appIdentifier: String? { get }
|
35
37
|
|
36
|
-
|
37
|
-
|
38
|
+
/// Array of strings matching Test Bundle/Test Suite/Test Cases to run
|
39
|
+
var onlyTesting: String? { get }
|
38
40
|
|
39
|
-
|
40
|
-
|
41
|
+
/// Array of strings matching Test Bundle/Test Suite/Test Cases to skip
|
42
|
+
var skipTesting: String? { get }
|
41
43
|
|
42
|
-
|
43
|
-
|
44
|
+
/// The testplan associated with the scheme that should be used for testing
|
45
|
+
var testplan: String? { get }
|
44
46
|
|
45
|
-
|
46
|
-
|
47
|
+
/// Array of strings matching test plan configurations to run
|
48
|
+
var onlyTestConfigurations: String? { get }
|
47
49
|
|
48
|
-
|
49
|
-
|
50
|
+
/// Array of strings matching test plan configurations to skip
|
51
|
+
var skipTestConfigurations: String? { get }
|
50
52
|
|
51
|
-
|
52
|
-
|
53
|
+
/// Run tests using the provided `.xctestrun` file
|
54
|
+
var xctestrun: String? { get }
|
53
55
|
|
54
|
-
|
55
|
-
|
56
|
+
/// The toolchain that should be used for building the application (e.g. `com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a`)
|
57
|
+
var toolchain: String? { get }
|
56
58
|
|
57
|
-
|
58
|
-
|
59
|
+
/// Should the project be cleaned before building it?
|
60
|
+
var clean: Bool { get }
|
59
61
|
|
60
|
-
|
61
|
-
|
62
|
+
/// Should code coverage be generated? (Xcode 7 and up)
|
63
|
+
var codeCoverage: Bool? { get }
|
62
64
|
|
63
|
-
|
64
|
-
|
65
|
+
/// Should the address sanitizer be turned on?
|
66
|
+
var addressSanitizer: Bool? { get }
|
65
67
|
|
66
|
-
|
67
|
-
|
68
|
+
/// Should the thread sanitizer be turned on?
|
69
|
+
var threadSanitizer: Bool? { get }
|
68
70
|
|
69
|
-
|
70
|
-
|
71
|
+
/// Should the HTML report be opened when tests are completed?
|
72
|
+
var openReport: Bool { get }
|
71
73
|
|
72
|
-
|
73
|
-
|
74
|
+
/// Disable xcpretty formatting of build, similar to `output_style='raw'` but this will also skip the test results table
|
75
|
+
var disableXcpretty: Bool? { get }
|
74
76
|
|
75
|
-
|
76
|
-
|
77
|
+
/// The directory in which all reports will be stored
|
78
|
+
var outputDirectory: String { get }
|
77
79
|
|
78
|
-
|
79
|
-
|
80
|
+
/// Define how the output should look like. Valid values are: standard, basic, rspec, or raw (disables xcpretty during xcodebuild)
|
81
|
+
var outputStyle: String? { get }
|
80
82
|
|
81
|
-
|
82
|
-
|
83
|
+
/// Comma separated list of the output types (e.g. html, junit, json-compilation-database)
|
84
|
+
var outputTypes: String { get }
|
83
85
|
|
84
|
-
|
85
|
-
|
86
|
+
/// Comma separated list of the output files, corresponding to the types provided by :output_types (order should match). If specifying an output type of json-compilation-database with :use_clang_report_name enabled, that option will take precedence
|
87
|
+
var outputFiles: String? { get }
|
86
88
|
|
87
|
-
|
88
|
-
|
89
|
+
/// The directory where to store the raw log
|
90
|
+
var buildlogPath: String { get }
|
89
91
|
|
90
|
-
|
91
|
-
|
92
|
+
/// If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory
|
93
|
+
var includeSimulatorLogs: Bool { get }
|
92
94
|
|
93
|
-
|
94
|
-
|
95
|
+
/// Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
|
96
|
+
var suppressXcodeOutput: Bool? { get }
|
95
97
|
|
96
|
-
|
97
|
-
|
98
|
+
/// A custom xcpretty formatter to use
|
99
|
+
var formatter: String? { get }
|
98
100
|
|
99
|
-
|
100
|
-
|
101
|
+
/// Pass in xcpretty additional command line arguments (e.g. '--test --no-color' or '--tap --no-utf')
|
102
|
+
var xcprettyArgs: String? { get }
|
101
103
|
|
102
|
-
|
103
|
-
|
104
|
+
/// The directory where build products and other derived data will go
|
105
|
+
var derivedDataPath: String? { get }
|
104
106
|
|
105
|
-
|
106
|
-
|
107
|
+
/// Should zip the derived data build products and place in output path?
|
108
|
+
var shouldZipBuildProducts: Bool { get }
|
107
109
|
|
108
|
-
|
109
|
-
|
110
|
+
/// Should an Xcode result bundle be generated in the output directory
|
111
|
+
var resultBundle: Bool { get }
|
110
112
|
|
111
|
-
|
112
|
-
|
113
|
+
/// Generate the json compilation database with clang naming convention (compile_commands.json)
|
114
|
+
var useClangReportName: Bool { get }
|
113
115
|
|
114
|
-
|
115
|
-
|
116
|
+
/// Specify the exact number of test runners that will be spawned during parallel testing. Equivalent to -parallel-testing-worker-count
|
117
|
+
var concurrentWorkers: Int? { get }
|
116
118
|
|
117
|
-
|
118
|
-
|
119
|
+
/// Constrain the number of simulator devices on which to test concurrently. Equivalent to -maximum-concurrent-test-simulator-destinations
|
120
|
+
var maxConcurrentSimulators: Int? { get }
|
119
121
|
|
120
|
-
|
121
|
-
|
122
|
+
/// Do not run test bundles in parallel on the specified destinations. Testing will occur on each destination serially. Equivalent to -disable-concurrent-testing
|
123
|
+
var disableConcurrentTesting: Bool { get }
|
122
124
|
|
123
|
-
|
124
|
-
|
125
|
+
/// Should debug build be skipped before test build?
|
126
|
+
var skipBuild: Bool { get }
|
125
127
|
|
126
|
-
|
127
|
-
|
128
|
+
/// Test without building, requires a derived data path
|
129
|
+
var testWithoutBuilding: Bool? { get }
|
128
130
|
|
129
|
-
|
130
|
-
|
131
|
+
/// Build for testing only, does not run tests
|
132
|
+
var buildForTesting: Bool? { get }
|
131
133
|
|
132
|
-
|
133
|
-
|
134
|
+
/// The SDK that should be used for building the application
|
135
|
+
var sdk: String? { get }
|
134
136
|
|
135
|
-
|
136
|
-
|
137
|
+
/// The configuration to use when building the app. Defaults to 'Release'
|
138
|
+
var configuration: String? { get }
|
137
139
|
|
138
|
-
|
139
|
-
|
140
|
+
/// Pass additional arguments to xcodebuild. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
|
141
|
+
var xcargs: String? { get }
|
140
142
|
|
141
|
-
|
142
|
-
|
143
|
+
/// Use an extra XCCONFIG file to build your app
|
144
|
+
var xcconfig: String? { get }
|
143
145
|
|
144
|
-
|
145
|
-
|
146
|
+
/// App name to use in slack message and logfile name
|
147
|
+
var appName: String? { get }
|
146
148
|
|
147
|
-
|
148
|
-
|
149
|
+
/// Target version of the app being build or tested. Used to filter out simulator version
|
150
|
+
var deploymentTargetVersion: String? { get }
|
149
151
|
|
150
|
-
|
151
|
-
|
152
|
+
/// Create an Incoming WebHook for your Slack group to post results there
|
153
|
+
var slackUrl: String? { get }
|
152
154
|
|
153
|
-
|
154
|
-
|
155
|
+
/// #channel or @username
|
156
|
+
var slackChannel: String? { get }
|
155
157
|
|
156
|
-
|
157
|
-
|
158
|
+
/// The message included with each message posted to slack
|
159
|
+
var slackMessage: String? { get }
|
158
160
|
|
159
|
-
|
160
|
-
|
161
|
+
/// Use webhook's default username and icon settings? (true/false)
|
162
|
+
var slackUseWebhookConfiguredUsernameAndIcon: Bool { get }
|
161
163
|
|
162
|
-
|
163
|
-
|
164
|
+
/// Overrides the webhook's username property if slack_use_webhook_configured_username_and_icon is false
|
165
|
+
var slackUsername: String { get }
|
164
166
|
|
165
|
-
|
166
|
-
|
167
|
+
/// Overrides the webhook's image property if slack_use_webhook_configured_username_and_icon is false
|
168
|
+
var slackIconUrl: String { get }
|
167
169
|
|
168
|
-
|
169
|
-
|
170
|
+
/// Don't publish to slack, even when an URL is given
|
171
|
+
var skipSlack: Bool { get }
|
170
172
|
|
171
|
-
|
172
|
-
|
173
|
+
/// Only post on Slack if the tests fail
|
174
|
+
var slackOnlyOnFailure: Bool { get }
|
173
175
|
|
174
|
-
|
175
|
-
|
176
|
+
/// Use only if you're a pro, use the other options instead
|
177
|
+
var destination: String? { get }
|
176
178
|
|
177
|
-
|
178
|
-
|
179
|
+
/// **DEPRECATED!** Use `--output_files` instead - Sets custom full report file name when generating a single report
|
180
|
+
var customReportFileName: String? { get }
|
179
181
|
|
180
|
-
|
181
|
-
|
182
|
+
/// Allows for override of the default `xcodebuild` command
|
183
|
+
var xcodebuildCommand: String { get }
|
182
184
|
|
183
|
-
|
184
|
-
|
185
|
+
/// Sets a custom path for Swift Package Manager dependencies
|
186
|
+
var clonedSourcePackagesPath: String? { get }
|
185
187
|
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
/// Should this step stop the build if the tests fail? Set this to false if you're using trainer
|
190
|
-
var failBuild: Bool { get }
|
188
|
+
/// Should this step stop the build if the tests fail? Set this to false if you're using trainer
|
189
|
+
var failBuild: Bool { get }
|
191
190
|
}
|
192
191
|
|
193
192
|
extension ScanfileProtocol {
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
193
|
+
var workspace: String? { return nil }
|
194
|
+
var project: String? { return nil }
|
195
|
+
var scheme: String? { return nil }
|
196
|
+
var device: String? { return nil }
|
197
|
+
var devices: [String]? { return nil }
|
198
|
+
var skipDetectDevices: Bool { return false }
|
199
|
+
var forceQuitSimulator: Bool { return false }
|
200
|
+
var resetSimulator: Bool { return false }
|
201
|
+
var disableSlideToType: Bool { return true }
|
202
|
+
var prelaunchSimulator: Bool? { return nil }
|
203
|
+
var reinstallApp: Bool { return false }
|
204
|
+
var appIdentifier: String? { return nil }
|
205
|
+
var onlyTesting: String? { return nil }
|
206
|
+
var skipTesting: String? { return nil }
|
207
|
+
var testplan: String? { return nil }
|
208
|
+
var onlyTestConfigurations: String? { return nil }
|
209
|
+
var skipTestConfigurations: String? { return nil }
|
210
|
+
var xctestrun: String? { return nil }
|
211
|
+
var toolchain: String? { return nil }
|
212
|
+
var clean: Bool { return false }
|
213
|
+
var codeCoverage: Bool? { return nil }
|
214
|
+
var addressSanitizer: Bool? { return nil }
|
215
|
+
var threadSanitizer: Bool? { return nil }
|
216
|
+
var openReport: Bool { return false }
|
217
|
+
var disableXcpretty: Bool? { return nil }
|
218
|
+
var outputDirectory: String { return "./test_output" }
|
219
|
+
var outputStyle: String? { return nil }
|
220
|
+
var outputTypes: String { return "html,junit" }
|
221
|
+
var outputFiles: String? { return nil }
|
222
|
+
var buildlogPath: String { return "~/Library/Logs/scan" }
|
223
|
+
var includeSimulatorLogs: Bool { return false }
|
224
|
+
var suppressXcodeOutput: Bool? { return nil }
|
225
|
+
var formatter: String? { return nil }
|
226
|
+
var xcprettyArgs: String? { return nil }
|
227
|
+
var derivedDataPath: String? { return nil }
|
228
|
+
var shouldZipBuildProducts: Bool { return false }
|
229
|
+
var resultBundle: Bool { return false }
|
230
|
+
var useClangReportName: Bool { return false }
|
231
|
+
var concurrentWorkers: Int? { return nil }
|
232
|
+
var maxConcurrentSimulators: Int? { return nil }
|
233
|
+
var disableConcurrentTesting: Bool { return false }
|
234
|
+
var skipBuild: Bool { return false }
|
235
|
+
var testWithoutBuilding: Bool? { return nil }
|
236
|
+
var buildForTesting: Bool? { return nil }
|
237
|
+
var sdk: String? { return nil }
|
238
|
+
var configuration: String? { return nil }
|
239
|
+
var xcargs: String? { return nil }
|
240
|
+
var xcconfig: String? { return nil }
|
241
|
+
var appName: String? { return nil }
|
242
|
+
var deploymentTargetVersion: String? { return nil }
|
243
|
+
var slackUrl: String? { return nil }
|
244
|
+
var slackChannel: String? { return nil }
|
245
|
+
var slackMessage: String? { return nil }
|
246
|
+
var slackUseWebhookConfiguredUsernameAndIcon: Bool { return false }
|
247
|
+
var slackUsername: String { return "fastlane" }
|
248
|
+
var slackIconUrl: String { return "https://fastlane.tools/assets/img/fastlane_icon.png" }
|
249
|
+
var skipSlack: Bool { return false }
|
250
|
+
var slackOnlyOnFailure: Bool { return false }
|
251
|
+
var destination: String? { return nil }
|
252
|
+
var customReportFileName: String? { return nil }
|
253
|
+
var xcodebuildCommand: String { return "env NSUnbufferedIO=YES xcodebuild" }
|
254
|
+
var clonedSourcePackagesPath: String? { return nil }
|
255
|
+
var failBuild: Bool { return true }
|
257
256
|
}
|
258
257
|
|
259
258
|
// Please don't remove the lines below
|
260
259
|
// They are used to detect outdated files
|
261
|
-
// FastlaneRunnerAPIVersion [0.9.
|
260
|
+
// FastlaneRunnerAPIVersion [0.9.30]
|