fastlane 2.132.0 → 2.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +72 -72
- data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +10 -2
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +72 -3
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +121 -1
- data/fastlane/swift/Fastlane.swift +3827 -1
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +81 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +59 -1
- 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 +109 -1
- 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 +69 -1
- data/match/lib/match/storage/google_cloud_storage.rb +3 -0
- metadata +20 -21
@@ -1,43 +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
|
19
55
|
var skipCodesigning: Bool? { get }
|
56
|
+
|
57
|
+
/// The directory in which the archive should be stored in
|
20
58
|
var buildPath: String? { get }
|
59
|
+
|
60
|
+
/// The path to the created archive
|
21
61
|
var archivePath: String? { get }
|
62
|
+
|
63
|
+
/// The directory where built products and other derived data will go
|
22
64
|
var derivedDataPath: String? { get }
|
65
|
+
|
66
|
+
/// Should an Xcode result bundle be generated in the output directory
|
23
67
|
var resultBundle: Bool { get }
|
68
|
+
|
69
|
+
/// Path to the result bundle directory to create. Ignored if `result_bundle` if false
|
24
70
|
var resultBundlePath: String? { get }
|
71
|
+
|
72
|
+
/// The directory where to store the build log
|
25
73
|
var buildlogPath: String { get }
|
74
|
+
|
75
|
+
/// The SDK that should be used for building the application
|
26
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)
|
27
79
|
var toolchain: String? { get }
|
80
|
+
|
81
|
+
/// Use a custom destination for building the app
|
28
82
|
var destination: String? { get }
|
83
|
+
|
84
|
+
/// Optional: Sometimes you need to specify a team id when exporting the ipa file
|
29
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++"
|
30
88
|
var xcargs: String? { get }
|
89
|
+
|
90
|
+
/// Use an extra XCCONFIG file to build your app
|
31
91
|
var xcconfig: String? { get }
|
92
|
+
|
93
|
+
/// Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
|
32
94
|
var suppressXcodeOutput: Bool? { get }
|
95
|
+
|
96
|
+
/// Disable xcpretty formatting of build output
|
33
97
|
var disableXcpretty: Bool? { get }
|
98
|
+
|
99
|
+
/// Use the test (RSpec style) format for build output
|
34
100
|
var xcprettyTestFormat: Bool? { get }
|
101
|
+
|
102
|
+
/// A custom xcpretty formatter to use
|
35
103
|
var xcprettyFormatter: String? { get }
|
104
|
+
|
105
|
+
/// Have xcpretty create a JUnit-style XML report at the provided path
|
36
106
|
var xcprettyReportJunit: String? { get }
|
107
|
+
|
108
|
+
/// Have xcpretty create a simple HTML report at the provided path
|
37
109
|
var xcprettyReportHtml: String? { get }
|
110
|
+
|
111
|
+
/// Have xcpretty create a JSON compilation database at the provided path
|
38
112
|
var xcprettyReportJson: String? { get }
|
113
|
+
|
114
|
+
/// Analyze the project build time and store the output in 'culprits.txt' file
|
39
115
|
var analyzeBuildTime: Bool? { get }
|
116
|
+
|
117
|
+
/// Have xcpretty use unicode encoding when reporting builds
|
40
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
|
41
121
|
var skipProfileDetection: Bool { get }
|
42
122
|
}
|
43
123
|
|
@@ -86,4 +166,4 @@ extension GymfileProtocol {
|
|
86
166
|
|
87
167
|
// Please don't remove the lines below
|
88
168
|
// They are used to detect outdated files
|
89
|
-
// FastlaneRunnerAPIVersion [0.9.
|
169
|
+
// FastlaneRunnerAPIVersion [0.9.17]
|
@@ -1,32 +1,90 @@
|
|
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)
|
4
10
|
var generateAppleCerts: Bool { get }
|
11
|
+
|
12
|
+
/// Skip syncing provisioning profiles
|
5
13
|
var skipProvisioningProfiles: Bool { get }
|
14
|
+
|
15
|
+
/// The bundle identifier(s) of your app (comma-separated)
|
6
16
|
var appIdentifier: [String] { get }
|
17
|
+
|
18
|
+
/// Your Apple ID Username
|
7
19
|
var username: String { get }
|
20
|
+
|
21
|
+
/// The ID of your Developer Portal team if you're in multiple teams
|
8
22
|
var teamId: String? { get }
|
23
|
+
|
24
|
+
/// The name of your Developer Portal team if you're in multiple teams
|
9
25
|
var teamName: String? { get }
|
26
|
+
|
27
|
+
/// Define where you want to store your certificates
|
10
28
|
var storageMode: String { get }
|
29
|
+
|
30
|
+
/// URL to the git repo containing all the certificates
|
11
31
|
var gitUrl: String { get }
|
32
|
+
|
33
|
+
/// Specific git branch to use
|
12
34
|
var gitBranch: String { get }
|
35
|
+
|
36
|
+
/// git user full name to commit
|
13
37
|
var gitFullName: String? { get }
|
38
|
+
|
39
|
+
/// git user email to commit
|
14
40
|
var gitUserEmail: String? { get }
|
41
|
+
|
42
|
+
/// Make a shallow clone of the repository (truncate the history to 1 revision)
|
15
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
|
16
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
|
17
49
|
var gitBasicAuthorization: String? { get }
|
50
|
+
|
51
|
+
/// Name of the Google Cloud Storage bucket to use
|
18
52
|
var googleCloudBucketName: String? { get }
|
53
|
+
|
54
|
+
/// Path to the gc_keys.json file
|
19
55
|
var googleCloudKeysFile: String? { get }
|
56
|
+
|
57
|
+
/// ID of the Google Cloud project to use for authentication
|
20
58
|
var googleCloudProjectId: String? { get }
|
59
|
+
|
60
|
+
/// Keychain the items should be imported to
|
21
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
|
22
64
|
var keychainPassword: String? { get }
|
65
|
+
|
66
|
+
/// Renew the provisioning profiles every time you run match
|
23
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'
|
24
70
|
var forceForNewDevices: Bool { get }
|
71
|
+
|
72
|
+
/// Disables confirmation prompts during nuke, answering them with yes
|
25
73
|
var skipConfirmation: Bool { get }
|
74
|
+
|
75
|
+
/// Skip generation of a README.md for the created git repository
|
26
76
|
var skipDocs: Bool { get }
|
77
|
+
|
78
|
+
/// Set the provisioning profile's platform to work with (i.e. ios, tvos)
|
27
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")
|
28
82
|
var templateName: String? { get }
|
83
|
+
|
84
|
+
/// Path in which to export certificates, key and profile
|
29
85
|
var outputPath: String? { get }
|
86
|
+
|
87
|
+
/// Print out extra information and all commands
|
30
88
|
var verbose: Bool { get }
|
31
89
|
}
|
32
90
|
|
@@ -64,4 +122,4 @@ extension MatchfileProtocol {
|
|
64
122
|
|
65
123
|
// Please don't remove the lines below
|
66
124
|
// They are used to detect outdated files
|
67
|
-
// FastlaneRunnerAPIVersion [0.9.
|
125
|
+
// FastlaneRunnerAPIVersion [0.9.9]
|
@@ -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 }
|
80
|
+
|
81
|
+
/// Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
|
28
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
|
|
@@ -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]
|