fastlane 2.150.3 → 2.151.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +86 -86
  3. data/deliver/lib/deliver/options.rb +7 -1
  4. data/deliver/lib/deliver/submit_for_review.rb +7 -7
  5. data/deliver/lib/deliver/upload_metadata.rb +2 -2
  6. data/fastlane/lib/fastlane/actions/docs/upload_to_testflight.md +3 -0
  7. data/fastlane/lib/fastlane/actions/notarize.rb +13 -3
  8. data/fastlane/lib/fastlane/actions/pod_push.rb +10 -1
  9. data/fastlane/lib/fastlane/actions/resign.rb +1 -1
  10. data/fastlane/lib/fastlane/actions/setup_ci.rb +5 -0
  11. data/fastlane/lib/fastlane/actions/setup_circle_ci.rb +1 -1
  12. data/fastlane/lib/fastlane/actions/setup_travis.rb +1 -1
  13. data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +10 -2
  14. data/fastlane/lib/fastlane/documentation/docs_generator.rb +1 -1
  15. data/fastlane/lib/fastlane/helper/s3_client_helper.rb +28 -11
  16. data/fastlane/lib/fastlane/server/socket_server.rb +7 -1
  17. data/fastlane/lib/fastlane/swift_fastlane_function.rb +1 -1
  18. data/fastlane/lib/fastlane/version.rb +1 -1
  19. data/fastlane/swift/Actions.swift +1 -1
  20. data/fastlane/swift/ArgumentProcessor.swift +24 -24
  21. data/fastlane/swift/ControlCommand.swift +3 -3
  22. data/fastlane/swift/Deliverfile.swift +4 -8
  23. data/fastlane/swift/DeliverfileProtocol.swift +181 -182
  24. data/fastlane/swift/Fastlane.swift +2813 -2802
  25. data/fastlane/swift/Gymfile.swift +4 -8
  26. data/fastlane/swift/GymfileProtocol.swift +133 -134
  27. data/fastlane/swift/LaneFileProtocol.swift +17 -17
  28. data/fastlane/swift/Matchfile.swift +4 -8
  29. data/fastlane/swift/MatchfileProtocol.swift +115 -112
  30. data/fastlane/swift/Plugins.swift +1 -1
  31. data/fastlane/swift/Precheckfile.swift +4 -8
  32. data/fastlane/swift/PrecheckfileProtocol.swift +22 -23
  33. data/fastlane/swift/RubyCommand.swift +34 -37
  34. data/fastlane/swift/RubyCommandable.swift +3 -1
  35. data/fastlane/swift/Runner.swift +76 -69
  36. data/fastlane/swift/Scanfile.swift +4 -8
  37. data/fastlane/swift/ScanfileProtocol.swift +190 -191
  38. data/fastlane/swift/Screengrabfile.swift +4 -8
  39. data/fastlane/swift/ScreengrabfileProtocol.swift +67 -68
  40. data/fastlane/swift/Snapshotfile.swift +4 -8
  41. data/fastlane/swift/SnapshotfileProtocol.swift +127 -128
  42. data/fastlane/swift/SocketClient.swift +84 -90
  43. data/fastlane/swift/SocketResponse.swift +14 -14
  44. data/fastlane/swift/formatting/Brewfile +1 -0
  45. data/fastlane/swift/formatting/Brewfile.lock.json +39 -0
  46. data/fastlane/swift/formatting/Rakefile +18 -0
  47. data/fastlane/swift/main.swift +5 -6
  48. data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +15 -7
  49. data/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb +1 -1
  50. data/match/lib/assets/READMETemplate.md +5 -2
  51. data/match/lib/match/options.rb +4 -0
  52. data/match/lib/match/runner.rb +1 -0
  53. data/match/lib/match/storage/git_storage.rb +1 -1
  54. data/match/lib/match/storage/s3_storage.rb +25 -7
  55. data/sigh/lib/assets/resign.sh +18 -0
  56. data/spaceship/lib/spaceship/client.rb +1 -2
  57. data/spaceship/lib/spaceship/connect_api/client.rb +0 -1
  58. data/spaceship/lib/spaceship/connect_api/models/app_store_version.rb +1 -1
  59. metadata +31 -38
  60. data/deliver/lib/deliver/.upload_metadata.rb.swp +0 -0
  61. data/spaceship/lib/spaceship/babosa_fix.rb +0 -30
@@ -9,13 +9,9 @@
9
9
  //
10
10
 
11
11
  class Gymfile: GymfileProtocol {
12
- // If you want to enable `gym`, run `fastlane gym 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 `gym`, run `fastlane gym 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,185 +1,184 @@
1
1
  protocol GymfileProtocol: class {
2
+ /// Path to the workspace file
3
+ var workspace: String? { get }
2
4
 
3
- /// Path to the workspace file
4
- var workspace: String? { get }
5
+ /// Path to the project file
6
+ var project: String? { get }
5
7
 
6
- /// Path to the project file
7
- var project: String? { get }
8
+ /// The project's scheme. Make sure it's marked as `Shared`
9
+ var scheme: String? { get }
8
10
 
9
- /// The project's scheme. Make sure it's marked as `Shared`
10
- var scheme: String? { get }
11
+ /// Should the project be cleaned before building it?
12
+ var clean: Bool { get }
11
13
 
12
- /// Should the project be cleaned before building it?
13
- var clean: Bool { get }
14
+ /// The directory in which the ipa file should be stored in
15
+ var outputDirectory: String { get }
14
16
 
15
- /// The directory in which the ipa file should be stored in
16
- var outputDirectory: String { get }
17
+ /// The name of the resulting ipa file
18
+ var outputName: String? { get }
17
19
 
18
- /// The name of the resulting ipa file
19
- var outputName: String? { get }
20
+ /// The configuration to use when building the app. Defaults to 'Release'
21
+ var configuration: String? { get }
20
22
 
21
- /// The configuration to use when building the app. Defaults to 'Release'
22
- var configuration: String? { get }
23
+ /// Hide all information that's not necessary while building
24
+ var silent: Bool { get }
23
25
 
24
- /// Hide all information that's not necessary while building
25
- var silent: Bool { get }
26
+ /// The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'
27
+ var codesigningIdentity: String? { get }
26
28
 
27
- /// The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'
28
- var codesigningIdentity: String? { get }
29
+ /// Should we skip packaging the ipa?
30
+ var skipPackageIpa: Bool { get }
29
31
 
30
- /// Should we skip packaging the ipa?
31
- var skipPackageIpa: Bool { get }
32
+ /// Should we skip packaging the pkg?
33
+ var skipPackagePkg: Bool { get }
32
34
 
33
- /// Should we skip packaging the pkg?
34
- var skipPackagePkg: Bool { get }
35
+ /// Should the ipa file include symbols?
36
+ var includeSymbols: Bool? { get }
35
37
 
36
- /// Should the ipa file include symbols?
37
- var includeSymbols: Bool? { get }
38
+ /// Should the ipa file include bitcode?
39
+ var includeBitcode: Bool? { get }
38
40
 
39
- /// Should the ipa file include bitcode?
40
- var includeBitcode: Bool? { get }
41
+ /// Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id
42
+ var exportMethod: String? { get }
41
43
 
42
- /// Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id
43
- var exportMethod: String? { get }
44
+ /// Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options
45
+ var exportOptions: [String: Any]? { get }
44
46
 
45
- /// Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options
46
- var exportOptions: [String : Any]? { get }
47
+ /// Pass additional arguments to xcodebuild for the package phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
48
+ var exportXcargs: String? { get }
47
49
 
48
- /// Pass additional arguments to xcodebuild for the package phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
49
- var exportXcargs: String? { get }
50
+ /// Export ipa from previously built xcarchive. Uses archive_path as source
51
+ var skipBuildArchive: Bool? { get }
50
52
 
51
- /// Export ipa from previously built xcarchive. Uses archive_path as source
52
- var skipBuildArchive: Bool? { get }
53
+ /// After building, don't archive, effectively not including -archivePath param
54
+ var skipArchive: Bool? { get }
53
55
 
54
- /// After building, don't archive, effectively not including -archivePath param
55
- var skipArchive: Bool? { get }
56
+ /// Build without codesigning
57
+ var skipCodesigning: Bool? { get }
56
58
 
57
- /// Build without codesigning
58
- var skipCodesigning: Bool? { get }
59
+ /// Platform to build when using a Catalyst enabled app. Valid values are: ios, macos
60
+ var catalystPlatform: String? { get }
59
61
 
60
- /// Platform to build when using a Catalyst enabled app. Valid values are: ios, macos
61
- var catalystPlatform: String? { get }
62
+ /// Full name of 3rd Party Mac Developer Installer or Developer ID Installer certificate. Example: `3rd Party Mac Developer Installer: Your Company (ABC1234XWYZ)`
63
+ var installerCertName: String? { get }
62
64
 
63
- /// Full name of 3rd Party Mac Developer Installer or Developer ID Installer certificate. Example: `3rd Party Mac Developer Installer: Your Company (ABC1234XWYZ)`
64
- var installerCertName: String? { get }
65
+ /// The directory in which the archive should be stored in
66
+ var buildPath: String? { get }
65
67
 
66
- /// The directory in which the archive should be stored in
67
- var buildPath: String? { get }
68
+ /// The path to the created archive
69
+ var archivePath: String? { get }
68
70
 
69
- /// The path to the created archive
70
- var archivePath: String? { get }
71
+ /// The directory where built products and other derived data will go
72
+ var derivedDataPath: String? { get }
71
73
 
72
- /// The directory where built products and other derived data will go
73
- var derivedDataPath: String? { get }
74
+ /// Should an Xcode result bundle be generated in the output directory
75
+ var resultBundle: Bool { get }
74
76
 
75
- /// Should an Xcode result bundle be generated in the output directory
76
- var resultBundle: Bool { get }
77
+ /// Path to the result bundle directory to create. Ignored if `result_bundle` if false
78
+ var resultBundlePath: String? { get }
77
79
 
78
- /// Path to the result bundle directory to create. Ignored if `result_bundle` if false
79
- var resultBundlePath: String? { get }
80
+ /// The directory where to store the build log
81
+ var buildlogPath: String { get }
80
82
 
81
- /// The directory where to store the build log
82
- var buildlogPath: String { get }
83
+ /// The SDK that should be used for building the application
84
+ var sdk: String? { get }
83
85
 
84
- /// The SDK that should be used for building the application
85
- var sdk: String? { get }
86
+ /// The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)
87
+ var toolchain: String? { get }
86
88
 
87
- /// The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)
88
- var toolchain: String? { get }
89
+ /// Use a custom destination for building the app
90
+ var destination: String? { get }
89
91
 
90
- /// Use a custom destination for building the app
91
- var destination: String? { get }
92
+ /// Optional: Sometimes you need to specify a team id when exporting the ipa file
93
+ var exportTeamId: String? { get }
92
94
 
93
- /// Optional: Sometimes you need to specify a team id when exporting the ipa file
94
- var exportTeamId: String? { get }
95
+ /// Pass additional arguments to xcodebuild for the build phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
96
+ var xcargs: String? { get }
95
97
 
96
- /// Pass additional arguments to xcodebuild for the build phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
97
- var xcargs: String? { get }
98
+ /// Use an extra XCCONFIG file to build your app
99
+ var xcconfig: String? { get }
98
100
 
99
- /// Use an extra XCCONFIG file to build your app
100
- var xcconfig: String? { get }
101
+ /// Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
102
+ var suppressXcodeOutput: Bool? { get }
101
103
 
102
- /// Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
103
- var suppressXcodeOutput: Bool? { get }
104
+ /// Disable xcpretty formatting of build output
105
+ var disableXcpretty: Bool? { get }
104
106
 
105
- /// Disable xcpretty formatting of build output
106
- var disableXcpretty: Bool? { get }
107
+ /// Use the test (RSpec style) format for build output
108
+ var xcprettyTestFormat: Bool? { get }
107
109
 
108
- /// Use the test (RSpec style) format for build output
109
- var xcprettyTestFormat: Bool? { get }
110
+ /// A custom xcpretty formatter to use
111
+ var xcprettyFormatter: String? { get }
110
112
 
111
- /// A custom xcpretty formatter to use
112
- var xcprettyFormatter: String? { get }
113
+ /// Have xcpretty create a JUnit-style XML report at the provided path
114
+ var xcprettyReportJunit: String? { get }
113
115
 
114
- /// Have xcpretty create a JUnit-style XML report at the provided path
115
- var xcprettyReportJunit: String? { get }
116
+ /// Have xcpretty create a simple HTML report at the provided path
117
+ var xcprettyReportHtml: String? { get }
116
118
 
117
- /// Have xcpretty create a simple HTML report at the provided path
118
- var xcprettyReportHtml: String? { get }
119
+ /// Have xcpretty create a JSON compilation database at the provided path
120
+ var xcprettyReportJson: String? { get }
119
121
 
120
- /// Have xcpretty create a JSON compilation database at the provided path
121
- var xcprettyReportJson: String? { get }
122
+ /// Analyze the project build time and store the output in 'culprits.txt' file
123
+ var analyzeBuildTime: Bool? { get }
122
124
 
123
- /// Analyze the project build time and store the output in 'culprits.txt' file
124
- var analyzeBuildTime: Bool? { get }
125
+ /// Have xcpretty use unicode encoding when reporting builds
126
+ var xcprettyUtf: Bool? { get }
125
127
 
126
- /// Have xcpretty use unicode encoding when reporting builds
127
- var xcprettyUtf: Bool? { get }
128
+ /// Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used
129
+ var skipProfileDetection: Bool { get }
128
130
 
129
- /// Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used
130
- var skipProfileDetection: Bool { get }
131
-
132
- /// Sets a custom path for Swift Package Manager dependencies
133
- var clonedSourcePackagesPath: String? { get }
131
+ /// Sets a custom path for Swift Package Manager dependencies
132
+ var clonedSourcePackagesPath: String? { get }
134
133
  }
135
134
 
136
135
  extension GymfileProtocol {
137
- var workspace: String? { return nil }
138
- var project: String? { return nil }
139
- var scheme: String? { return nil }
140
- var clean: Bool { return false }
141
- var outputDirectory: String { return "." }
142
- var outputName: String? { return nil }
143
- var configuration: String? { return nil }
144
- var silent: Bool { return false }
145
- var codesigningIdentity: String? { return nil }
146
- var skipPackageIpa: Bool { return false }
147
- var skipPackagePkg: Bool { return false }
148
- var includeSymbols: Bool? { return nil }
149
- var includeBitcode: Bool? { return nil }
150
- var exportMethod: String? { return nil }
151
- var exportOptions: [String : Any]? { return nil }
152
- var exportXcargs: String? { return nil }
153
- var skipBuildArchive: Bool? { return nil }
154
- var skipArchive: Bool? { return nil }
155
- var skipCodesigning: Bool? { return nil }
156
- var catalystPlatform: String? { return nil }
157
- var installerCertName: String? { return nil }
158
- var buildPath: String? { return nil }
159
- var archivePath: String? { return nil }
160
- var derivedDataPath: String? { return nil }
161
- var resultBundle: Bool { return false }
162
- var resultBundlePath: String? { return nil }
163
- var buildlogPath: String { return "~/Library/Logs/gym" }
164
- var sdk: String? { return nil }
165
- var toolchain: String? { return nil }
166
- var destination: String? { return nil }
167
- var exportTeamId: String? { return nil }
168
- var xcargs: String? { return nil }
169
- var xcconfig: String? { return nil }
170
- var suppressXcodeOutput: Bool? { return nil }
171
- var disableXcpretty: Bool? { return nil }
172
- var xcprettyTestFormat: Bool? { return nil }
173
- var xcprettyFormatter: String? { return nil }
174
- var xcprettyReportJunit: String? { return nil }
175
- var xcprettyReportHtml: String? { return nil }
176
- var xcprettyReportJson: String? { return nil }
177
- var analyzeBuildTime: Bool? { return nil }
178
- var xcprettyUtf: Bool? { return nil }
179
- var skipProfileDetection: Bool { return false }
180
- var clonedSourcePackagesPath: String? { return nil }
136
+ var workspace: String? { return nil }
137
+ var project: String? { return nil }
138
+ var scheme: String? { return nil }
139
+ var clean: Bool { return false }
140
+ var outputDirectory: String { return "." }
141
+ var outputName: String? { return nil }
142
+ var configuration: String? { return nil }
143
+ var silent: Bool { return false }
144
+ var codesigningIdentity: String? { return nil }
145
+ var skipPackageIpa: Bool { return false }
146
+ var skipPackagePkg: Bool { return false }
147
+ var includeSymbols: Bool? { return nil }
148
+ var includeBitcode: Bool? { return nil }
149
+ var exportMethod: String? { return nil }
150
+ var exportOptions: [String: Any]? { return nil }
151
+ var exportXcargs: String? { return nil }
152
+ var skipBuildArchive: Bool? { return nil }
153
+ var skipArchive: Bool? { return nil }
154
+ var skipCodesigning: Bool? { return nil }
155
+ var catalystPlatform: String? { return nil }
156
+ var installerCertName: String? { return nil }
157
+ var buildPath: String? { return nil }
158
+ var archivePath: String? { return nil }
159
+ var derivedDataPath: String? { return nil }
160
+ var resultBundle: Bool { return false }
161
+ var resultBundlePath: String? { return nil }
162
+ var buildlogPath: String { return "~/Library/Logs/gym" }
163
+ var sdk: String? { return nil }
164
+ var toolchain: String? { return nil }
165
+ var destination: String? { return nil }
166
+ var exportTeamId: String? { return nil }
167
+ var xcargs: String? { return nil }
168
+ var xcconfig: String? { return nil }
169
+ var suppressXcodeOutput: Bool? { return nil }
170
+ var disableXcpretty: Bool? { return nil }
171
+ var xcprettyTestFormat: Bool? { return nil }
172
+ var xcprettyFormatter: String? { return nil }
173
+ var xcprettyReportJunit: String? { return nil }
174
+ var xcprettyReportHtml: String? { return nil }
175
+ var xcprettyReportJson: String? { return nil }
176
+ var analyzeBuildTime: Bool? { return nil }
177
+ var xcprettyUtf: Bool? { return nil }
178
+ var skipProfileDetection: Bool { return false }
179
+ var clonedSourcePackagesPath: String? { return nil }
181
180
  }
182
181
 
183
182
  // Please don't remove the lines below
184
183
  // They are used to detect outdated files
185
- // FastlaneRunnerAPIVersion [0.9.18]
184
+ // FastlaneRunnerAPIVersion [0.9.25]
@@ -16,7 +16,7 @@ import Foundation
16
16
 
17
17
  public protocol LaneFileProtocol: class {
18
18
  var fastlaneVersion: String { get }
19
- static func runLane(named: String, parameters: [String : String]) -> Bool
19
+ static func runLane(named: String, parameters: [String: String]) -> Bool
20
20
 
21
21
  func recordLaneDescriptions()
22
22
  func beforeAll()
@@ -26,10 +26,10 @@ public protocol LaneFileProtocol: class {
26
26
 
27
27
  public extension LaneFileProtocol {
28
28
  var fastlaneVersion: String { return "" } // default "" because that means any is fine
29
- func beforeAll() { } // no op by default
30
- func afterAll(currentLane: String) { } // no op by default
31
- func onError(currentLane: String, errorInfo: String) {} // no op by default
32
- func recordLaneDescriptions() { } // no op by default
29
+ func beforeAll() {} // no op by default
30
+ func afterAll(currentLane _: String) {} // no op by default
31
+ func onError(currentLane _: String, errorInfo _: String) {} // no op by default
32
+ func recordLaneDescriptions() {} // no op by default
33
33
  }
34
34
 
35
35
  @objcMembers
@@ -53,7 +53,7 @@ public class LaneFile: NSObject, LaneFileProtocol {
53
53
  var lanes: [String] = []
54
54
  var methodCount: UInt32 = 0
55
55
  let methodList = class_copyMethodList(self, &methodCount)
56
- for i in 0..<Int(methodCount) {
56
+ for i in 0 ..< Int(methodCount) {
57
57
  let selName = sel_getName(method_getName(methodList![i]))
58
58
  let name = String(cString: selName)
59
59
  let lowercasedName = name.lowercased()
@@ -64,9 +64,9 @@ public class LaneFile: NSObject, LaneFileProtocol {
64
64
  return lanes
65
65
  }
66
66
 
67
- public static var lanes: [String : String] {
68
- var laneToMethodName: [String : String] = [:]
69
- self.laneFunctionNames.forEach { name in
67
+ public static var lanes: [String: String] {
68
+ var laneToMethodName: [String: String] = [:]
69
+ laneFunctionNames.forEach { name in
70
70
  let lowercasedName = name.lowercased()
71
71
  if lowercasedName.hasSuffix("lane") {
72
72
  laneToMethodName[lowercasedName] = name
@@ -84,29 +84,29 @@ public class LaneFile: NSObject, LaneFileProtocol {
84
84
  }
85
85
 
86
86
  public static func loadFastfile() {
87
- if self.fastfileInstance == nil {
88
- let fastfileType: AnyObject.Type = NSClassFromString(self.className())!
87
+ if fastfileInstance == nil {
88
+ let fastfileType: AnyObject.Type = NSClassFromString(className())!
89
89
  let fastfileAsNSObjectType: NSObject.Type = fastfileType as! NSObject.Type
90
90
  let currentFastfileInstance: Fastfile? = fastfileAsNSObjectType.init() as? Fastfile
91
- self.fastfileInstance = currentFastfileInstance
91
+ fastfileInstance = currentFastfileInstance
92
92
  }
93
93
  }
94
94
 
95
- public static func runLane(named: String, parameters: [String : String]) -> Bool {
95
+ public static func runLane(named: String, parameters: [String: String]) -> Bool {
96
96
  log(message: "Running lane: \(named)")
97
- self.loadFastfile()
97
+ loadFastfile()
98
98
 
99
99
  guard let fastfileInstance: Fastfile = self.fastfileInstance else {
100
- let message = "Unable to instantiate class named: \(self.className())"
100
+ let message = "Unable to instantiate class named: \(className())"
101
101
  log(message: message)
102
102
  fatalError(message)
103
103
  }
104
104
 
105
- let currentLanes = self.lanes
105
+ let currentLanes = lanes
106
106
  let lowerCasedLaneRequested = named.lowercased()
107
107
 
108
108
  guard let laneMethod = currentLanes[lowerCasedLaneRequested] else {
109
- let laneNames = self.laneFunctionNames.map { laneFuctionName in
109
+ let laneNames = laneFunctionNames.map { laneFuctionName in
110
110
  if laneFuctionName.hasSuffix("lanewithoptions:") {
111
111
  return trimLaneWithOptionsFromName(laneName: laneFuctionName)
112
112
  } else {
@@ -9,13 +9,9 @@
9
9
  //
10
10
 
11
11
  class Matchfile: MatchfileProtocol {
12
- // If you want to enable `match`, run `fastlane match 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 `match`, run `fastlane match 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,157 +1,160 @@
1
1
  protocol MatchfileProtocol: class {
2
+ /// Define the profile type, can be appstore, adhoc, development, enterprise, developer_id
3
+ var type: String { get }
2
4
 
3
- /// Define the profile type, can be appstore, adhoc, development, enterprise, developer_id
4
- var type: String { get }
5
+ /// Create additional cert types needed for macOS installers (valid values: mac_installer_distribution, developer_id_installer)
6
+ var additionalCertTypes: [String]? { get }
5
7
 
6
- /// Create additional cert types needed for macOS installers (valid values: mac_installer_distribution, developer_id_installer)
7
- var additionalCertTypes: [String]? { get }
8
+ /// Only fetch existing certificates and profiles, don't generate new ones
9
+ var readonly: Bool { get }
8
10
 
9
- /// Only fetch existing certificates and profiles, don't generate new ones
10
- var readonly: Bool { get }
11
+ /// Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)
12
+ var generateAppleCerts: Bool { get }
11
13
 
12
- /// Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)
13
- var generateAppleCerts: Bool { get }
14
+ /// Skip syncing provisioning profiles
15
+ var skipProvisioningProfiles: Bool { get }
14
16
 
15
- /// Skip syncing provisioning profiles
16
- var skipProvisioningProfiles: Bool { get }
17
+ /// The bundle identifier(s) of your app (comma-separated)
18
+ var appIdentifier: [String] { get }
17
19
 
18
- /// The bundle identifier(s) of your app (comma-separated)
19
- var appIdentifier: [String] { get }
20
+ /// Your Apple ID Username
21
+ var username: String { get }
20
22
 
21
- /// Your Apple ID Username
22
- var username: String { get }
23
+ /// The ID of your Developer Portal team if you're in multiple teams
24
+ var teamId: String? { get }
23
25
 
24
- /// The ID of your Developer Portal team if you're in multiple teams
25
- var teamId: String? { get }
26
+ /// The name of your Developer Portal team if you're in multiple teams
27
+ var teamName: String? { get }
26
28
 
27
- /// The name of your Developer Portal team if you're in multiple teams
28
- var teamName: String? { get }
29
+ /// Define where you want to store your certificates
30
+ var storageMode: String { get }
29
31
 
30
- /// Define where you want to store your certificates
31
- var storageMode: String { get }
32
+ /// URL to the git repo containing all the certificates
33
+ var gitUrl: String { get }
32
34
 
33
- /// URL to the git repo containing all the certificates
34
- var gitUrl: String { get }
35
+ /// Specific git branch to use
36
+ var gitBranch: String { get }
35
37
 
36
- /// Specific git branch to use
37
- var gitBranch: String { get }
38
+ /// git user full name to commit
39
+ var gitFullName: String? { get }
38
40
 
39
- /// git user full name to commit
40
- var gitFullName: String? { get }
41
+ /// git user email to commit
42
+ var gitUserEmail: String? { get }
41
43
 
42
- /// git user email to commit
43
- var gitUserEmail: String? { get }
44
+ /// Make a shallow clone of the repository (truncate the history to 1 revision)
45
+ var shallowClone: Bool { get }
44
46
 
45
- /// Make a shallow clone of the repository (truncate the history to 1 revision)
46
- var shallowClone: Bool { get }
47
+ /// Clone just the branch specified, instead of the whole repo. This requires that the branch already exists. Otherwise the command will fail
48
+ var cloneBranchDirectly: Bool { get }
47
49
 
48
- /// Clone just the branch specified, instead of the whole repo. This requires that the branch already exists. Otherwise the command will fail
49
- var cloneBranchDirectly: Bool { get }
50
+ /// Use a basic authorization header to access the git repo (e.g.: access via HTTPS, GitHub Actions, etc), usually a string in Base64
51
+ var gitBasicAuthorization: String? { get }
50
52
 
51
- /// Use a basic authorization header to access the git repo (e.g.: access via HTTPS, GitHub Actions, etc), usually a string in Base64
52
- var gitBasicAuthorization: String? { get }
53
+ /// Use a bearer authorization header to access the git repo (e.g.: access to an Azure Devops repository), usually a string in Base64
54
+ var gitBearerAuthorization: String? { get }
53
55
 
54
- /// Use a bearer authorization header to access the git repo (e.g.: access to an Azure Devops repository), usually a string in Base64
55
- var gitBearerAuthorization: String? { get }
56
+ /// Name of the Google Cloud Storage bucket to use
57
+ var googleCloudBucketName: String? { get }
56
58
 
57
- /// Name of the Google Cloud Storage bucket to use
58
- var googleCloudBucketName: String? { get }
59
+ /// Path to the gc_keys.json file
60
+ var googleCloudKeysFile: String? { get }
59
61
 
60
- /// Path to the gc_keys.json file
61
- var googleCloudKeysFile: String? { get }
62
+ /// ID of the Google Cloud project to use for authentication
63
+ var googleCloudProjectId: String? { get }
62
64
 
63
- /// ID of the Google Cloud project to use for authentication
64
- var googleCloudProjectId: String? { get }
65
+ /// Name of the S3 region
66
+ var s3Region: String? { get }
65
67
 
66
- /// Name of the S3 region
67
- var s3Region: String? { get }
68
+ /// S3 access key
69
+ var s3AccessKey: String? { get }
68
70
 
69
- /// S3 access key
70
- var s3AccessKey: String? { get }
71
+ /// S3 secret access key
72
+ var s3SecretAccessKey: String? { get }
71
73
 
72
- /// S3 secret access key
73
- var s3SecretAccessKey: String? { get }
74
+ /// Name of the S3 bucket
75
+ var s3Bucket: String? { get }
74
76
 
75
- /// Name of the S3 bucket
76
- var s3Bucket: String? { get }
77
+ /// Prefix to be used on all objects uploaded to S3
78
+ var s3ObjectPrefix: String? { get }
77
79
 
78
- /// Keychain the items should be imported to
79
- var keychainName: String { get }
80
+ /// Keychain the items should be imported to
81
+ var keychainName: String { get }
80
82
 
81
- /// This might be required the first time you access certificates on a new mac. For the login/default keychain this is your account password
82
- var keychainPassword: String? { get }
83
+ /// This might be required the first time you access certificates on a new mac. For the login/default keychain this is your account password
84
+ var keychainPassword: String? { get }
83
85
 
84
- /// Renew the provisioning profiles every time you run match
85
- var force: Bool { get }
86
+ /// Renew the provisioning profiles every time you run match
87
+ var force: Bool { get }
86
88
 
87
- /// Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile type 'appstore'
88
- var forceForNewDevices: Bool { get }
89
+ /// Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile type 'appstore'
90
+ var forceForNewDevices: Bool { get }
89
91
 
90
- /// Disables confirmation prompts during nuke, answering them with yes
91
- var skipConfirmation: Bool { get }
92
+ /// Disables confirmation prompts during nuke, answering them with yes
93
+ var skipConfirmation: Bool { get }
92
94
 
93
- /// Skip generation of a README.md for the created git repository
94
- var skipDocs: Bool { get }
95
+ /// Skip generation of a README.md for the created git repository
96
+ var skipDocs: Bool { get }
95
97
 
96
- /// Set the provisioning profile's platform to work with (i.e. ios, tvos, macos)
97
- var platform: String { get }
98
+ /// Set the provisioning profile's platform to work with (i.e. ios, tvos, macos)
99
+ var platform: String { get }
98
100
 
99
- /// 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")
100
- var templateName: String? { get }
101
+ /// 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")
102
+ var templateName: String? { get }
101
103
 
102
- /// A custom name for the provisioning profile. This will replace the default provisioning profile name if specified
103
- var profileName: String? { get }
104
+ /// A custom name for the provisioning profile. This will replace the default provisioning profile name if specified
105
+ var profileName: String? { get }
104
106
 
105
- /// Should the command fail if it was about to create a duplicate of an existing provisioning profile. It can happen due to issues on Apple Developer Portal, when profile to be recreated was not properly deleted first
106
- var failOnNameTaken: Bool { get }
107
+ /// Should the command fail if it was about to create a duplicate of an existing provisioning profile. It can happen due to issues on Apple Developer Portal, when profile to be recreated was not properly deleted first
108
+ var failOnNameTaken: Bool { get }
107
109
 
108
- /// Path in which to export certificates, key and profile
109
- var outputPath: String? { get }
110
+ /// Path in which to export certificates, key and profile
111
+ var outputPath: String? { get }
110
112
 
111
- /// Print out extra information and all commands
112
- var verbose: Bool { get }
113
+ /// Print out extra information and all commands
114
+ var verbose: Bool { get }
113
115
  }
114
116
 
115
117
  extension MatchfileProtocol {
116
- var type: String { return "development" }
117
- var additionalCertTypes: [String]? { return nil }
118
- var readonly: Bool { return false }
119
- var generateAppleCerts: Bool { return true }
120
- var skipProvisioningProfiles: Bool { return false }
121
- var appIdentifier: [String] { return [] }
122
- var username: String { return "" }
123
- var teamId: String? { return nil }
124
- var teamName: String? { return nil }
125
- var storageMode: String { return "git" }
126
- var gitUrl: String { return "" }
127
- var gitBranch: String { return "master" }
128
- var gitFullName: String? { return nil }
129
- var gitUserEmail: String? { return nil }
130
- var shallowClone: Bool { return false }
131
- var cloneBranchDirectly: Bool { return false }
132
- var gitBasicAuthorization: String? { return nil }
133
- var gitBearerAuthorization: String? { return nil }
134
- var googleCloudBucketName: String? { return nil }
135
- var googleCloudKeysFile: String? { return nil }
136
- var googleCloudProjectId: String? { return nil }
137
- var s3Region: String? { return nil }
138
- var s3AccessKey: String? { return nil }
139
- var s3SecretAccessKey: String? { return nil }
140
- var s3Bucket: String? { return nil }
141
- var keychainName: String { return "login.keychain" }
142
- var keychainPassword: String? { return nil }
143
- var force: Bool { return false }
144
- var forceForNewDevices: Bool { return false }
145
- var skipConfirmation: Bool { return false }
146
- var skipDocs: Bool { return false }
147
- var platform: String { return "ios" }
148
- var templateName: String? { return nil }
149
- var profileName: String? { return nil }
150
- var failOnNameTaken: Bool { return false }
151
- var outputPath: String? { return nil }
152
- var verbose: Bool { return false }
118
+ var type: String { return "development" }
119
+ var additionalCertTypes: [String]? { return nil }
120
+ var readonly: Bool { return false }
121
+ var generateAppleCerts: Bool { return true }
122
+ var skipProvisioningProfiles: Bool { return false }
123
+ var appIdentifier: [String] { return [] }
124
+ var username: String { return "" }
125
+ var teamId: String? { return nil }
126
+ var teamName: String? { return nil }
127
+ var storageMode: String { return "git" }
128
+ var gitUrl: String { return "" }
129
+ var gitBranch: String { return "master" }
130
+ var gitFullName: String? { return nil }
131
+ var gitUserEmail: String? { return nil }
132
+ var shallowClone: Bool { return false }
133
+ var cloneBranchDirectly: Bool { return false }
134
+ var gitBasicAuthorization: String? { return nil }
135
+ var gitBearerAuthorization: String? { return nil }
136
+ var googleCloudBucketName: String? { return nil }
137
+ var googleCloudKeysFile: String? { return nil }
138
+ var googleCloudProjectId: String? { return nil }
139
+ var s3Region: String? { return nil }
140
+ var s3AccessKey: String? { return nil }
141
+ var s3SecretAccessKey: String? { return nil }
142
+ var s3Bucket: String? { return nil }
143
+ var s3ObjectPrefix: String? { return nil }
144
+ var keychainName: String { return "login.keychain" }
145
+ var keychainPassword: String? { return nil }
146
+ var force: Bool { return false }
147
+ var forceForNewDevices: Bool { return false }
148
+ var skipConfirmation: Bool { return false }
149
+ var skipDocs: Bool { return false }
150
+ var platform: String { return "ios" }
151
+ var templateName: String? { return nil }
152
+ var profileName: String? { return nil }
153
+ var failOnNameTaken: Bool { return false }
154
+ var outputPath: String? { return nil }
155
+ var verbose: Bool { return false }
153
156
  }
154
157
 
155
158
  // Please don't remove the lines below
156
159
  // They are used to detect outdated files
157
- // FastlaneRunnerAPIVersion [0.9.12]
160
+ // FastlaneRunnerAPIVersion [0.9.19]