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 Screengrabfile: ScreengrabfileProtocol {
|
12
|
-
// If you want to enable `screengrab`, run `fastlane screengrab 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 `screengrab`, run `fastlane screengrab 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,97 +1,96 @@
|
|
1
1
|
protocol ScreengrabfileProtocol: class {
|
2
|
+
/// Path to the root of your Android SDK installation, e.g. ~/tools/android-sdk-macosx
|
3
|
+
var androidHome: String? { get }
|
2
4
|
|
3
|
-
|
4
|
-
|
5
|
+
/// The Android build tools version to use, e.g. '23.0.2'
|
6
|
+
var buildToolsVersion: String? { get }
|
5
7
|
|
6
|
-
|
7
|
-
|
8
|
+
/// A list of locales which should be used
|
9
|
+
var locales: [String] { get }
|
8
10
|
|
9
|
-
|
10
|
-
|
11
|
+
/// Enabling this option will automatically clear previously generated screenshots before running screengrab
|
12
|
+
var clearPreviousScreenshots: Bool { get }
|
11
13
|
|
12
|
-
|
13
|
-
|
14
|
+
/// The directory where to store the screenshots
|
15
|
+
var outputDirectory: String { get }
|
14
16
|
|
15
|
-
|
16
|
-
|
17
|
+
/// Don't open the summary after running _screengrab_
|
18
|
+
var skipOpenSummary: Bool { get }
|
17
19
|
|
18
|
-
|
19
|
-
|
20
|
+
/// The package name of the app under test (e.g. com.yourcompany.yourapp)
|
21
|
+
var appPackageName: String { get }
|
20
22
|
|
21
|
-
|
22
|
-
|
23
|
+
/// The package name of the tests bundle (e.g. com.yourcompany.yourapp.test)
|
24
|
+
var testsPackageName: String? { get }
|
23
25
|
|
24
|
-
|
25
|
-
|
26
|
+
/// Only run tests in these Java packages
|
27
|
+
var useTestsInPackages: [String]? { get }
|
26
28
|
|
27
|
-
|
28
|
-
|
29
|
+
/// Only run tests in these Java classes
|
30
|
+
var useTestsInClasses: [String]? { get }
|
29
31
|
|
30
|
-
|
31
|
-
|
32
|
+
/// Additional launch arguments
|
33
|
+
var launchArguments: [String]? { get }
|
32
34
|
|
33
|
-
|
34
|
-
|
35
|
+
/// The fully qualified class name of your test instrumentation runner
|
36
|
+
var testInstrumentationRunner: String { get }
|
35
37
|
|
36
|
-
|
37
|
-
|
38
|
+
/// Return the device to this locale after running tests
|
39
|
+
var endingLocale: String { get }
|
38
40
|
|
39
|
-
|
40
|
-
|
41
|
+
/// Restarts the adb daemon using `adb root` to allow access to screenshots directories on device. Use if getting 'Permission denied' errors
|
42
|
+
var useAdbRoot: Bool { get }
|
41
43
|
|
42
|
-
|
43
|
-
|
44
|
+
/// The path to the APK for the app under test
|
45
|
+
var appApkPath: String? { get }
|
44
46
|
|
45
|
-
|
46
|
-
|
47
|
+
/// The path to the APK for the the tests bundle
|
48
|
+
var testsApkPath: String? { get }
|
47
49
|
|
48
|
-
|
49
|
-
|
50
|
+
/// Use the device or emulator with the given serial number or qualifier
|
51
|
+
var specificDevice: String? { get }
|
50
52
|
|
51
|
-
|
52
|
-
|
53
|
+
/// Type of device used for screenshots. Matches Google Play Types (phone, sevenInch, tenInch, tv, wear)
|
54
|
+
var deviceType: String { get }
|
53
55
|
|
54
|
-
|
55
|
-
|
56
|
+
/// Whether or not to exit Screengrab on test failure. Exiting on failure will not copy sceenshots to local machine nor open sceenshots summary
|
57
|
+
var exitOnTestFailure: Bool { get }
|
56
58
|
|
57
|
-
|
58
|
-
|
59
|
+
/// Enabling this option will automatically uninstall the application before running it
|
60
|
+
var reinstallApp: Bool { get }
|
59
61
|
|
60
|
-
|
61
|
-
|
62
|
+
/// Add timestamp suffix to screenshot filename
|
63
|
+
var useTimestampSuffix: Bool { get }
|
62
64
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
/// Configure the host used by adb to connect, allows running on remote devices farm
|
67
|
-
var adbHost: String? { get }
|
65
|
+
/// Configure the host used by adb to connect, allows running on remote devices farm
|
66
|
+
var adbHost: String? { get }
|
68
67
|
}
|
69
68
|
|
70
69
|
extension ScreengrabfileProtocol {
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
70
|
+
var androidHome: String? { return nil }
|
71
|
+
var buildToolsVersion: String? { return nil }
|
72
|
+
var locales: [String] { return ["en-US"] }
|
73
|
+
var clearPreviousScreenshots: Bool { return false }
|
74
|
+
var outputDirectory: String { return "fastlane/metadata/android" }
|
75
|
+
var skipOpenSummary: Bool { return false }
|
76
|
+
var appPackageName: String { return "" }
|
77
|
+
var testsPackageName: String? { return nil }
|
78
|
+
var useTestsInPackages: [String]? { return nil }
|
79
|
+
var useTestsInClasses: [String]? { return nil }
|
80
|
+
var launchArguments: [String]? { return nil }
|
81
|
+
var testInstrumentationRunner: String { return "androidx.test.runner.AndroidJUnitRunner" }
|
82
|
+
var endingLocale: String { return "en-US" }
|
83
|
+
var useAdbRoot: Bool { return false }
|
84
|
+
var appApkPath: String? { return nil }
|
85
|
+
var testsApkPath: String? { return nil }
|
86
|
+
var specificDevice: String? { return nil }
|
87
|
+
var deviceType: String { return "phone" }
|
88
|
+
var exitOnTestFailure: Bool { return true }
|
89
|
+
var reinstallApp: Bool { return false }
|
90
|
+
var useTimestampSuffix: Bool { return true }
|
91
|
+
var adbHost: String? { return nil }
|
93
92
|
}
|
94
93
|
|
95
94
|
// Please don't remove the lines below
|
96
95
|
// They are used to detect outdated files
|
97
|
-
// FastlaneRunnerAPIVersion [0.9.
|
96
|
+
// FastlaneRunnerAPIVersion [0.9.20]
|
@@ -9,13 +9,9 @@
|
|
9
9
|
//
|
10
10
|
|
11
11
|
class Snapshotfile: SnapshotfileProtocol {
|
12
|
-
// If you want to enable `snapshot`, run `fastlane snapshot 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 `snapshot`, run `fastlane snapshot 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,177 +1,176 @@
|
|
1
1
|
protocol SnapshotfileProtocol: class {
|
2
|
+
/// Path the workspace file
|
3
|
+
var workspace: String? { get }
|
2
4
|
|
3
|
-
|
4
|
-
|
5
|
+
/// Path the project file
|
6
|
+
var project: String? { get }
|
5
7
|
|
6
|
-
|
7
|
-
|
8
|
+
/// Pass additional arguments to xcodebuild for the test phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
|
9
|
+
var xcargs: String? { get }
|
8
10
|
|
9
|
-
|
10
|
-
|
11
|
+
/// Use an extra XCCONFIG file to build your app
|
12
|
+
var xcconfig: String? { get }
|
11
13
|
|
12
|
-
|
13
|
-
|
14
|
+
/// A list of devices you want to take the screenshots from
|
15
|
+
var devices: [String]? { get }
|
14
16
|
|
15
|
-
|
16
|
-
|
17
|
+
/// A list of languages which should be used
|
18
|
+
var languages: [String] { get }
|
17
19
|
|
18
|
-
|
19
|
-
|
20
|
+
/// A list of launch arguments which should be used
|
21
|
+
var launchArguments: [String] { get }
|
20
22
|
|
21
|
-
|
22
|
-
|
23
|
+
/// The directory where to store the screenshots
|
24
|
+
var outputDirectory: String { get }
|
23
25
|
|
24
|
-
|
25
|
-
|
26
|
+
/// If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory
|
27
|
+
var outputSimulatorLogs: Bool { get }
|
26
28
|
|
27
|
-
|
28
|
-
|
29
|
+
/// By default, the latest version should be used automatically. If you want to change it, do it here
|
30
|
+
var iosVersion: String? { get }
|
29
31
|
|
30
|
-
|
31
|
-
|
32
|
+
/// Don't open the HTML summary after running _snapshot_
|
33
|
+
var skipOpenSummary: Bool { get }
|
32
34
|
|
33
|
-
|
34
|
-
|
35
|
+
/// Do not check for most recent SnapshotHelper code
|
36
|
+
var skipHelperVersionCheck: Bool { get }
|
35
37
|
|
36
|
-
|
37
|
-
|
38
|
+
/// Enabling this option will automatically clear previously generated screenshots before running snapshot
|
39
|
+
var clearPreviousScreenshots: Bool { get }
|
38
40
|
|
39
|
-
|
40
|
-
|
41
|
+
/// Enabling this option will automatically uninstall the application before running it
|
42
|
+
var reinstallApp: Bool { get }
|
41
43
|
|
42
|
-
|
43
|
-
|
44
|
+
/// Enabling this option will automatically erase the simulator before running the application
|
45
|
+
var eraseSimulator: Bool { get }
|
44
46
|
|
45
|
-
|
46
|
-
|
47
|
+
/// Enabling this option wil automatically override the status bar to show 9:41 AM, full battery, and full reception
|
48
|
+
var overrideStatusBar: Bool { get }
|
47
49
|
|
48
|
-
|
49
|
-
|
50
|
+
/// Enabling this option will configure the Simulator's system language
|
51
|
+
var localizeSimulator: Bool { get }
|
50
52
|
|
51
|
-
|
52
|
-
|
53
|
+
/// Enabling this option will configure the Simulator to be in dark mode (false for light, true for dark)
|
54
|
+
var darkMode: Bool? { get }
|
53
55
|
|
54
|
-
|
55
|
-
|
56
|
+
/// The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)
|
57
|
+
var appIdentifier: String? { get }
|
56
58
|
|
57
|
-
|
58
|
-
|
59
|
+
/// A list of photos that should be added to the simulator before running the application
|
60
|
+
var addPhotos: [String]? { get }
|
59
61
|
|
60
|
-
|
61
|
-
|
62
|
+
/// A list of videos that should be added to the simulator before running the application
|
63
|
+
var addVideos: [String]? { get }
|
62
64
|
|
63
|
-
|
64
|
-
|
65
|
+
/// A path to screenshots.html template
|
66
|
+
var htmlTemplate: String? { get }
|
65
67
|
|
66
|
-
|
67
|
-
|
68
|
+
/// The directory where to store the build log
|
69
|
+
var buildlogPath: String { get }
|
68
70
|
|
69
|
-
|
70
|
-
|
71
|
+
/// Should the project be cleaned before building it?
|
72
|
+
var clean: Bool { get }
|
71
73
|
|
72
|
-
|
73
|
-
|
74
|
+
/// Test without building, requires a derived data path
|
75
|
+
var testWithoutBuilding: Bool? { get }
|
74
76
|
|
75
|
-
|
76
|
-
|
77
|
+
/// The configuration to use when building the app. Defaults to 'Release'
|
78
|
+
var configuration: String? { get }
|
77
79
|
|
78
|
-
|
79
|
-
|
80
|
+
/// Additional xcpretty arguments
|
81
|
+
var xcprettyArgs: String? { get }
|
80
82
|
|
81
|
-
|
82
|
-
|
83
|
+
/// The SDK that should be used for building the application
|
84
|
+
var sdk: String? { get }
|
83
85
|
|
84
|
-
|
85
|
-
|
86
|
+
/// The scheme you want to use, this must be the scheme for the UI Tests
|
87
|
+
var scheme: String? { get }
|
86
88
|
|
87
|
-
|
88
|
-
|
89
|
+
/// The number of times a test can fail before snapshot should stop retrying
|
90
|
+
var numberOfRetries: Int { get }
|
89
91
|
|
90
|
-
|
91
|
-
|
92
|
+
/// Should snapshot stop immediately after the tests completely failed on one device?
|
93
|
+
var stopAfterFirstError: Bool { get }
|
92
94
|
|
93
|
-
|
94
|
-
|
95
|
+
/// The directory where build products and other derived data will go
|
96
|
+
var derivedDataPath: String? { get }
|
95
97
|
|
96
|
-
|
97
|
-
|
98
|
+
/// Should an Xcode result bundle be generated in the output directory
|
99
|
+
var resultBundle: Bool { get }
|
98
100
|
|
99
|
-
|
100
|
-
|
101
|
+
/// The name of the target you want to test (if you desire to override the Target Application from Xcode)
|
102
|
+
var testTargetName: String? { get }
|
101
103
|
|
102
|
-
|
103
|
-
|
104
|
+
/// Separate the log files per device and per language
|
105
|
+
var namespaceLogFiles: String? { get }
|
104
106
|
|
105
|
-
|
106
|
-
|
107
|
+
/// Take snapshots on multiple simulators concurrently. Note: This option is only applicable when running against Xcode 9
|
108
|
+
var concurrentSimulators: Bool { get }
|
107
109
|
|
108
|
-
|
109
|
-
|
110
|
+
/// Disable the simulator from showing the 'Slide to type' prompt
|
111
|
+
var disableSlideToType: Bool { get }
|
110
112
|
|
111
|
-
|
112
|
-
|
113
|
+
/// Sets a custom path for Swift Package Manager dependencies
|
114
|
+
var clonedSourcePackagesPath: String? { get }
|
113
115
|
|
114
|
-
|
115
|
-
|
116
|
+
/// The testplan associated with the scheme that should be used for testing
|
117
|
+
var testplan: String? { get }
|
116
118
|
|
117
|
-
|
118
|
-
|
119
|
+
/// Array of strings matching Test Bundle/Test Suite/Test Cases to run
|
120
|
+
var onlyTesting: String? { get }
|
119
121
|
|
120
|
-
|
121
|
-
|
122
|
+
/// Array of strings matching Test Bundle/Test Suite/Test Cases to skip
|
123
|
+
var skipTesting: String? { get }
|
122
124
|
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
/// Disable xcpretty formatting of build
|
127
|
-
var disableXcpretty: Bool? { get }
|
125
|
+
/// Disable xcpretty formatting of build
|
126
|
+
var disableXcpretty: Bool? { get }
|
128
127
|
}
|
129
128
|
|
130
129
|
extension SnapshotfileProtocol {
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
130
|
+
var workspace: String? { return nil }
|
131
|
+
var project: String? { return nil }
|
132
|
+
var xcargs: String? { return nil }
|
133
|
+
var xcconfig: String? { return nil }
|
134
|
+
var devices: [String]? { return nil }
|
135
|
+
var languages: [String] { return ["en-US"] }
|
136
|
+
var launchArguments: [String] { return [""] }
|
137
|
+
var outputDirectory: String { return "screenshots" }
|
138
|
+
var outputSimulatorLogs: Bool { return false }
|
139
|
+
var iosVersion: String? { return nil }
|
140
|
+
var skipOpenSummary: Bool { return false }
|
141
|
+
var skipHelperVersionCheck: Bool { return false }
|
142
|
+
var clearPreviousScreenshots: Bool { return false }
|
143
|
+
var reinstallApp: Bool { return false }
|
144
|
+
var eraseSimulator: Bool { return false }
|
145
|
+
var overrideStatusBar: Bool { return false }
|
146
|
+
var localizeSimulator: Bool { return false }
|
147
|
+
var darkMode: Bool? { return nil }
|
148
|
+
var appIdentifier: String? { return nil }
|
149
|
+
var addPhotos: [String]? { return nil }
|
150
|
+
var addVideos: [String]? { return nil }
|
151
|
+
var htmlTemplate: String? { return nil }
|
152
|
+
var buildlogPath: String { return "~/Library/Logs/snapshot" }
|
153
|
+
var clean: Bool { return false }
|
154
|
+
var testWithoutBuilding: Bool? { return nil }
|
155
|
+
var configuration: String? { return nil }
|
156
|
+
var xcprettyArgs: String? { return nil }
|
157
|
+
var sdk: String? { return nil }
|
158
|
+
var scheme: String? { return nil }
|
159
|
+
var numberOfRetries: Int { return 1 }
|
160
|
+
var stopAfterFirstError: Bool { return false }
|
161
|
+
var derivedDataPath: String? { return nil }
|
162
|
+
var resultBundle: Bool { return false }
|
163
|
+
var testTargetName: String? { return nil }
|
164
|
+
var namespaceLogFiles: String? { return nil }
|
165
|
+
var concurrentSimulators: Bool { return true }
|
166
|
+
var disableSlideToType: Bool { return false }
|
167
|
+
var clonedSourcePackagesPath: String? { return nil }
|
168
|
+
var testplan: String? { return nil }
|
169
|
+
var onlyTesting: String? { return nil }
|
170
|
+
var skipTesting: String? { return nil }
|
171
|
+
var disableXcpretty: Bool? { return nil }
|
173
172
|
}
|
174
173
|
|
175
174
|
// Please don't remove the lines below
|
176
175
|
// They are used to detect outdated files
|
177
|
-
// FastlaneRunnerAPIVersion [0.9.
|
176
|
+
// FastlaneRunnerAPIVersion [0.9.14]
|