fastlane 2.128.1 → 2.133.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +72 -72
- data/cert/lib/cert/module.rb +2 -0
- data/cert/lib/cert/options.rb +6 -0
- data/cert/lib/cert/runner.rb +17 -11
- data/deliver/lib/deliver/submit_for_review.rb +1 -1
- data/fastlane/lib/fastlane.rb +4 -1
- data/fastlane/lib/fastlane/actions/.hockey.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/actions_helper.rb +4 -0
- data/fastlane/lib/fastlane/actions/app_store_build_number.rb +11 -3
- data/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb +1 -1
- data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -1
- data/fastlane/lib/fastlane/actions/carthage.rb +4 -3
- data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -1
- data/fastlane/lib/fastlane/actions/copy_artifacts.rb +1 -1
- data/fastlane/lib/fastlane/actions/danger.rb +7 -0
- data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +23 -4
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +35 -9
- data/fastlane/lib/fastlane/actions/ensure_env_vars.rb +58 -0
- data/fastlane/lib/fastlane/actions/get_version_number.rb +21 -2
- data/fastlane/lib/fastlane/actions/github_api.rb +1 -1
- data/fastlane/lib/fastlane/actions/gradle.rb +37 -8
- data/fastlane/lib/fastlane/actions/import_from_git.rb +1 -1
- data/fastlane/lib/fastlane/actions/onesignal.rb +59 -29
- data/fastlane/lib/fastlane/actions/pod_push.rb +29 -10
- data/fastlane/lib/fastlane/actions/puts.rb +1 -1
- data/fastlane/lib/fastlane/actions/register_devices.rb +38 -22
- data/fastlane/lib/fastlane/actions/resign.rb +2 -2
- data/fastlane/lib/fastlane/actions/slather.rb +1 -0
- data/fastlane/lib/fastlane/actions/sonar.rb +18 -0
- data/fastlane/lib/fastlane/actions/update_fastlane.rb +1 -1
- data/fastlane/lib/fastlane/commands_generator.rb +17 -1
- data/fastlane/lib/fastlane/fast_file.rb +7 -2
- data/fastlane/lib/fastlane/helper/adb_helper.rb +5 -0
- data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +12 -6
- data/fastlane/lib/fastlane/plugins/plugin_manager.rb +2 -0
- data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +3 -0
- data/fastlane/lib/fastlane/setup/setup_android.rb +1 -1
- data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +126 -34
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +82 -9
- data/fastlane/lib/fastlane/swift_runner_upgrader.rb +4 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Actions.swift +15 -0
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +121 -1
- data/fastlane/swift/Fastlane.swift +4164 -291
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj +9 -0
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +93 -11
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +65 -1
- data/fastlane/swift/Plugins.swift +15 -0
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/PrecheckfileProtocol.swift +15 -2
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +111 -3
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/ScreengrabfileProtocol.swift +39 -2
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +71 -1
- data/fastlane/swift/upgrade_manifest.json +1 -1
- data/fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb +1 -1
- data/fastlane_core/lib/fastlane_core/command_executor.rb +1 -1
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +1 -1
- data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
- data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +1 -3
- data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +3 -2
- data/frameit/lib/frameit/editor.rb +1 -1
- data/frameit/lib/frameit/screenshot.rb +4 -0
- data/gym/lib/gym/.runner.rb.swp +0 -0
- data/gym/lib/gym/generators/build_command_generator.rb +5 -1
- data/gym/lib/gym/options.rb +17 -17
- data/gym/lib/gym/runner.rb +33 -5
- data/match/lib/match/generator.rb +1 -0
- data/match/lib/match/importer.rb +1 -1
- data/match/lib/match/module.rb +2 -0
- data/match/lib/match/nuke.rb +6 -6
- data/match/lib/match/options.rb +17 -0
- data/match/lib/match/runner.rb +12 -8
- data/match/lib/match/storage/git_storage.rb +8 -2
- data/match/lib/match/storage/google_cloud_storage.rb +85 -33
- data/match/lib/match/storage/interface.rb +1 -1
- data/produce/lib/produce/service.rb +7 -1
- data/scan/lib/scan/options.rb +1 -1
- data/scan/lib/scan/runner.rb +1 -1
- data/sigh/lib/sigh/download_all.rb +48 -8
- data/sigh/lib/sigh/runner.rb +13 -5
- data/snapshot/lib/assets/SnapshotHelper.swift +3 -3
- data/snapshot/lib/snapshot/commands_generator.rb +2 -2
- data/snapshot/lib/snapshot/options.rb +5 -0
- data/snapshot/lib/snapshot/reports_generator.rb +3 -0
- data/snapshot/lib/snapshot/simulator_launchers/launcher_configuration.rb +2 -0
- data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb +1 -1
- data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +16 -1
- data/snapshot/lib/snapshot/update.rb +4 -2
- data/spaceship/lib/spaceship/client.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/app.rb +6 -6
- data/spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb +1 -0
- data/spaceship/lib/spaceship/connect_api/models/build.rb +3 -3
- data/spaceship/lib/spaceship/connect_api/models/build_delivery.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/certificate.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/device.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/profile.rb +1 -1
- data/spaceship/lib/spaceship/du/du_client.rb +4 -0
- data/spaceship/lib/spaceship/portal/.certificate.rb.swp +0 -0
- data/spaceship/lib/spaceship/portal/certificate.rb +15 -1
- data/spaceship/lib/spaceship/portal/provisioning_profile.rb +1 -1
- data/spaceship/lib/spaceship/spaceauth_runner.rb +1 -1
- data/spaceship/lib/spaceship/test_flight/tester.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_version.rb +4 -0
- data/spaceship/lib/spaceship/tunes/application.rb +4 -0
- data/spaceship/lib/spaceship/tunes/availability.rb +40 -8
- data/spaceship/lib/spaceship/tunes/b2b_organization.rb +50 -0
- data/spaceship/lib/spaceship/tunes/build_details.rb +160 -18
- data/spaceship/lib/spaceship/tunes/display_family.rb +3 -3
- data/spaceship/lib/spaceship/tunes/iap.rb +2 -0
- data/spaceship/lib/spaceship/tunes/iap_detail.rb +17 -0
- data/spaceship/lib/spaceship/tunes/iap_family_details.rb +10 -2
- data/spaceship/lib/spaceship/tunes/tunes_client.rb +63 -2
- data/supply/lib/supply/client.rb +1 -1
- metadata +54 -47
@@ -7,6 +7,8 @@
|
|
7
7
|
objects = {
|
8
8
|
|
9
9
|
/* Begin PBXBuildFile section */
|
10
|
+
0311E387230AC1B20060BB5C /* Plugins.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0311E386230AC1B20060BB5C /* Plugins.swift */; };
|
11
|
+
0311E38B230AC9490060BB5C /* Actions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0311E38A230AC9490060BB5C /* Actions.swift */; };
|
10
12
|
B302067B1F5E3E9000DE6EBD /* SnapshotfileProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = B30206741F5E3E9000DE6EBD /* SnapshotfileProtocol.swift */; };
|
11
13
|
B302067C1F5E3E9000DE6EBD /* GymfileProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = B30206751F5E3E9000DE6EBD /* GymfileProtocol.swift */; };
|
12
14
|
B302067D1F5E3E9000DE6EBD /* MatchfileProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = B30206761F5E3E9000DE6EBD /* MatchfileProtocol.swift */; };
|
@@ -38,6 +40,8 @@
|
|
38
40
|
/* End PBXBuildFile section */
|
39
41
|
|
40
42
|
/* Begin PBXFileReference section */
|
43
|
+
0311E386230AC1B20060BB5C /* Plugins.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Plugins.swift; path = ../Plugins.swift; sourceTree = "<group>"; };
|
44
|
+
0311E38A230AC9490060BB5C /* Actions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Actions.swift; path = ../Actions.swift; sourceTree = "<group>"; };
|
41
45
|
B30206741F5E3E9000DE6EBD /* SnapshotfileProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SnapshotfileProtocol.swift; path = ../SnapshotfileProtocol.swift; sourceTree = "<group>"; };
|
42
46
|
B30206751F5E3E9000DE6EBD /* GymfileProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = GymfileProtocol.swift; path = ../GymfileProtocol.swift; sourceTree = "<group>"; };
|
43
47
|
B30206761F5E3E9000DE6EBD /* MatchfileProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MatchfileProtocol.swift; path = ../MatchfileProtocol.swift; sourceTree = "<group>"; };
|
@@ -131,10 +135,12 @@
|
|
131
135
|
isa = PBXGroup;
|
132
136
|
children = (
|
133
137
|
B3144C09200553D400470AFE /* README.txt */,
|
138
|
+
0311E38A230AC9490060BB5C /* Actions.swift */,
|
134
139
|
B3BA659D1F5A269100B34850 /* Fastlane.swift */,
|
135
140
|
B302067A1F5E3E9000DE6EBD /* DeliverfileProtocol.swift */,
|
136
141
|
B30206751F5E3E9000DE6EBD /* GymfileProtocol.swift */,
|
137
142
|
B30206761F5E3E9000DE6EBD /* MatchfileProtocol.swift */,
|
143
|
+
0311E386230AC1B20060BB5C /* Plugins.swift */,
|
138
144
|
B30206771F5E3E9000DE6EBD /* PrecheckfileProtocol.swift */,
|
139
145
|
B30206781F5E3E9000DE6EBD /* ScanfileProtocol.swift */,
|
140
146
|
B30206791F5E3E9000DE6EBD /* ScreengrabfileProtocol.swift */,
|
@@ -205,6 +211,7 @@
|
|
205
211
|
developmentRegion = English;
|
206
212
|
hasScannedForEncodings = 0;
|
207
213
|
knownRegions = (
|
214
|
+
English,
|
208
215
|
en,
|
209
216
|
);
|
210
217
|
mainGroup = B33BAF4E1F51F8D90001A751;
|
@@ -253,6 +260,7 @@
|
|
253
260
|
B302067B1F5E3E9000DE6EBD /* SnapshotfileProtocol.swift in Sources */,
|
254
261
|
D55B28C31F6C588300DC42C5 /* Deliverfile.swift in Sources */,
|
255
262
|
D5A7C4901F7C4DAF00A91DE6 /* Fastfile.swift in Sources */,
|
263
|
+
0311E38B230AC9490060BB5C /* Actions.swift in Sources */,
|
256
264
|
D5A7C48F1F7C4DAF00A91DE6 /* Appfile.swift in Sources */,
|
257
265
|
B3BA65AB1F5A269100B34850 /* SocketClient.swift in Sources */,
|
258
266
|
B30206811F5E3E9000DE6EBD /* DeliverfileProtocol.swift in Sources */,
|
@@ -263,6 +271,7 @@
|
|
263
271
|
B3BA65AD1F5A269100B34850 /* SocketResponse.swift in Sources */,
|
264
272
|
B3BA65A81F5A269100B34850 /* main.swift in Sources */,
|
265
273
|
D55B28C71F6C588300DC42C5 /* Scanfile.swift in Sources */,
|
274
|
+
0311E387230AC1B20060BB5C /* Plugins.swift in Sources */,
|
266
275
|
D55B28C91F6C588300DC42C5 /* Snapshotfile.swift in Sources */,
|
267
276
|
B3BA65A61F5A269100B34850 /* Fastlane.swift in Sources */,
|
268
277
|
D55B28C81F6C588300DC42C5 /* Screengrabfile.swift in Sources */,
|
Binary file
|
@@ -1,42 +1,123 @@
|
|
1
1
|
protocol GymfileProtocol: class {
|
2
|
+
|
3
|
+
/// Path to the workspace file
|
2
4
|
var workspace: String? { get }
|
5
|
+
|
6
|
+
/// Path to the project file
|
3
7
|
var project: String? { get }
|
8
|
+
|
9
|
+
/// The project's scheme. Make sure it's marked as `Shared`
|
4
10
|
var scheme: String? { get }
|
11
|
+
|
12
|
+
/// Should the project be cleaned before building it?
|
5
13
|
var clean: Bool { get }
|
14
|
+
|
15
|
+
/// The directory in which the ipa file should be stored in
|
6
16
|
var outputDirectory: String { get }
|
17
|
+
|
18
|
+
/// The name of the resulting ipa file
|
7
19
|
var outputName: String? { get }
|
20
|
+
|
21
|
+
/// The configuration to use when building the app. Defaults to 'Release'
|
8
22
|
var configuration: String? { get }
|
23
|
+
|
24
|
+
/// Hide all information that's not necessary while building
|
9
25
|
var silent: Bool { get }
|
26
|
+
|
27
|
+
/// The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'
|
10
28
|
var codesigningIdentity: String? { get }
|
29
|
+
|
30
|
+
/// Should we skip packaging the ipa?
|
11
31
|
var skipPackageIpa: Bool { get }
|
32
|
+
|
33
|
+
/// Should the ipa file include symbols?
|
12
34
|
var includeSymbols: Bool? { get }
|
35
|
+
|
36
|
+
/// Should the ipa file include bitcode?
|
13
37
|
var includeBitcode: Bool? { get }
|
38
|
+
|
39
|
+
/// Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id
|
14
40
|
var exportMethod: String? { get }
|
41
|
+
|
42
|
+
/// Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options
|
15
43
|
var exportOptions: [String : Any]? { get }
|
44
|
+
|
45
|
+
/// Pass additional arguments to xcodebuild for the package phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
|
16
46
|
var exportXcargs: String? { get }
|
47
|
+
|
48
|
+
/// Export ipa from previously built xcarchive. Uses archive_path as source
|
17
49
|
var skipBuildArchive: Bool? { get }
|
50
|
+
|
51
|
+
/// After building, don't archive, effectively not including -archivePath param
|
18
52
|
var skipArchive: Bool? { get }
|
53
|
+
|
54
|
+
/// Build without codesigning
|
55
|
+
var skipCodesigning: Bool? { get }
|
56
|
+
|
57
|
+
/// The directory in which the archive should be stored in
|
19
58
|
var buildPath: String? { get }
|
59
|
+
|
60
|
+
/// The path to the created archive
|
20
61
|
var archivePath: String? { get }
|
62
|
+
|
63
|
+
/// The directory where built products and other derived data will go
|
21
64
|
var derivedDataPath: String? { get }
|
65
|
+
|
66
|
+
/// Should an Xcode result bundle be generated in the output directory
|
22
67
|
var resultBundle: Bool { get }
|
68
|
+
|
69
|
+
/// Path to the result bundle directory to create. Ignored if `result_bundle` if false
|
23
70
|
var resultBundlePath: String? { get }
|
71
|
+
|
72
|
+
/// The directory where to store the build log
|
24
73
|
var buildlogPath: String { get }
|
74
|
+
|
75
|
+
/// The SDK that should be used for building the application
|
25
76
|
var sdk: String? { get }
|
77
|
+
|
78
|
+
/// The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)
|
26
79
|
var toolchain: String? { get }
|
80
|
+
|
81
|
+
/// Use a custom destination for building the app
|
27
82
|
var destination: String? { get }
|
83
|
+
|
84
|
+
/// Optional: Sometimes you need to specify a team id when exporting the ipa file
|
28
85
|
var exportTeamId: String? { get }
|
86
|
+
|
87
|
+
/// Pass additional arguments to xcodebuild for the build phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
|
29
88
|
var xcargs: String? { get }
|
89
|
+
|
90
|
+
/// Use an extra XCCONFIG file to build your app
|
30
91
|
var xcconfig: String? { get }
|
31
|
-
|
32
|
-
|
33
|
-
var
|
92
|
+
|
93
|
+
/// Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
|
94
|
+
var suppressXcodeOutput: Bool? { get }
|
95
|
+
|
96
|
+
/// Disable xcpretty formatting of build output
|
97
|
+
var disableXcpretty: Bool? { get }
|
98
|
+
|
99
|
+
/// Use the test (RSpec style) format for build output
|
100
|
+
var xcprettyTestFormat: Bool? { get }
|
101
|
+
|
102
|
+
/// A custom xcpretty formatter to use
|
34
103
|
var xcprettyFormatter: String? { get }
|
104
|
+
|
105
|
+
/// Have xcpretty create a JUnit-style XML report at the provided path
|
35
106
|
var xcprettyReportJunit: String? { get }
|
107
|
+
|
108
|
+
/// Have xcpretty create a simple HTML report at the provided path
|
36
109
|
var xcprettyReportHtml: String? { get }
|
110
|
+
|
111
|
+
/// Have xcpretty create a JSON compilation database at the provided path
|
37
112
|
var xcprettyReportJson: String? { get }
|
38
|
-
|
39
|
-
|
113
|
+
|
114
|
+
/// Analyze the project build time and store the output in 'culprits.txt' file
|
115
|
+
var analyzeBuildTime: Bool? { get }
|
116
|
+
|
117
|
+
/// Have xcpretty use unicode encoding when reporting builds
|
118
|
+
var xcprettyUtf: Bool? { get }
|
119
|
+
|
120
|
+
/// Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used
|
40
121
|
var skipProfileDetection: Bool { get }
|
41
122
|
}
|
42
123
|
|
@@ -58,6 +139,7 @@ extension GymfileProtocol {
|
|
58
139
|
var exportXcargs: String? { return nil }
|
59
140
|
var skipBuildArchive: Bool? { return nil }
|
60
141
|
var skipArchive: Bool? { return nil }
|
142
|
+
var skipCodesigning: Bool? { return nil }
|
61
143
|
var buildPath: String? { return nil }
|
62
144
|
var archivePath: String? { return nil }
|
63
145
|
var derivedDataPath: String? { return nil }
|
@@ -70,18 +152,18 @@ extension GymfileProtocol {
|
|
70
152
|
var exportTeamId: String? { return nil }
|
71
153
|
var xcargs: String? { return nil }
|
72
154
|
var xcconfig: String? { return nil }
|
73
|
-
var suppressXcodeOutput:
|
74
|
-
var disableXcpretty:
|
75
|
-
var xcprettyTestFormat:
|
155
|
+
var suppressXcodeOutput: Bool? { return nil }
|
156
|
+
var disableXcpretty: Bool? { return nil }
|
157
|
+
var xcprettyTestFormat: Bool? { return nil }
|
76
158
|
var xcprettyFormatter: String? { return nil }
|
77
159
|
var xcprettyReportJunit: String? { return nil }
|
78
160
|
var xcprettyReportHtml: String? { return nil }
|
79
161
|
var xcprettyReportJson: String? { return nil }
|
80
|
-
var analyzeBuildTime:
|
81
|
-
var xcprettyUtf:
|
162
|
+
var analyzeBuildTime: Bool? { return nil }
|
163
|
+
var xcprettyUtf: Bool? { return nil }
|
82
164
|
var skipProfileDetection: Bool { return false }
|
83
165
|
}
|
84
166
|
|
85
167
|
// Please don't remove the lines below
|
86
168
|
// They are used to detect outdated files
|
87
|
-
// FastlaneRunnerAPIVersion [0.9.
|
169
|
+
// FastlaneRunnerAPIVersion [0.9.17]
|
@@ -1,35 +1,98 @@
|
|
1
1
|
protocol MatchfileProtocol: class {
|
2
|
+
|
3
|
+
/// Define the profile type, can be appstore, adhoc, development, enterprise
|
2
4
|
var type: String { get }
|
5
|
+
|
6
|
+
/// Only fetch existing certificates and profiles, don't generate new ones
|
3
7
|
var readonly: Bool { get }
|
8
|
+
|
9
|
+
/// Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)
|
10
|
+
var generateAppleCerts: Bool { get }
|
11
|
+
|
12
|
+
/// Skip syncing provisioning profiles
|
13
|
+
var skipProvisioningProfiles: Bool { get }
|
14
|
+
|
15
|
+
/// The bundle identifier(s) of your app (comma-separated)
|
4
16
|
var appIdentifier: [String] { get }
|
17
|
+
|
18
|
+
/// Your Apple ID Username
|
5
19
|
var username: String { get }
|
20
|
+
|
21
|
+
/// The ID of your Developer Portal team if you're in multiple teams
|
6
22
|
var teamId: String? { get }
|
23
|
+
|
24
|
+
/// The name of your Developer Portal team if you're in multiple teams
|
7
25
|
var teamName: String? { get }
|
26
|
+
|
27
|
+
/// Define where you want to store your certificates
|
8
28
|
var storageMode: String { get }
|
29
|
+
|
30
|
+
/// URL to the git repo containing all the certificates
|
9
31
|
var gitUrl: String { get }
|
32
|
+
|
33
|
+
/// Specific git branch to use
|
10
34
|
var gitBranch: String { get }
|
35
|
+
|
36
|
+
/// git user full name to commit
|
11
37
|
var gitFullName: String? { get }
|
38
|
+
|
39
|
+
/// git user email to commit
|
12
40
|
var gitUserEmail: String? { get }
|
41
|
+
|
42
|
+
/// Make a shallow clone of the repository (truncate the history to 1 revision)
|
13
43
|
var shallowClone: Bool { get }
|
44
|
+
|
45
|
+
/// Clone just the branch specified, instead of the whole repo. This requires that the branch already exists. Otherwise the command will fail
|
14
46
|
var cloneBranchDirectly: Bool { get }
|
47
|
+
|
48
|
+
/// Use a basic authorization header to access the git repo (e.g.: access via HTTPS, GitHub Actions, etc), usually a string in Base64
|
49
|
+
var gitBasicAuthorization: String? { get }
|
50
|
+
|
51
|
+
/// Name of the Google Cloud Storage bucket to use
|
15
52
|
var googleCloudBucketName: String? { get }
|
53
|
+
|
54
|
+
/// Path to the gc_keys.json file
|
16
55
|
var googleCloudKeysFile: String? { get }
|
56
|
+
|
57
|
+
/// ID of the Google Cloud project to use for authentication
|
17
58
|
var googleCloudProjectId: String? { get }
|
59
|
+
|
60
|
+
/// Keychain the items should be imported to
|
18
61
|
var keychainName: String { get }
|
62
|
+
|
63
|
+
/// This might be required the first time you access certificates on a new mac. For the login/default keychain this is your account password
|
19
64
|
var keychainPassword: String? { get }
|
65
|
+
|
66
|
+
/// Renew the provisioning profiles every time you run match
|
20
67
|
var force: Bool { get }
|
68
|
+
|
69
|
+
/// Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile type 'appstore'
|
21
70
|
var forceForNewDevices: Bool { get }
|
71
|
+
|
72
|
+
/// Disables confirmation prompts during nuke, answering them with yes
|
22
73
|
var skipConfirmation: Bool { get }
|
74
|
+
|
75
|
+
/// Skip generation of a README.md for the created git repository
|
23
76
|
var skipDocs: Bool { get }
|
77
|
+
|
78
|
+
/// Set the provisioning profile's platform to work with (i.e. ios, tvos)
|
24
79
|
var platform: String { get }
|
80
|
+
|
81
|
+
/// The name of provisioning profile template. If the developer account has provisioning profile templates (aka: custom entitlements), the template name can be found by inspecting the Entitlements drop-down while creating/editing a provisioning profile (e.g. "Apple Pay Pass Suppression Development")
|
25
82
|
var templateName: String? { get }
|
83
|
+
|
84
|
+
/// Path in which to export certificates, key and profile
|
26
85
|
var outputPath: String? { get }
|
86
|
+
|
87
|
+
/// Print out extra information and all commands
|
27
88
|
var verbose: Bool { get }
|
28
89
|
}
|
29
90
|
|
30
91
|
extension MatchfileProtocol {
|
31
92
|
var type: String { return "development" }
|
32
93
|
var readonly: Bool { return false }
|
94
|
+
var generateAppleCerts: Bool { return true }
|
95
|
+
var skipProvisioningProfiles: Bool { return false }
|
33
96
|
var appIdentifier: [String] { return [] }
|
34
97
|
var username: String { return "" }
|
35
98
|
var teamId: String? { return nil }
|
@@ -41,6 +104,7 @@ extension MatchfileProtocol {
|
|
41
104
|
var gitUserEmail: String? { return nil }
|
42
105
|
var shallowClone: Bool { return false }
|
43
106
|
var cloneBranchDirectly: Bool { return false }
|
107
|
+
var gitBasicAuthorization: String? { return nil }
|
44
108
|
var googleCloudBucketName: String? { return nil }
|
45
109
|
var googleCloudKeysFile: String? { return nil }
|
46
110
|
var googleCloudProjectId: String? { return nil }
|
@@ -58,4 +122,4 @@ extension MatchfileProtocol {
|
|
58
122
|
|
59
123
|
// Please don't remove the lines below
|
60
124
|
// They are used to detect outdated files
|
61
|
-
// FastlaneRunnerAPIVersion [0.9.
|
125
|
+
// FastlaneRunnerAPIVersion [0.9.9]
|
@@ -0,0 +1,15 @@
|
|
1
|
+
// This class is automatically included in FastlaneRunner during build
|
2
|
+
|
3
|
+
// This autogenerated file will be overwritten or replaced when installing/updating plugins or running "fastlane generate_swift"
|
4
|
+
//
|
5
|
+
// ** NOTE **
|
6
|
+
// This file is provided by fastlane and WILL be overwritten in future updates
|
7
|
+
// If you want to add extra functionality to this project, create a new file in a
|
8
|
+
// new group so that it won't be marked for upgrade
|
9
|
+
//
|
10
|
+
|
11
|
+
import Foundation
|
12
|
+
|
13
|
+
// Please don't remove the lines below
|
14
|
+
// They are used to detect outdated files
|
15
|
+
// FastlaneRunnerAPIVersion [0.9.56]
|
@@ -1,10 +1,24 @@
|
|
1
1
|
protocol PrecheckfileProtocol: class {
|
2
|
+
|
3
|
+
/// The bundle identifier of your app
|
2
4
|
var appIdentifier: String { get }
|
5
|
+
|
6
|
+
/// Your Apple ID Username
|
3
7
|
var username: String { get }
|
8
|
+
|
9
|
+
/// The ID of your App Store Connect team if you're in multiple teams
|
4
10
|
var teamId: String? { get }
|
11
|
+
|
12
|
+
/// The name of your App Store Connect team if you're in multiple teams
|
5
13
|
var teamName: String? { get }
|
14
|
+
|
15
|
+
/// The default rule level unless otherwise configured
|
6
16
|
var defaultRuleLevel: String { get }
|
17
|
+
|
18
|
+
/// Should check in-app purchases?
|
7
19
|
var includeInAppPurchases: Bool { get }
|
20
|
+
|
21
|
+
/// using text indicating that your IAP is free
|
8
22
|
var freeStuffInIap: String? { get }
|
9
23
|
}
|
10
24
|
|
@@ -18,7 +32,6 @@ extension PrecheckfileProtocol {
|
|
18
32
|
var freeStuffInIap: String? { return nil }
|
19
33
|
}
|
20
34
|
|
21
|
-
|
22
35
|
// Please don't remove the lines below
|
23
36
|
// They are used to detect outdated files
|
24
|
-
// FastlaneRunnerAPIVersion [0.9.
|
37
|
+
// FastlaneRunnerAPIVersion [0.9.11]
|
@@ -1,57 +1,165 @@
|
|
1
1
|
protocol ScanfileProtocol: class {
|
2
|
+
|
3
|
+
/// Path to the workspace file
|
2
4
|
var workspace: String? { get }
|
5
|
+
|
6
|
+
/// Path to the project file
|
3
7
|
var project: String? { get }
|
8
|
+
|
9
|
+
/// The project's scheme. Make sure it's marked as `Shared`
|
4
10
|
var scheme: String? { get }
|
11
|
+
|
12
|
+
/// The name of the simulator type you want to run tests on (e.g. 'iPhone 6')
|
5
13
|
var device: String? { get }
|
14
|
+
|
15
|
+
/// Array of devices to run the tests on (e.g. ['iPhone 6', 'iPad Air'])
|
6
16
|
var devices: [String]? { get }
|
17
|
+
|
18
|
+
/// Should skip auto detecting of devices if none were specified
|
7
19
|
var skipDetectDevices: Bool { get }
|
20
|
+
|
21
|
+
/// Enabling this option will automatically killall Simulator processes before the run
|
8
22
|
var forceQuitSimulator: Bool { get }
|
23
|
+
|
24
|
+
/// Enabling this option will automatically erase the simulator before running the application
|
9
25
|
var resetSimulator: Bool { get }
|
26
|
+
|
27
|
+
/// Enabling this option will launch the first simulator prior to calling any xcodebuild command
|
10
28
|
var prelaunchSimulator: Bool? { get }
|
29
|
+
|
30
|
+
/// Enabling this option will automatically uninstall the application before running it
|
11
31
|
var reinstallApp: Bool { get }
|
32
|
+
|
33
|
+
/// The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)
|
12
34
|
var appIdentifier: String? { get }
|
35
|
+
|
36
|
+
/// Array of strings matching Test Bundle/Test Suite/Test Cases to run
|
13
37
|
var onlyTesting: String? { get }
|
38
|
+
|
39
|
+
/// Array of strings matching Test Bundle/Test Suite/Test Cases to skip
|
14
40
|
var skipTesting: String? { get }
|
41
|
+
|
42
|
+
/// Run tests using the provided `.xctestrun` file
|
15
43
|
var xctestrun: String? { get }
|
44
|
+
|
45
|
+
/// The toolchain that should be used for building the application (e.g. `com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a`)
|
16
46
|
var toolchain: String? { get }
|
47
|
+
|
48
|
+
/// Should the project be cleaned before building it?
|
17
49
|
var clean: Bool { get }
|
50
|
+
|
51
|
+
/// Should code coverage be generated? (Xcode 7 and up)
|
18
52
|
var codeCoverage: Bool? { get }
|
53
|
+
|
54
|
+
/// Should the address sanitizer be turned on?
|
19
55
|
var addressSanitizer: Bool? { get }
|
56
|
+
|
57
|
+
/// Should the thread sanitizer be turned on?
|
20
58
|
var threadSanitizer: Bool? { get }
|
59
|
+
|
60
|
+
/// Should the HTML report be opened when tests are completed?
|
21
61
|
var openReport: Bool { get }
|
62
|
+
|
63
|
+
/// The directory in which all reports will be stored
|
22
64
|
var outputDirectory: String { get }
|
65
|
+
|
66
|
+
/// Define how the output should look like. Valid values are: standard, basic, rspec, or raw (disables xcpretty)
|
23
67
|
var outputStyle: String? { get }
|
68
|
+
|
69
|
+
/// Comma separated list of the output types (e.g. html, junit, json-compilation-database)
|
24
70
|
var outputTypes: String { get }
|
71
|
+
|
72
|
+
/// 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
|
25
73
|
var outputFiles: String? { get }
|
74
|
+
|
75
|
+
/// The directory where to store the raw log
|
26
76
|
var buildlogPath: String { get }
|
77
|
+
|
78
|
+
/// If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory
|
27
79
|
var includeSimulatorLogs: Bool { get }
|
28
|
-
|
80
|
+
|
81
|
+
/// Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
|
82
|
+
var suppressXcodeOutput: Bool? { get }
|
83
|
+
|
84
|
+
/// A custom xcpretty formatter to use
|
29
85
|
var formatter: String? { get }
|
86
|
+
|
87
|
+
/// Pass in xcpretty additional command line arguments (e.g. '--test --no-color' or '--tap --no-utf')
|
30
88
|
var xcprettyArgs: String? { get }
|
89
|
+
|
90
|
+
/// The directory where build products and other derived data will go
|
31
91
|
var derivedDataPath: String? { get }
|
92
|
+
|
93
|
+
/// Should zip the derived data build products and place in output path?
|
32
94
|
var shouldZipBuildProducts: Bool { get }
|
95
|
+
|
96
|
+
/// Should an Xcode result bundle be generated in the output directory
|
33
97
|
var resultBundle: Bool { get }
|
98
|
+
|
99
|
+
/// Generate the json compilation database with clang naming convention (compile_commands.json)
|
34
100
|
var useClangReportName: Bool { get }
|
101
|
+
|
102
|
+
/// Constrain the number of simulator devices on which to test concurrently. Equivalent to -maximum-concurrent-test-simulator-destinations
|
35
103
|
var maxConcurrentSimulators: Int? { get }
|
104
|
+
|
105
|
+
/// Do not run test bundles in parallel on the specified destinations. Testing will occur on each destination serially. Equivalent to -disable-concurrent-testing
|
36
106
|
var disableConcurrentTesting: Bool { get }
|
107
|
+
|
108
|
+
/// Should debug build be skipped before test build?
|
37
109
|
var skipBuild: Bool { get }
|
110
|
+
|
111
|
+
/// Test without building, requires a derived data path
|
38
112
|
var testWithoutBuilding: Bool? { get }
|
113
|
+
|
114
|
+
/// Build for testing only, does not run tests
|
39
115
|
var buildForTesting: Bool? { get }
|
116
|
+
|
117
|
+
/// The SDK that should be used for building the application
|
40
118
|
var sdk: String? { get }
|
119
|
+
|
120
|
+
/// The configuration to use when building the app. Defaults to 'Release'
|
41
121
|
var configuration: String? { get }
|
122
|
+
|
123
|
+
/// Pass additional arguments to xcodebuild. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
|
42
124
|
var xcargs: String? { get }
|
125
|
+
|
126
|
+
/// Use an extra XCCONFIG file to build your app
|
43
127
|
var xcconfig: String? { get }
|
128
|
+
|
129
|
+
/// Create an Incoming WebHook for your Slack group to post results there
|
44
130
|
var slackUrl: String? { get }
|
131
|
+
|
132
|
+
/// #channel or @username
|
45
133
|
var slackChannel: String? { get }
|
134
|
+
|
135
|
+
/// The message included with each message posted to slack
|
46
136
|
var slackMessage: String? { get }
|
137
|
+
|
138
|
+
/// Use webhook's default username and icon settings? (true/false)
|
47
139
|
var slackUseWebhookConfiguredUsernameAndIcon: Bool { get }
|
140
|
+
|
141
|
+
/// Overrides the webhook's username property if slack_use_webhook_configured_username_and_icon is false
|
48
142
|
var slackUsername: String { get }
|
143
|
+
|
144
|
+
/// Overrides the webhook's image property if slack_use_webhook_configured_username_and_icon is false
|
49
145
|
var slackIconUrl: String { get }
|
146
|
+
|
147
|
+
/// Don't publish to slack, even when an URL is given
|
50
148
|
var skipSlack: Bool { get }
|
149
|
+
|
150
|
+
/// Only post on Slack if the tests fail
|
51
151
|
var slackOnlyOnFailure: Bool { get }
|
152
|
+
|
153
|
+
/// Use only if you're a pro, use the other options instead
|
52
154
|
var destination: String? { get }
|
155
|
+
|
156
|
+
/// **DEPRECATED!** Use `--output_files` instead - Sets custom full report file name when generating a single report
|
53
157
|
var customReportFileName: String? { get }
|
158
|
+
|
159
|
+
/// Allows for override of the default `xcodebuild` command
|
54
160
|
var xcodebuildCommand: String { get }
|
161
|
+
|
162
|
+
/// Should this step stop the build if the tests fail? Set this to false if you're using trainer
|
55
163
|
var failBuild: Bool { get }
|
56
164
|
}
|
57
165
|
|
@@ -82,7 +190,7 @@ extension ScanfileProtocol {
|
|
82
190
|
var outputFiles: String? { return nil }
|
83
191
|
var buildlogPath: String { return "~/Library/Logs/scan" }
|
84
192
|
var includeSimulatorLogs: Bool { return false }
|
85
|
-
var suppressXcodeOutput:
|
193
|
+
var suppressXcodeOutput: Bool? { return nil }
|
86
194
|
var formatter: String? { return nil }
|
87
195
|
var xcprettyArgs: String? { return nil }
|
88
196
|
var derivedDataPath: String? { return nil }
|
@@ -114,4 +222,4 @@ extension ScanfileProtocol {
|
|
114
222
|
|
115
223
|
// Please don't remove the lines below
|
116
224
|
// They are used to detect outdated files
|
117
|
-
// FastlaneRunnerAPIVersion [0.9.
|
225
|
+
// FastlaneRunnerAPIVersion [0.9.22]
|