fastlane 2.128.0 → 2.132.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 +64 -64
- 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/.slack.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/.update_project_provisioning.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 +116 -32
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +11 -7
- 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/Fastlane.swift +341 -294
- 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 +13 -11
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +7 -1
- data/fastlane/swift/Plugins.swift +15 -0
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +3 -3
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +3 -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 +13 -9
- data/match/lib/match/storage/git_storage.rb +8 -2
- data/match/lib/match/storage/google_cloud_storage.rb +82 -33
- data/match/lib/match/storage/interface.rb +1 -1
- data/pilot/lib/pilot/.manager.rb.swp +0 -0
- 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/.DS_Store +0 -0
- 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 +59 -45
@@ -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
|
@@ -16,6 +16,7 @@ protocol GymfileProtocol: class {
|
|
16
16
|
var exportXcargs: String? { get }
|
17
17
|
var skipBuildArchive: Bool? { get }
|
18
18
|
var skipArchive: Bool? { get }
|
19
|
+
var skipCodesigning: Bool? { get }
|
19
20
|
var buildPath: String? { get }
|
20
21
|
var archivePath: String? { get }
|
21
22
|
var derivedDataPath: String? { get }
|
@@ -28,15 +29,15 @@ protocol GymfileProtocol: class {
|
|
28
29
|
var exportTeamId: String? { get }
|
29
30
|
var xcargs: String? { get }
|
30
31
|
var xcconfig: String? { get }
|
31
|
-
var suppressXcodeOutput:
|
32
|
-
var disableXcpretty:
|
33
|
-
var xcprettyTestFormat:
|
32
|
+
var suppressXcodeOutput: Bool? { get }
|
33
|
+
var disableXcpretty: Bool? { get }
|
34
|
+
var xcprettyTestFormat: Bool? { get }
|
34
35
|
var xcprettyFormatter: String? { get }
|
35
36
|
var xcprettyReportJunit: String? { get }
|
36
37
|
var xcprettyReportHtml: String? { get }
|
37
38
|
var xcprettyReportJson: String? { get }
|
38
|
-
var analyzeBuildTime:
|
39
|
-
var xcprettyUtf:
|
39
|
+
var analyzeBuildTime: Bool? { get }
|
40
|
+
var xcprettyUtf: Bool? { get }
|
40
41
|
var skipProfileDetection: Bool { get }
|
41
42
|
}
|
42
43
|
|
@@ -58,6 +59,7 @@ extension GymfileProtocol {
|
|
58
59
|
var exportXcargs: String? { return nil }
|
59
60
|
var skipBuildArchive: Bool? { return nil }
|
60
61
|
var skipArchive: Bool? { return nil }
|
62
|
+
var skipCodesigning: Bool? { return nil }
|
61
63
|
var buildPath: String? { return nil }
|
62
64
|
var archivePath: String? { return nil }
|
63
65
|
var derivedDataPath: String? { return nil }
|
@@ -70,18 +72,18 @@ extension GymfileProtocol {
|
|
70
72
|
var exportTeamId: String? { return nil }
|
71
73
|
var xcargs: String? { return nil }
|
72
74
|
var xcconfig: String? { return nil }
|
73
|
-
var suppressXcodeOutput:
|
74
|
-
var disableXcpretty:
|
75
|
-
var xcprettyTestFormat:
|
75
|
+
var suppressXcodeOutput: Bool? { return nil }
|
76
|
+
var disableXcpretty: Bool? { return nil }
|
77
|
+
var xcprettyTestFormat: Bool? { return nil }
|
76
78
|
var xcprettyFormatter: String? { return nil }
|
77
79
|
var xcprettyReportJunit: String? { return nil }
|
78
80
|
var xcprettyReportHtml: String? { return nil }
|
79
81
|
var xcprettyReportJson: String? { return nil }
|
80
|
-
var analyzeBuildTime:
|
81
|
-
var xcprettyUtf:
|
82
|
+
var analyzeBuildTime: Bool? { return nil }
|
83
|
+
var xcprettyUtf: Bool? { return nil }
|
82
84
|
var skipProfileDetection: Bool { return false }
|
83
85
|
}
|
84
86
|
|
85
87
|
// Please don't remove the lines below
|
86
88
|
// They are used to detect outdated files
|
87
|
-
// FastlaneRunnerAPIVersion [0.9.
|
89
|
+
// FastlaneRunnerAPIVersion [0.9.5]
|
@@ -1,6 +1,8 @@
|
|
1
1
|
protocol MatchfileProtocol: class {
|
2
2
|
var type: String { get }
|
3
3
|
var readonly: Bool { get }
|
4
|
+
var generateAppleCerts: Bool { get }
|
5
|
+
var skipProvisioningProfiles: Bool { get }
|
4
6
|
var appIdentifier: [String] { get }
|
5
7
|
var username: String { get }
|
6
8
|
var teamId: String? { get }
|
@@ -12,6 +14,7 @@ protocol MatchfileProtocol: class {
|
|
12
14
|
var gitUserEmail: String? { get }
|
13
15
|
var shallowClone: Bool { get }
|
14
16
|
var cloneBranchDirectly: Bool { get }
|
17
|
+
var gitBasicAuthorization: String? { get }
|
15
18
|
var googleCloudBucketName: String? { get }
|
16
19
|
var googleCloudKeysFile: String? { get }
|
17
20
|
var googleCloudProjectId: String? { get }
|
@@ -30,6 +33,8 @@ protocol MatchfileProtocol: class {
|
|
30
33
|
extension MatchfileProtocol {
|
31
34
|
var type: String { return "development" }
|
32
35
|
var readonly: Bool { return false }
|
36
|
+
var generateAppleCerts: Bool { return true }
|
37
|
+
var skipProvisioningProfiles: Bool { return false }
|
33
38
|
var appIdentifier: [String] { return [] }
|
34
39
|
var username: String { return "" }
|
35
40
|
var teamId: String? { return nil }
|
@@ -41,6 +46,7 @@ extension MatchfileProtocol {
|
|
41
46
|
var gitUserEmail: String? { return nil }
|
42
47
|
var shallowClone: Bool { return false }
|
43
48
|
var cloneBranchDirectly: Bool { return false }
|
49
|
+
var gitBasicAuthorization: String? { return nil }
|
44
50
|
var googleCloudBucketName: String? { return nil }
|
45
51
|
var googleCloudKeysFile: String? { return nil }
|
46
52
|
var googleCloudProjectId: String? { return nil }
|
@@ -58,4 +64,4 @@ extension MatchfileProtocol {
|
|
58
64
|
|
59
65
|
// Please don't remove the lines below
|
60
66
|
// They are used to detect outdated files
|
61
|
-
// FastlaneRunnerAPIVersion [0.9.
|
67
|
+
// FastlaneRunnerAPIVersion [0.9.7]
|
@@ -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]
|
@@ -25,7 +25,7 @@ protocol ScanfileProtocol: class {
|
|
25
25
|
var outputFiles: String? { get }
|
26
26
|
var buildlogPath: String { get }
|
27
27
|
var includeSimulatorLogs: Bool { get }
|
28
|
-
var suppressXcodeOutput:
|
28
|
+
var suppressXcodeOutput: Bool? { get }
|
29
29
|
var formatter: String? { get }
|
30
30
|
var xcprettyArgs: String? { get }
|
31
31
|
var derivedDataPath: String? { get }
|
@@ -82,7 +82,7 @@ extension ScanfileProtocol {
|
|
82
82
|
var outputFiles: String? { return nil }
|
83
83
|
var buildlogPath: String { return "~/Library/Logs/scan" }
|
84
84
|
var includeSimulatorLogs: Bool { return false }
|
85
|
-
var suppressXcodeOutput:
|
85
|
+
var suppressXcodeOutput: Bool? { return nil }
|
86
86
|
var formatter: String? { return nil }
|
87
87
|
var xcprettyArgs: String? { return nil }
|
88
88
|
var derivedDataPath: String? { return nil }
|
@@ -114,4 +114,4 @@ extension ScanfileProtocol {
|
|
114
114
|
|
115
115
|
// Please don't remove the lines below
|
116
116
|
// They are used to detect outdated files
|
117
|
-
// FastlaneRunnerAPIVersion [0.9.
|
117
|
+
// FastlaneRunnerAPIVersion [0.9.12]
|
@@ -15,6 +15,7 @@ protocol SnapshotfileProtocol: class {
|
|
15
15
|
var reinstallApp: Bool { get }
|
16
16
|
var eraseSimulator: Bool { get }
|
17
17
|
var localizeSimulator: Bool { get }
|
18
|
+
var darkMode: Bool? { get }
|
18
19
|
var appIdentifier: String? { get }
|
19
20
|
var addPhotos: [String]? { get }
|
20
21
|
var addVideos: [String]? { get }
|
@@ -51,6 +52,7 @@ extension SnapshotfileProtocol {
|
|
51
52
|
var reinstallApp: Bool { return false }
|
52
53
|
var eraseSimulator: Bool { return false }
|
53
54
|
var localizeSimulator: Bool { return false }
|
55
|
+
var darkMode: Bool? { return nil }
|
54
56
|
var appIdentifier: String? { return nil }
|
55
57
|
var addPhotos: [String]? { return nil }
|
56
58
|
var addVideos: [String]? { return nil }
|
@@ -72,4 +74,4 @@ extension SnapshotfileProtocol {
|
|
72
74
|
|
73
75
|
// Please don't remove the lines below
|
74
76
|
// They are used to detect outdated files
|
75
|
-
// FastlaneRunnerAPIVersion [0.9.
|
77
|
+
// FastlaneRunnerAPIVersion [0.9.5]
|
@@ -1 +1 @@
|
|
1
|
-
{"Fastlane.swift":"Autogenerated API","DeliverfileProtocol.swift":"Autogenerated API","GymfileProtocol.swift":"Autogenerated API","MatchfileProtocol.swift":"Autogenerated API","PrecheckfileProtocol.swift":"Autogenerated API","ScanfileProtocol.swift":"Autogenerated API","ScreengrabfileProtocol.swift":"Autogenerated API","SnapshotfileProtocol.swift":"Autogenerated API","LaneFileProtocol.swift":"Fastfile Components","ControlCommand.swift":"Networking","RubyCommand.swift":"Networking","RubyCommandable.swift":"Networking","Runner.swift":"Networking","SocketClient.swift":"Networking","SocketClientDelegateProtocol.swift":"Networking","SocketResponse.swift":"Networking","ArgumentProcessor.swift":"Runner Code","main.swift":"Runner Code","RunnerArgument.swift":"Runner Code"}
|
1
|
+
{"Actions.swift":"Autogenerated API","Fastlane.swift":"Autogenerated API","DeliverfileProtocol.swift":"Autogenerated API","GymfileProtocol.swift":"Autogenerated API","MatchfileProtocol.swift":"Autogenerated API","Plugins.swift":"Autogenerated API","PrecheckfileProtocol.swift":"Autogenerated API","ScanfileProtocol.swift":"Autogenerated API","ScreengrabfileProtocol.swift":"Autogenerated API","SnapshotfileProtocol.swift":"Autogenerated API","LaneFileProtocol.swift":"Fastfile Components","ControlCommand.swift":"Networking","RubyCommand.swift":"Networking","RubyCommandable.swift":"Networking","Runner.swift":"Networking","SocketClient.swift":"Networking","SocketClientDelegateProtocol.swift":"Networking","SocketResponse.swift":"Networking","ArgumentProcessor.swift":"Runner Code","main.swift":"Runner Code","RunnerArgument.swift":"Runner Code"}
|
@@ -13,7 +13,7 @@ module FastlaneCore
|
|
13
13
|
def new_event(action_stage)
|
14
14
|
{
|
15
15
|
client_id: @p_hash,
|
16
|
-
category: "fastlane Client
|
16
|
+
category: "fastlane Client Language - #{@fastlane_client_language}",
|
17
17
|
action: action_stage,
|
18
18
|
label: action_name,
|
19
19
|
value: nil
|
@@ -51,7 +51,7 @@ module FastlaneCore
|
|
51
51
|
begin
|
52
52
|
status = FastlaneCore::FastlanePty.spawn(command) do |command_stdout, command_stdin, pid|
|
53
53
|
command_stdout.each do |l|
|
54
|
-
line = l.
|
54
|
+
line = l.chomp
|
55
55
|
output << line
|
56
56
|
|
57
57
|
next unless print_all
|
@@ -196,7 +196,7 @@ module FastlaneCore
|
|
196
196
|
return
|
197
197
|
end
|
198
198
|
|
199
|
-
# We need to
|
199
|
+
# We need to explicitly test against Fastlane::Boolean, TrueClass/FalseClass
|
200
200
|
if value.class != FalseClass && value.class != TrueClass
|
201
201
|
UI.user_error!("'#{self.key}' value must be either `true` or `false`! Found #{value.class} instead.")
|
202
202
|
end
|
@@ -72,7 +72,7 @@ module FastlaneCore
|
|
72
72
|
# @return [boolean] true if building in a known CI environment
|
73
73
|
def self.ci?
|
74
74
|
# Check for Jenkins, Travis CI, ... environment variables
|
75
|
-
['JENKINS_HOME', 'JENKINS_URL', 'TRAVIS', 'CIRCLECI', 'CI', 'APPCENTER_BUILD_ID', 'TEAMCITY_VERSION', 'GO_PIPELINE_NAME', 'bamboo_buildKey', 'GITLAB_CI', 'XCS', 'TF_BUILD'].each do |current|
|
75
|
+
['JENKINS_HOME', 'JENKINS_URL', 'TRAVIS', 'CIRCLECI', 'CI', 'APPCENTER_BUILD_ID', 'TEAMCITY_VERSION', 'GO_PIPELINE_NAME', 'bamboo_buildKey', 'GITLAB_CI', 'XCS', 'TF_BUILD', 'GITHUB_ACTION', 'GITHUB_ACTIONS'].each do |current|
|
76
76
|
return true if ENV.key?(current)
|
77
77
|
end
|
78
78
|
return false
|
@@ -154,7 +154,7 @@ module FastlaneCore
|
|
154
154
|
# As there was no communication from Apple, we don't know if this is a temporary
|
155
155
|
# server outage, or something they changed without giving a heads-up
|
156
156
|
if ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"].to_s.length == 0
|
157
|
-
ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"] = "-t DAV"
|
157
|
+
ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"] = "-t DAV,Signiant"
|
158
158
|
end
|
159
159
|
return ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"]
|
160
160
|
end
|
@@ -170,7 +170,6 @@ module FastlaneCore
|
|
170
170
|
"-p #{shell_escaped_password(password)}",
|
171
171
|
"-f \"#{source}\"",
|
172
172
|
additional_upload_parameters, # that's here, because the user might overwrite the -t option
|
173
|
-
"-t Signiant",
|
174
173
|
"-k 100000",
|
175
174
|
("-WONoPause true" if Helper.windows?), # Windows only: process instantly returns instead of waiting for key press
|
176
175
|
("-itc_provider #{provider_short_name}" unless provider_short_name.to_s.empty?)
|
@@ -255,7 +254,6 @@ module FastlaneCore
|
|
255
254
|
"-p #{password.shellescape}",
|
256
255
|
"-f #{source.shellescape}",
|
257
256
|
additional_upload_parameters, # that's here, because the user might overwrite the -t option
|
258
|
-
'-t Signiant',
|
259
257
|
'-k 100000',
|
260
258
|
("-itc_provider #{provider_short_name}" unless provider_short_name.to_s.empty?),
|
261
259
|
'2>&1' # cause stderr to be written to stdout
|
@@ -30,12 +30,13 @@ module FastlaneCore
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def format_string(datetime = Time.now, severity = "")
|
33
|
+
timezone_string = !FastlaneCore::Env.truthy?('FASTLANE_SHOW_TIMEZONE') ? '' : ' %z'
|
33
34
|
if FastlaneCore::Globals.verbose?
|
34
|
-
return "#{severity} [#{datetime.strftime('%Y-%m-%d %H:%M:%S.%2N')}]: "
|
35
|
+
return "#{severity} [#{datetime.strftime('%Y-%m-%d %H:%M:%S.%2N' + timezone_string)}]: "
|
35
36
|
elsif FastlaneCore::Env.truthy?("FASTLANE_HIDE_TIMESTAMP")
|
36
37
|
return ""
|
37
38
|
else
|
38
|
-
return "[#{datetime.strftime('%H:%M:%S')}]: "
|
39
|
+
return "[#{datetime.strftime('%H:%M:%S' + timezone_string)}]: "
|
39
40
|
end
|
40
41
|
end
|
41
42
|
|
@@ -330,7 +330,7 @@ module Frameit
|
|
330
330
|
background = put_title_into_background_stacked(background, title, keyword)
|
331
331
|
return background
|
332
332
|
end
|
333
|
-
# sum_width: the width of both labels together including the space
|
333
|
+
# sum_width: the width of both labels together including the space in-between
|
334
334
|
# is used to calculate the ratio
|
335
335
|
sum_width = title.width
|
336
336
|
sum_width += keyword.width + keyword_padding if keyword
|
@@ -45,6 +45,10 @@ module Frameit
|
|
45
45
|
return 'iPhone 4'
|
46
46
|
when sizes::IOS_IPAD
|
47
47
|
return 'iPad Air 2'
|
48
|
+
when sizes::IOS_IPAD_10_5
|
49
|
+
return 'iPad Pro (10.5-inch)'
|
50
|
+
when sizes::IOS_IPAD_11
|
51
|
+
return 'iPad Pro (11-inch)'
|
48
52
|
when sizes::IOS_IPAD_PRO
|
49
53
|
return 'iPad Pro'
|
50
54
|
when sizes::IOS_IPAD_PRO_12_9
|
Binary file
|
@@ -58,7 +58,11 @@ module Gym
|
|
58
58
|
|
59
59
|
def setting
|
60
60
|
setting = []
|
61
|
-
|
61
|
+
if Gym.config[:skip_codesigning]
|
62
|
+
setting << "CODE_SIGN_IDENTITY='' CODE_SIGNING_REQUIRED=NO CODE_SIGN_ENTITLEMENTS='' CODE_SIGNING_ALLOWED=NO"
|
63
|
+
elsif Gym.config[:codesigning_identity]
|
64
|
+
setting << "CODE_SIGN_IDENTITY=#{Gym.config[:codesigning_identity].shellescape}"
|
65
|
+
end
|
62
66
|
setting
|
63
67
|
end
|
64
68
|
|
data/gym/lib/gym/options.rb
CHANGED
@@ -51,7 +51,7 @@ module Gym
|
|
51
51
|
short_option: "-c",
|
52
52
|
env_name: "GYM_CLEAN",
|
53
53
|
description: "Should the project be cleaned before building it?",
|
54
|
-
|
54
|
+
type: Boolean,
|
55
55
|
default_value: false),
|
56
56
|
FastlaneCore::ConfigItem.new(key: :output_directory,
|
57
57
|
short_option: "-o",
|
@@ -74,7 +74,7 @@ module Gym
|
|
74
74
|
env_name: "GYM_SILENT",
|
75
75
|
description: "Hide all information that's not necessary while building",
|
76
76
|
default_value: false,
|
77
|
-
|
77
|
+
type: Boolean),
|
78
78
|
FastlaneCore::ConfigItem.new(key: :codesigning_identity,
|
79
79
|
short_option: "-i",
|
80
80
|
env_name: "GYM_CODE_SIGNING_IDENTITY",
|
@@ -83,27 +83,25 @@ module Gym
|
|
83
83
|
FastlaneCore::ConfigItem.new(key: :skip_package_ipa,
|
84
84
|
env_name: "GYM_SKIP_PACKAGE_IPA",
|
85
85
|
description: "Should we skip packaging the ipa?",
|
86
|
-
|
86
|
+
type: Boolean,
|
87
87
|
default_value: false),
|
88
88
|
FastlaneCore::ConfigItem.new(key: :include_symbols,
|
89
89
|
short_option: "-m",
|
90
90
|
env_name: "GYM_INCLUDE_SYMBOLS",
|
91
91
|
description: "Should the ipa file include symbols?",
|
92
|
-
is_string: false,
|
93
92
|
type: Boolean,
|
94
93
|
optional: true),
|
95
94
|
FastlaneCore::ConfigItem.new(key: :include_bitcode,
|
96
95
|
short_option: "-z",
|
97
96
|
env_name: "GYM_INCLUDE_BITCODE",
|
98
97
|
description: "Should the ipa file include bitcode?",
|
99
|
-
is_string: false,
|
100
98
|
type: Boolean,
|
101
99
|
optional: true),
|
102
100
|
FastlaneCore::ConfigItem.new(key: :export_method,
|
103
101
|
short_option: "-j",
|
104
102
|
env_name: "GYM_EXPORT_METHOD",
|
105
103
|
description: "Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id",
|
106
|
-
|
104
|
+
type: String,
|
107
105
|
optional: true,
|
108
106
|
verify_block: proc do |value|
|
109
107
|
av = %w(app-store ad-hoc package enterprise development developer-id)
|
@@ -112,7 +110,6 @@ module Gym
|
|
112
110
|
FastlaneCore::ConfigItem.new(key: :export_options,
|
113
111
|
env_name: "GYM_EXPORT_OPTIONS",
|
114
112
|
description: "Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options",
|
115
|
-
is_string: false,
|
116
113
|
optional: true,
|
117
114
|
type: Hash,
|
118
115
|
skip_type_validation: true,
|
@@ -130,13 +127,16 @@ module Gym
|
|
130
127
|
FastlaneCore::ConfigItem.new(key: :skip_build_archive,
|
131
128
|
env_name: "GYM_SKIP_BUILD_ARCHIVE",
|
132
129
|
description: "Export ipa from previously built xcarchive. Uses archive_path as source",
|
133
|
-
is_string: false,
|
134
130
|
type: Boolean,
|
135
131
|
optional: true),
|
136
132
|
FastlaneCore::ConfigItem.new(key: :skip_archive,
|
137
133
|
env_name: "GYM_SKIP_ARCHIVE",
|
138
134
|
description: "After building, don't archive, effectively not including -archivePath param",
|
139
|
-
|
135
|
+
type: Boolean,
|
136
|
+
optional: true),
|
137
|
+
FastlaneCore::ConfigItem.new(key: :skip_codesigning,
|
138
|
+
env_name: "GYM_SKIP_CODESIGNING",
|
139
|
+
description: "Build without codesigning",
|
140
140
|
type: Boolean,
|
141
141
|
optional: true),
|
142
142
|
# Very optional
|
@@ -157,7 +157,7 @@ module Gym
|
|
157
157
|
FastlaneCore::ConfigItem.new(key: :result_bundle,
|
158
158
|
short_option: "-u",
|
159
159
|
env_name: "GYM_RESULT_BUNDLE",
|
160
|
-
|
160
|
+
type: Boolean,
|
161
161
|
description: "Should an Xcode result bundle be generated in the output directory",
|
162
162
|
default_value: false,
|
163
163
|
optional: true),
|
@@ -180,7 +180,7 @@ module Gym
|
|
180
180
|
env_name: "GYM_TOOLCHAIN",
|
181
181
|
description: "The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)",
|
182
182
|
optional: true,
|
183
|
-
|
183
|
+
type: String),
|
184
184
|
FastlaneCore::ConfigItem.new(key: :destination,
|
185
185
|
short_option: "-d",
|
186
186
|
env_name: "GYM_DESTINATION",
|
@@ -210,17 +210,17 @@ module Gym
|
|
210
210
|
env_name: "SUPPRESS_OUTPUT",
|
211
211
|
description: "Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path",
|
212
212
|
optional: true,
|
213
|
-
|
213
|
+
type: Boolean),
|
214
214
|
FastlaneCore::ConfigItem.new(key: :disable_xcpretty,
|
215
215
|
env_name: "DISABLE_XCPRETTY",
|
216
216
|
description: "Disable xcpretty formatting of build output",
|
217
217
|
optional: true,
|
218
|
-
|
218
|
+
type: Boolean),
|
219
219
|
FastlaneCore::ConfigItem.new(key: :xcpretty_test_format,
|
220
220
|
env_name: "XCPRETTY_TEST_FORMAT",
|
221
221
|
description: "Use the test (RSpec style) format for build output",
|
222
222
|
optional: true,
|
223
|
-
|
223
|
+
type: Boolean),
|
224
224
|
FastlaneCore::ConfigItem.new(key: :xcpretty_formatter,
|
225
225
|
env_name: "XCPRETTY_FORMATTER",
|
226
226
|
description: "A custom xcpretty formatter to use",
|
@@ -244,17 +244,17 @@ module Gym
|
|
244
244
|
env_name: "GYM_ANALYZE_BUILD_TIME",
|
245
245
|
description: "Analyze the project build time and store the output in 'culprits.txt' file",
|
246
246
|
optional: true,
|
247
|
-
|
247
|
+
type: Boolean),
|
248
248
|
FastlaneCore::ConfigItem.new(key: :xcpretty_utf,
|
249
249
|
env_name: "XCPRETTY_UTF",
|
250
250
|
description: "Have xcpretty use unicode encoding when reporting builds",
|
251
251
|
optional: true,
|
252
|
-
|
252
|
+
type: Boolean),
|
253
253
|
FastlaneCore::ConfigItem.new(key: :skip_profile_detection,
|
254
254
|
env_name: "GYM_SKIP_PROFILE_DETECTION",
|
255
255
|
description: "Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used",
|
256
256
|
optional: true,
|
257
|
-
|
257
|
+
type: Boolean,
|
258
258
|
default_value: false)
|
259
259
|
]
|
260
260
|
end
|