fastlane 2.140.0 → 2.141.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +81 -68
- data/cert/lib/cert/options.rb +12 -5
- data/cert/lib/cert/runner.rb +13 -0
- data/deliver/lib/deliver/options.rb +2 -2
- data/deliver/lib/deliver/runner.rb +13 -2
- data/fastlane/lib/fastlane/actions/build_app.rb +157 -6
- data/fastlane/lib/fastlane/actions/build_ios_app.rb +28 -132
- data/fastlane/lib/fastlane/actions/build_mac_app.rb +46 -0
- data/fastlane/lib/fastlane/actions/create_pull_request.rb +29 -0
- data/fastlane/lib/fastlane/actions/docs/{build_ios_app.md → build_app.md} +1 -1
- data/fastlane/lib/fastlane/actions/gym.rb +3 -7
- data/fastlane/lib/fastlane/actions/import_from_git.rb +4 -0
- data/fastlane/lib/fastlane/actions/set_github_release.rb +1 -1
- data/fastlane/lib/fastlane/actions/update_plist.rb +37 -2
- data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +1 -0
- data/fastlane/lib/fastlane/fast_file.rb +13 -3
- data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +2 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +3 -3
- data/fastlane/swift/Fastlane.swift +239 -35
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +17 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +7 -3
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +5 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +9 -1
- data/fastlane_core/lib/fastlane_core/cert_checker.rb +28 -0
- data/fastlane_core/lib/fastlane_core/project.rb +23 -0
- data/gym/lib/gym/code_signing_mapping.rb +32 -3
- data/gym/lib/gym/detect_values.rb +34 -2
- data/gym/lib/gym/generators/package_command_generator.rb +4 -0
- data/gym/lib/gym/generators/package_command_generator_xcode7.rb +47 -17
- data/gym/lib/gym/module.rb +8 -0
- data/gym/lib/gym/options.rb +25 -1
- data/gym/lib/gym/runner.rb +25 -4
- data/match/lib/match/encryption/openssl.rb +1 -1
- data/match/lib/match/generator.rb +17 -3
- data/match/lib/match/module.rb +4 -1
- data/match/lib/match/nuke.rb +54 -16
- data/match/lib/match/options.rb +20 -15
- data/match/lib/match/runner.rb +20 -8
- data/match/lib/match/spaceship_ensure.rb +19 -9
- data/match/lib/match/storage/git_storage.rb +5 -2
- data/scan/lib/scan/options.rb +6 -1
- data/snapshot/lib/snapshot/options.rb +12 -1
- data/snapshot/lib/snapshot/simulator_launchers/launcher_configuration.rb +2 -0
- data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +11 -0
- data/spaceship/lib/spaceship/connect_api/models/beta_feedback.rb +4 -0
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +6 -0
- data/spaceship/lib/spaceship/portal/app.rb +11 -2
- data/spaceship/lib/spaceship/tunes/iap_status.rb +5 -1
- metadata +20 -25
- 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/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/fastlane_core/lib/fastlane_core/.build_watcher.rb.swp +0 -0
- data/pilot/lib/pilot/.manager.rb.swp +0 -0
- data/spaceship/lib/spaceship/connect_api/.DS_Store +0 -0
- data/spaceship/lib/spaceship/portal/.certificate.rb.swp +0 -0
@@ -57,10 +57,10 @@ protocol DeliverfileProtocol: class {
|
|
57
57
|
/// Rejects the previously submitted build if it's in a state where it's possible
|
58
58
|
var rejectIfPossible: Bool { get }
|
59
59
|
|
60
|
-
/// Should the app be automatically released once it's approved?
|
60
|
+
/// Should the app be automatically released once it's approved? (Can not be used together with `auto_release_date`)
|
61
61
|
var automaticRelease: Bool { get }
|
62
62
|
|
63
|
-
/// Date in milliseconds for automatically releasing on pending approval
|
63
|
+
/// Date in milliseconds for automatically releasing on pending approval (Can not be used together with `automatic_release`)
|
64
64
|
var autoReleaseDate: String? { get }
|
65
65
|
|
66
66
|
/// Enable the phased release feature of iTC
|
@@ -246,4 +246,4 @@ extension DeliverfileProtocol {
|
|
246
246
|
|
247
247
|
// Please don't remove the lines below
|
248
248
|
// They are used to detect outdated files
|
249
|
-
// FastlaneRunnerAPIVersion [0.9.
|
249
|
+
// FastlaneRunnerAPIVersion [0.9.19]
|
@@ -441,8 +441,8 @@ func appledoc(input: Any,
|
|
441
441
|
- overwriteScreenshots: Clear all previously uploaded screenshots before uploading the new ones
|
442
442
|
- submitForReview: Submit the new version for Review after uploading everything
|
443
443
|
- rejectIfPossible: Rejects the previously submitted build if it's in a state where it's possible
|
444
|
-
- automaticRelease: Should the app be automatically released once it's approved?
|
445
|
-
- autoReleaseDate: Date in milliseconds for automatically releasing on pending approval
|
444
|
+
- automaticRelease: Should the app be automatically released once it's approved? (Can not be used together with `auto_release_date`)
|
445
|
+
- autoReleaseDate: Date in milliseconds for automatically releasing on pending approval (Can not be used together with `automatic_release`)
|
446
446
|
- phasedRelease: Enable the phased release feature of iTC
|
447
447
|
- resetRatings: Reset the summary rating when you release a new version of the application
|
448
448
|
- priceTier: The price tier of this application
|
@@ -871,7 +871,7 @@ func buildAndroidApp(task: String? = nil,
|
|
871
871
|
}
|
872
872
|
|
873
873
|
/**
|
874
|
-
|
874
|
+
Easily build and sign your app (via _gym_)
|
875
875
|
|
876
876
|
- parameters:
|
877
877
|
- workspace: Path to the workspace file
|
@@ -884,6 +884,7 @@ func buildAndroidApp(task: String? = nil,
|
|
884
884
|
- silent: Hide all information that's not necessary while building
|
885
885
|
- codesigningIdentity: The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'
|
886
886
|
- skipPackageIpa: Should we skip packaging the ipa?
|
887
|
+
- skipPackagePkg: Should we skip packaging the pkg?
|
887
888
|
- includeSymbols: Should the ipa file include symbols?
|
888
889
|
- includeBitcode: Should the ipa file include bitcode?
|
889
890
|
- exportMethod: Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id
|
@@ -892,6 +893,8 @@ func buildAndroidApp(task: String? = nil,
|
|
892
893
|
- skipBuildArchive: Export ipa from previously built xcarchive. Uses archive_path as source
|
893
894
|
- skipArchive: After building, don't archive, effectively not including -archivePath param
|
894
895
|
- skipCodesigning: Build without codesigning
|
896
|
+
- catalystPlatform: Platform to build when using a Catalyst enabled app. Valid values are: ios, macos
|
897
|
+
- installerCertName: Full name of 3rd Party Mac Developer Installer or Deveoper ID Installer certificate. Example: `3rd Party Mac Developer Installer: Your Company (ABC1234XWYZ)`
|
895
898
|
- buildPath: The directory in which the archive should be stored in
|
896
899
|
- archivePath: The path to the created archive
|
897
900
|
- derivedDataPath: The directory where built products and other derived data will go
|
@@ -914,6 +917,7 @@ func buildAndroidApp(task: String? = nil,
|
|
914
917
|
- analyzeBuildTime: Analyze the project build time and store the output in 'culprits.txt' file
|
915
918
|
- xcprettyUtf: Have xcpretty use unicode encoding when reporting builds
|
916
919
|
- skipProfileDetection: Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used
|
920
|
+
- clonedSourcePackagesPath: Sets a custom path for Swift Package Manager dependencies
|
917
921
|
|
918
922
|
- returns: The absolute path to the generated ipa file
|
919
923
|
|
@@ -929,6 +933,7 @@ func buildApp(workspace: String? = nil,
|
|
929
933
|
silent: Bool = false,
|
930
934
|
codesigningIdentity: String? = nil,
|
931
935
|
skipPackageIpa: Bool = false,
|
936
|
+
skipPackagePkg: Bool = false,
|
932
937
|
includeSymbols: Bool? = nil,
|
933
938
|
includeBitcode: Bool? = nil,
|
934
939
|
exportMethod: String? = nil,
|
@@ -937,6 +942,8 @@ func buildApp(workspace: String? = nil,
|
|
937
942
|
skipBuildArchive: Bool? = nil,
|
938
943
|
skipArchive: Bool? = nil,
|
939
944
|
skipCodesigning: Bool? = nil,
|
945
|
+
catalystPlatform: String? = nil,
|
946
|
+
installerCertName: String? = nil,
|
940
947
|
buildPath: String? = nil,
|
941
948
|
archivePath: String? = nil,
|
942
949
|
derivedDataPath: String? = nil,
|
@@ -958,7 +965,8 @@ func buildApp(workspace: String? = nil,
|
|
958
965
|
xcprettyReportJson: String? = nil,
|
959
966
|
analyzeBuildTime: Bool? = nil,
|
960
967
|
xcprettyUtf: Bool? = nil,
|
961
|
-
skipProfileDetection: Bool = false
|
968
|
+
skipProfileDetection: Bool = false,
|
969
|
+
clonedSourcePackagesPath: String? = nil) {
|
962
970
|
let command = RubyCommand(commandID: "", methodName: "build_app", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
963
971
|
RubyCommand.Argument(name: "project", value: project),
|
964
972
|
RubyCommand.Argument(name: "scheme", value: scheme),
|
@@ -969,6 +977,7 @@ func buildApp(workspace: String? = nil,
|
|
969
977
|
RubyCommand.Argument(name: "silent", value: silent),
|
970
978
|
RubyCommand.Argument(name: "codesigning_identity", value: codesigningIdentity),
|
971
979
|
RubyCommand.Argument(name: "skip_package_ipa", value: skipPackageIpa),
|
980
|
+
RubyCommand.Argument(name: "skip_package_pkg", value: skipPackagePkg),
|
972
981
|
RubyCommand.Argument(name: "include_symbols", value: includeSymbols),
|
973
982
|
RubyCommand.Argument(name: "include_bitcode", value: includeBitcode),
|
974
983
|
RubyCommand.Argument(name: "export_method", value: exportMethod),
|
@@ -977,6 +986,8 @@ func buildApp(workspace: String? = nil,
|
|
977
986
|
RubyCommand.Argument(name: "skip_build_archive", value: skipBuildArchive),
|
978
987
|
RubyCommand.Argument(name: "skip_archive", value: skipArchive),
|
979
988
|
RubyCommand.Argument(name: "skip_codesigning", value: skipCodesigning),
|
989
|
+
RubyCommand.Argument(name: "catalyst_platform", value: catalystPlatform),
|
990
|
+
RubyCommand.Argument(name: "installer_cert_name", value: installerCertName),
|
980
991
|
RubyCommand.Argument(name: "build_path", value: buildPath),
|
981
992
|
RubyCommand.Argument(name: "archive_path", value: archivePath),
|
982
993
|
RubyCommand.Argument(name: "derived_data_path", value: derivedDataPath),
|
@@ -998,12 +1009,13 @@ func buildApp(workspace: String? = nil,
|
|
998
1009
|
RubyCommand.Argument(name: "xcpretty_report_json", value: xcprettyReportJson),
|
999
1010
|
RubyCommand.Argument(name: "analyze_build_time", value: analyzeBuildTime),
|
1000
1011
|
RubyCommand.Argument(name: "xcpretty_utf", value: xcprettyUtf),
|
1001
|
-
RubyCommand.Argument(name: "skip_profile_detection", value: skipProfileDetection)
|
1012
|
+
RubyCommand.Argument(name: "skip_profile_detection", value: skipProfileDetection),
|
1013
|
+
RubyCommand.Argument(name: "cloned_source_packages_path", value: clonedSourcePackagesPath)])
|
1002
1014
|
_ = runner.executeCommand(command)
|
1003
1015
|
}
|
1004
1016
|
|
1005
1017
|
/**
|
1006
|
-
|
1018
|
+
Alias for the `build_app` action but only for iOS
|
1007
1019
|
|
1008
1020
|
- parameters:
|
1009
1021
|
- workspace: Path to the workspace file
|
@@ -1046,6 +1058,7 @@ func buildApp(workspace: String? = nil,
|
|
1046
1058
|
- analyzeBuildTime: Analyze the project build time and store the output in 'culprits.txt' file
|
1047
1059
|
- xcprettyUtf: Have xcpretty use unicode encoding when reporting builds
|
1048
1060
|
- skipProfileDetection: Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used
|
1061
|
+
- clonedSourcePackagesPath: Sets a custom path for Swift Package Manager dependencies
|
1049
1062
|
|
1050
1063
|
- returns: The absolute path to the generated ipa file
|
1051
1064
|
|
@@ -1090,7 +1103,8 @@ func buildIosApp(workspace: String? = nil,
|
|
1090
1103
|
xcprettyReportJson: String? = nil,
|
1091
1104
|
analyzeBuildTime: Bool? = nil,
|
1092
1105
|
xcprettyUtf: Bool? = nil,
|
1093
|
-
skipProfileDetection: Bool = false
|
1106
|
+
skipProfileDetection: Bool = false,
|
1107
|
+
clonedSourcePackagesPath: String? = nil) {
|
1094
1108
|
let command = RubyCommand(commandID: "", methodName: "build_ios_app", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
1095
1109
|
RubyCommand.Argument(name: "project", value: project),
|
1096
1110
|
RubyCommand.Argument(name: "scheme", value: scheme),
|
@@ -1130,7 +1144,146 @@ func buildIosApp(workspace: String? = nil,
|
|
1130
1144
|
RubyCommand.Argument(name: "xcpretty_report_json", value: xcprettyReportJson),
|
1131
1145
|
RubyCommand.Argument(name: "analyze_build_time", value: analyzeBuildTime),
|
1132
1146
|
RubyCommand.Argument(name: "xcpretty_utf", value: xcprettyUtf),
|
1133
|
-
RubyCommand.Argument(name: "skip_profile_detection", value: skipProfileDetection)
|
1147
|
+
RubyCommand.Argument(name: "skip_profile_detection", value: skipProfileDetection),
|
1148
|
+
RubyCommand.Argument(name: "cloned_source_packages_path", value: clonedSourcePackagesPath)])
|
1149
|
+
_ = runner.executeCommand(command)
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
/**
|
1153
|
+
Alias for the `build_app` action but only for macOS
|
1154
|
+
|
1155
|
+
- parameters:
|
1156
|
+
- workspace: Path to the workspace file
|
1157
|
+
- project: Path to the project file
|
1158
|
+
- scheme: The project's scheme. Make sure it's marked as `Shared`
|
1159
|
+
- clean: Should the project be cleaned before building it?
|
1160
|
+
- outputDirectory: The directory in which the ipa file should be stored in
|
1161
|
+
- outputName: The name of the resulting ipa file
|
1162
|
+
- configuration: The configuration to use when building the app. Defaults to 'Release'
|
1163
|
+
- silent: Hide all information that's not necessary while building
|
1164
|
+
- codesigningIdentity: The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'
|
1165
|
+
- skipPackagePkg: Should we skip packaging the pkg?
|
1166
|
+
- includeSymbols: Should the ipa file include symbols?
|
1167
|
+
- includeBitcode: Should the ipa file include bitcode?
|
1168
|
+
- exportMethod: Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id
|
1169
|
+
- exportOptions: Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options
|
1170
|
+
- exportXcargs: Pass additional arguments to xcodebuild for the package phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
|
1171
|
+
- skipBuildArchive: Export ipa from previously built xcarchive. Uses archive_path as source
|
1172
|
+
- skipArchive: After building, don't archive, effectively not including -archivePath param
|
1173
|
+
- skipCodesigning: Build without codesigning
|
1174
|
+
- installerCertName: Full name of 3rd Party Mac Developer Installer or Deveoper ID Installer certificate. Example: `3rd Party Mac Developer Installer: Your Company (ABC1234XWYZ)`
|
1175
|
+
- buildPath: The directory in which the archive should be stored in
|
1176
|
+
- archivePath: The path to the created archive
|
1177
|
+
- derivedDataPath: The directory where built products and other derived data will go
|
1178
|
+
- resultBundle: Should an Xcode result bundle be generated in the output directory
|
1179
|
+
- resultBundlePath: Path to the result bundle directory to create. Ignored if `result_bundle` if false
|
1180
|
+
- buildlogPath: The directory where to store the build log
|
1181
|
+
- sdk: The SDK that should be used for building the application
|
1182
|
+
- toolchain: The toolchain that should be used for building the application (e.g. com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a)
|
1183
|
+
- destination: Use a custom destination for building the app
|
1184
|
+
- exportTeamId: Optional: Sometimes you need to specify a team id when exporting the ipa file
|
1185
|
+
- xcargs: Pass additional arguments to xcodebuild for the build phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
|
1186
|
+
- xcconfig: Use an extra XCCONFIG file to build your app
|
1187
|
+
- suppressXcodeOutput: Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path
|
1188
|
+
- disableXcpretty: Disable xcpretty formatting of build output
|
1189
|
+
- xcprettyTestFormat: Use the test (RSpec style) format for build output
|
1190
|
+
- xcprettyFormatter: A custom xcpretty formatter to use
|
1191
|
+
- xcprettyReportJunit: Have xcpretty create a JUnit-style XML report at the provided path
|
1192
|
+
- xcprettyReportHtml: Have xcpretty create a simple HTML report at the provided path
|
1193
|
+
- xcprettyReportJson: Have xcpretty create a JSON compilation database at the provided path
|
1194
|
+
- analyzeBuildTime: Analyze the project build time and store the output in 'culprits.txt' file
|
1195
|
+
- xcprettyUtf: Have xcpretty use unicode encoding when reporting builds
|
1196
|
+
- skipProfileDetection: Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used
|
1197
|
+
- clonedSourcePackagesPath: Sets a custom path for Swift Package Manager dependencies
|
1198
|
+
|
1199
|
+
- returns: The absolute path to the generated ipa file
|
1200
|
+
|
1201
|
+
More information: https://fastlane.tools/gym
|
1202
|
+
*/
|
1203
|
+
func buildMacApp(workspace: String? = nil,
|
1204
|
+
project: String? = nil,
|
1205
|
+
scheme: String? = nil,
|
1206
|
+
clean: Bool = false,
|
1207
|
+
outputDirectory: String = ".",
|
1208
|
+
outputName: String? = nil,
|
1209
|
+
configuration: String? = nil,
|
1210
|
+
silent: Bool = false,
|
1211
|
+
codesigningIdentity: String? = nil,
|
1212
|
+
skipPackagePkg: Bool = false,
|
1213
|
+
includeSymbols: Bool? = nil,
|
1214
|
+
includeBitcode: Bool? = nil,
|
1215
|
+
exportMethod: String? = nil,
|
1216
|
+
exportOptions: [String : Any]? = nil,
|
1217
|
+
exportXcargs: String? = nil,
|
1218
|
+
skipBuildArchive: Bool? = nil,
|
1219
|
+
skipArchive: Bool? = nil,
|
1220
|
+
skipCodesigning: Bool? = nil,
|
1221
|
+
installerCertName: String? = nil,
|
1222
|
+
buildPath: String? = nil,
|
1223
|
+
archivePath: String? = nil,
|
1224
|
+
derivedDataPath: String? = nil,
|
1225
|
+
resultBundle: Bool = false,
|
1226
|
+
resultBundlePath: String? = nil,
|
1227
|
+
buildlogPath: String = "~/Library/Logs/gym",
|
1228
|
+
sdk: String? = nil,
|
1229
|
+
toolchain: String? = nil,
|
1230
|
+
destination: String? = nil,
|
1231
|
+
exportTeamId: String? = nil,
|
1232
|
+
xcargs: String? = nil,
|
1233
|
+
xcconfig: String? = nil,
|
1234
|
+
suppressXcodeOutput: Bool? = nil,
|
1235
|
+
disableXcpretty: Bool? = nil,
|
1236
|
+
xcprettyTestFormat: Bool? = nil,
|
1237
|
+
xcprettyFormatter: String? = nil,
|
1238
|
+
xcprettyReportJunit: String? = nil,
|
1239
|
+
xcprettyReportHtml: String? = nil,
|
1240
|
+
xcprettyReportJson: String? = nil,
|
1241
|
+
analyzeBuildTime: Bool? = nil,
|
1242
|
+
xcprettyUtf: Bool? = nil,
|
1243
|
+
skipProfileDetection: Bool = false,
|
1244
|
+
clonedSourcePackagesPath: String? = nil) {
|
1245
|
+
let command = RubyCommand(commandID: "", methodName: "build_mac_app", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
1246
|
+
RubyCommand.Argument(name: "project", value: project),
|
1247
|
+
RubyCommand.Argument(name: "scheme", value: scheme),
|
1248
|
+
RubyCommand.Argument(name: "clean", value: clean),
|
1249
|
+
RubyCommand.Argument(name: "output_directory", value: outputDirectory),
|
1250
|
+
RubyCommand.Argument(name: "output_name", value: outputName),
|
1251
|
+
RubyCommand.Argument(name: "configuration", value: configuration),
|
1252
|
+
RubyCommand.Argument(name: "silent", value: silent),
|
1253
|
+
RubyCommand.Argument(name: "codesigning_identity", value: codesigningIdentity),
|
1254
|
+
RubyCommand.Argument(name: "skip_package_pkg", value: skipPackagePkg),
|
1255
|
+
RubyCommand.Argument(name: "include_symbols", value: includeSymbols),
|
1256
|
+
RubyCommand.Argument(name: "include_bitcode", value: includeBitcode),
|
1257
|
+
RubyCommand.Argument(name: "export_method", value: exportMethod),
|
1258
|
+
RubyCommand.Argument(name: "export_options", value: exportOptions),
|
1259
|
+
RubyCommand.Argument(name: "export_xcargs", value: exportXcargs),
|
1260
|
+
RubyCommand.Argument(name: "skip_build_archive", value: skipBuildArchive),
|
1261
|
+
RubyCommand.Argument(name: "skip_archive", value: skipArchive),
|
1262
|
+
RubyCommand.Argument(name: "skip_codesigning", value: skipCodesigning),
|
1263
|
+
RubyCommand.Argument(name: "installer_cert_name", value: installerCertName),
|
1264
|
+
RubyCommand.Argument(name: "build_path", value: buildPath),
|
1265
|
+
RubyCommand.Argument(name: "archive_path", value: archivePath),
|
1266
|
+
RubyCommand.Argument(name: "derived_data_path", value: derivedDataPath),
|
1267
|
+
RubyCommand.Argument(name: "result_bundle", value: resultBundle),
|
1268
|
+
RubyCommand.Argument(name: "result_bundle_path", value: resultBundlePath),
|
1269
|
+
RubyCommand.Argument(name: "buildlog_path", value: buildlogPath),
|
1270
|
+
RubyCommand.Argument(name: "sdk", value: sdk),
|
1271
|
+
RubyCommand.Argument(name: "toolchain", value: toolchain),
|
1272
|
+
RubyCommand.Argument(name: "destination", value: destination),
|
1273
|
+
RubyCommand.Argument(name: "export_team_id", value: exportTeamId),
|
1274
|
+
RubyCommand.Argument(name: "xcargs", value: xcargs),
|
1275
|
+
RubyCommand.Argument(name: "xcconfig", value: xcconfig),
|
1276
|
+
RubyCommand.Argument(name: "suppress_xcode_output", value: suppressXcodeOutput),
|
1277
|
+
RubyCommand.Argument(name: "disable_xcpretty", value: disableXcpretty),
|
1278
|
+
RubyCommand.Argument(name: "xcpretty_test_format", value: xcprettyTestFormat),
|
1279
|
+
RubyCommand.Argument(name: "xcpretty_formatter", value: xcprettyFormatter),
|
1280
|
+
RubyCommand.Argument(name: "xcpretty_report_junit", value: xcprettyReportJunit),
|
1281
|
+
RubyCommand.Argument(name: "xcpretty_report_html", value: xcprettyReportHtml),
|
1282
|
+
RubyCommand.Argument(name: "xcpretty_report_json", value: xcprettyReportJson),
|
1283
|
+
RubyCommand.Argument(name: "analyze_build_time", value: analyzeBuildTime),
|
1284
|
+
RubyCommand.Argument(name: "xcpretty_utf", value: xcprettyUtf),
|
1285
|
+
RubyCommand.Argument(name: "skip_profile_detection", value: skipProfileDetection),
|
1286
|
+
RubyCommand.Argument(name: "cloned_source_packages_path", value: clonedSourcePackagesPath)])
|
1134
1287
|
_ = runner.executeCommand(command)
|
1135
1288
|
}
|
1136
1289
|
|
@@ -1308,6 +1461,8 @@ func captureAndroidScreenshots(androidHome: String? = nil,
|
|
1308
1461
|
- testTargetName: The name of the target you want to test (if you desire to override the Target Application from Xcode)
|
1309
1462
|
- namespaceLogFiles: Separate the log files per device and per language
|
1310
1463
|
- concurrentSimulators: Take snapshots on multiple simulators concurrently. Note: This option is only applicable when running against Xcode 9
|
1464
|
+
- disableSlideToType: Disable the simulator from showing the 'Slide to type' prompt
|
1465
|
+
- clonedSourcePackagesPath: Sets a custom path for Swift Package Manager dependencies
|
1311
1466
|
*/
|
1312
1467
|
func captureIosScreenshots(workspace: String? = nil,
|
1313
1468
|
project: String? = nil,
|
@@ -1342,7 +1497,9 @@ func captureIosScreenshots(workspace: String? = nil,
|
|
1342
1497
|
resultBundle: Bool = false,
|
1343
1498
|
testTargetName: String? = nil,
|
1344
1499
|
namespaceLogFiles: Any? = nil,
|
1345
|
-
concurrentSimulators: Bool = true
|
1500
|
+
concurrentSimulators: Bool = true,
|
1501
|
+
disableSlideToType: Bool = false,
|
1502
|
+
clonedSourcePackagesPath: String? = nil) {
|
1346
1503
|
let command = RubyCommand(commandID: "", methodName: "capture_ios_screenshots", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
1347
1504
|
RubyCommand.Argument(name: "project", value: project),
|
1348
1505
|
RubyCommand.Argument(name: "xcargs", value: xcargs),
|
@@ -1376,7 +1533,9 @@ func captureIosScreenshots(workspace: String? = nil,
|
|
1376
1533
|
RubyCommand.Argument(name: "result_bundle", value: resultBundle),
|
1377
1534
|
RubyCommand.Argument(name: "test_target_name", value: testTargetName),
|
1378
1535
|
RubyCommand.Argument(name: "namespace_log_files", value: namespaceLogFiles),
|
1379
|
-
RubyCommand.Argument(name: "concurrent_simulators", value: concurrentSimulators)
|
1536
|
+
RubyCommand.Argument(name: "concurrent_simulators", value: concurrentSimulators),
|
1537
|
+
RubyCommand.Argument(name: "disable_slide_to_type", value: disableSlideToType),
|
1538
|
+
RubyCommand.Argument(name: "cloned_source_packages_path", value: clonedSourcePackagesPath)])
|
1380
1539
|
_ = runner.executeCommand(command)
|
1381
1540
|
}
|
1382
1541
|
|
@@ -1418,6 +1577,8 @@ func captureIosScreenshots(workspace: String? = nil,
|
|
1418
1577
|
- testTargetName: The name of the target you want to test (if you desire to override the Target Application from Xcode)
|
1419
1578
|
- namespaceLogFiles: Separate the log files per device and per language
|
1420
1579
|
- concurrentSimulators: Take snapshots on multiple simulators concurrently. Note: This option is only applicable when running against Xcode 9
|
1580
|
+
- disableSlideToType: Disable the simulator from showing the 'Slide to type' prompt
|
1581
|
+
- clonedSourcePackagesPath: Sets a custom path for Swift Package Manager dependencies
|
1421
1582
|
*/
|
1422
1583
|
func captureScreenshots(workspace: String? = nil,
|
1423
1584
|
project: String? = nil,
|
@@ -1452,7 +1613,9 @@ func captureScreenshots(workspace: String? = nil,
|
|
1452
1613
|
resultBundle: Bool = false,
|
1453
1614
|
testTargetName: String? = nil,
|
1454
1615
|
namespaceLogFiles: Any? = nil,
|
1455
|
-
concurrentSimulators: Bool = true
|
1616
|
+
concurrentSimulators: Bool = true,
|
1617
|
+
disableSlideToType: Bool = false,
|
1618
|
+
clonedSourcePackagesPath: String? = nil) {
|
1456
1619
|
let command = RubyCommand(commandID: "", methodName: "capture_screenshots", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
1457
1620
|
RubyCommand.Argument(name: "project", value: project),
|
1458
1621
|
RubyCommand.Argument(name: "xcargs", value: xcargs),
|
@@ -1486,7 +1649,9 @@ func captureScreenshots(workspace: String? = nil,
|
|
1486
1649
|
RubyCommand.Argument(name: "result_bundle", value: resultBundle),
|
1487
1650
|
RubyCommand.Argument(name: "test_target_name", value: testTargetName),
|
1488
1651
|
RubyCommand.Argument(name: "namespace_log_files", value: namespaceLogFiles),
|
1489
|
-
RubyCommand.Argument(name: "concurrent_simulators", value: concurrentSimulators)
|
1652
|
+
RubyCommand.Argument(name: "concurrent_simulators", value: concurrentSimulators),
|
1653
|
+
RubyCommand.Argument(name: "disable_slide_to_type", value: disableSlideToType),
|
1654
|
+
RubyCommand.Argument(name: "cloned_source_packages_path", value: clonedSourcePackagesPath)])
|
1490
1655
|
_ = runner.executeCommand(command)
|
1491
1656
|
}
|
1492
1657
|
|
@@ -1563,6 +1728,7 @@ func carthage(command: String = "bootstrap",
|
|
1563
1728
|
|
1564
1729
|
- parameters:
|
1565
1730
|
- development: Create a development certificate instead of a distribution one
|
1731
|
+
- type: Create specific certificate type (takes precedence over :development)
|
1566
1732
|
- force: Create a certificate even if an existing certificate exists
|
1567
1733
|
- generateAppleCerts: Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)
|
1568
1734
|
- username: Your Apple ID Username
|
@@ -1578,6 +1744,7 @@ func carthage(command: String = "bootstrap",
|
|
1578
1744
|
Use this action to download the latest code signing identity.
|
1579
1745
|
*/
|
1580
1746
|
func cert(development: Bool = false,
|
1747
|
+
type: String? = nil,
|
1581
1748
|
force: Bool = false,
|
1582
1749
|
generateAppleCerts: Bool = true,
|
1583
1750
|
username: String,
|
@@ -1587,8 +1754,9 @@ func cert(development: Bool = false,
|
|
1587
1754
|
outputPath: String = ".",
|
1588
1755
|
keychainPath: String,
|
1589
1756
|
keychainPassword: String? = nil,
|
1590
|
-
platform:
|
1757
|
+
platform: String = "ios") {
|
1591
1758
|
let command = RubyCommand(commandID: "", methodName: "cert", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
|
1759
|
+
RubyCommand.Argument(name: "type", value: type),
|
1592
1760
|
RubyCommand.Argument(name: "force", value: force),
|
1593
1761
|
RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
|
1594
1762
|
RubyCommand.Argument(name: "username", value: username),
|
@@ -2145,6 +2313,7 @@ func createKeychain(name: String? = nil,
|
|
2145
2313
|
- title: The title of the pull request
|
2146
2314
|
- body: The contents of the pull request
|
2147
2315
|
- labels: The labels for the pull request
|
2316
|
+
- milestone: The milestone ID (Integer) for the pull request
|
2148
2317
|
- head: The name of the branch where your changes are implemented (defaults to the current branch name)
|
2149
2318
|
- base: The name of the branch you want your changes pulled into (defaults to `master`)
|
2150
2319
|
- apiUrl: The URL of GitHub API - used when the Enterprise (default to `https://api.github.com`)
|
@@ -2159,6 +2328,7 @@ func createPullRequest(apiToken: String,
|
|
2159
2328
|
title: String,
|
2160
2329
|
body: String? = nil,
|
2161
2330
|
labels: [String]? = nil,
|
2331
|
+
milestone: String? = nil,
|
2162
2332
|
head: String? = nil,
|
2163
2333
|
base: String = "master",
|
2164
2334
|
apiUrl: String = "https://api.github.com",
|
@@ -2170,6 +2340,7 @@ func createPullRequest(apiToken: String,
|
|
2170
2340
|
RubyCommand.Argument(name: "title", value: title),
|
2171
2341
|
RubyCommand.Argument(name: "body", value: body),
|
2172
2342
|
RubyCommand.Argument(name: "labels", value: labels),
|
2343
|
+
RubyCommand.Argument(name: "milestone", value: milestone),
|
2173
2344
|
RubyCommand.Argument(name: "head", value: head),
|
2174
2345
|
RubyCommand.Argument(name: "base", value: base),
|
2175
2346
|
RubyCommand.Argument(name: "api_url", value: apiUrl),
|
@@ -2278,8 +2449,8 @@ func deleteKeychain(name: String? = nil,
|
|
2278
2449
|
- overwriteScreenshots: Clear all previously uploaded screenshots before uploading the new ones
|
2279
2450
|
- submitForReview: Submit the new version for Review after uploading everything
|
2280
2451
|
- rejectIfPossible: Rejects the previously submitted build if it's in a state where it's possible
|
2281
|
-
- automaticRelease: Should the app be automatically released once it's approved?
|
2282
|
-
- autoReleaseDate: Date in milliseconds for automatically releasing on pending approval
|
2452
|
+
- automaticRelease: Should the app be automatically released once it's approved? (Can not be used together with `auto_release_date`)
|
2453
|
+
- autoReleaseDate: Date in milliseconds for automatically releasing on pending approval (Can not be used together with `automatic_release`)
|
2283
2454
|
- phasedRelease: Enable the phased release feature of iTC
|
2284
2455
|
- resetRatings: Reset the summary rating when you release a new version of the application
|
2285
2456
|
- priceTier: The price tier of this application
|
@@ -2586,7 +2757,7 @@ func downloadDsyms(username: String,
|
|
2586
2757
|
func downloadFromPlayStore(packageName: String,
|
2587
2758
|
versionName: String? = nil,
|
2588
2759
|
track: String = "production",
|
2589
|
-
metadataPath: String =
|
2760
|
+
metadataPath: String? = nil,
|
2590
2761
|
key: String? = nil,
|
2591
2762
|
issuer: String? = nil,
|
2592
2763
|
jsonKey: String? = nil,
|
@@ -2941,6 +3112,7 @@ func getBuildNumberRepository(useHgRevisionNumber: Bool = false) {
|
|
2941
3112
|
|
2942
3113
|
- parameters:
|
2943
3114
|
- development: Create a development certificate instead of a distribution one
|
3115
|
+
- type: Create specific certificate type (takes precedence over :development)
|
2944
3116
|
- force: Create a certificate even if an existing certificate exists
|
2945
3117
|
- generateAppleCerts: Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)
|
2946
3118
|
- username: Your Apple ID Username
|
@@ -2956,6 +3128,7 @@ func getBuildNumberRepository(useHgRevisionNumber: Bool = false) {
|
|
2956
3128
|
Use this action to download the latest code signing identity.
|
2957
3129
|
*/
|
2958
3130
|
func getCertificates(development: Bool = false,
|
3131
|
+
type: String? = nil,
|
2959
3132
|
force: Bool = false,
|
2960
3133
|
generateAppleCerts: Bool = true,
|
2961
3134
|
username: String,
|
@@ -2965,8 +3138,9 @@ func getCertificates(development: Bool = false,
|
|
2965
3138
|
outputPath: String = ".",
|
2966
3139
|
keychainPath: String,
|
2967
3140
|
keychainPassword: String? = nil,
|
2968
|
-
platform:
|
3141
|
+
platform: String = "ios") {
|
2969
3142
|
let command = RubyCommand(commandID: "", methodName: "get_certificates", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
|
3143
|
+
RubyCommand.Argument(name: "type", value: type),
|
2970
3144
|
RubyCommand.Argument(name: "force", value: force),
|
2971
3145
|
RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
|
2972
3146
|
RubyCommand.Argument(name: "username", value: username),
|
@@ -3470,7 +3644,7 @@ func gradle(task: String? = nil,
|
|
3470
3644
|
}
|
3471
3645
|
|
3472
3646
|
/**
|
3473
|
-
Alias for the `
|
3647
|
+
Alias for the `build_app` action
|
3474
3648
|
|
3475
3649
|
- parameters:
|
3476
3650
|
- workspace: Path to the workspace file
|
@@ -3483,6 +3657,7 @@ func gradle(task: String? = nil,
|
|
3483
3657
|
- silent: Hide all information that's not necessary while building
|
3484
3658
|
- codesigningIdentity: The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'
|
3485
3659
|
- skipPackageIpa: Should we skip packaging the ipa?
|
3660
|
+
- skipPackagePkg: Should we skip packaging the pkg?
|
3486
3661
|
- includeSymbols: Should the ipa file include symbols?
|
3487
3662
|
- includeBitcode: Should the ipa file include bitcode?
|
3488
3663
|
- exportMethod: Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id
|
@@ -3491,6 +3666,8 @@ func gradle(task: String? = nil,
|
|
3491
3666
|
- skipBuildArchive: Export ipa from previously built xcarchive. Uses archive_path as source
|
3492
3667
|
- skipArchive: After building, don't archive, effectively not including -archivePath param
|
3493
3668
|
- skipCodesigning: Build without codesigning
|
3669
|
+
- catalystPlatform: Platform to build when using a Catalyst enabled app. Valid values are: ios, macos
|
3670
|
+
- installerCertName: Full name of 3rd Party Mac Developer Installer or Deveoper ID Installer certificate. Example: `3rd Party Mac Developer Installer: Your Company (ABC1234XWYZ)`
|
3494
3671
|
- buildPath: The directory in which the archive should be stored in
|
3495
3672
|
- archivePath: The path to the created archive
|
3496
3673
|
- derivedDataPath: The directory where built products and other derived data will go
|
@@ -3513,6 +3690,7 @@ func gradle(task: String? = nil,
|
|
3513
3690
|
- analyzeBuildTime: Analyze the project build time and store the output in 'culprits.txt' file
|
3514
3691
|
- xcprettyUtf: Have xcpretty use unicode encoding when reporting builds
|
3515
3692
|
- skipProfileDetection: Do not try to build a profile mapping from the xcodeproj. Match or a manually provided mapping should be used
|
3693
|
+
- clonedSourcePackagesPath: Sets a custom path for Swift Package Manager dependencies
|
3516
3694
|
|
3517
3695
|
- returns: The absolute path to the generated ipa file
|
3518
3696
|
|
@@ -3528,6 +3706,7 @@ func gym(workspace: Any? = gymfile.workspace,
|
|
3528
3706
|
silent: Bool = gymfile.silent,
|
3529
3707
|
codesigningIdentity: Any? = gymfile.codesigningIdentity,
|
3530
3708
|
skipPackageIpa: Bool = gymfile.skipPackageIpa,
|
3709
|
+
skipPackagePkg: Bool = gymfile.skipPackagePkg,
|
3531
3710
|
includeSymbols: Bool? = gymfile.includeSymbols,
|
3532
3711
|
includeBitcode: Bool? = gymfile.includeBitcode,
|
3533
3712
|
exportMethod: Any? = gymfile.exportMethod,
|
@@ -3536,6 +3715,8 @@ func gym(workspace: Any? = gymfile.workspace,
|
|
3536
3715
|
skipBuildArchive: Bool? = gymfile.skipBuildArchive,
|
3537
3716
|
skipArchive: Bool? = gymfile.skipArchive,
|
3538
3717
|
skipCodesigning: Bool? = gymfile.skipCodesigning,
|
3718
|
+
catalystPlatform: Any? = gymfile.catalystPlatform,
|
3719
|
+
installerCertName: Any? = gymfile.installerCertName,
|
3539
3720
|
buildPath: Any? = gymfile.buildPath,
|
3540
3721
|
archivePath: Any? = gymfile.archivePath,
|
3541
3722
|
derivedDataPath: Any? = gymfile.derivedDataPath,
|
@@ -3557,7 +3738,8 @@ func gym(workspace: Any? = gymfile.workspace,
|
|
3557
3738
|
xcprettyReportJson: Any? = gymfile.xcprettyReportJson,
|
3558
3739
|
analyzeBuildTime: Bool? = gymfile.analyzeBuildTime,
|
3559
3740
|
xcprettyUtf: Bool? = gymfile.xcprettyUtf,
|
3560
|
-
skipProfileDetection: Bool = gymfile.skipProfileDetection
|
3741
|
+
skipProfileDetection: Bool = gymfile.skipProfileDetection,
|
3742
|
+
clonedSourcePackagesPath: Any? = gymfile.clonedSourcePackagesPath) {
|
3561
3743
|
let command = RubyCommand(commandID: "", methodName: "gym", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
3562
3744
|
RubyCommand.Argument(name: "project", value: project),
|
3563
3745
|
RubyCommand.Argument(name: "scheme", value: scheme),
|
@@ -3568,6 +3750,7 @@ func gym(workspace: Any? = gymfile.workspace,
|
|
3568
3750
|
RubyCommand.Argument(name: "silent", value: silent),
|
3569
3751
|
RubyCommand.Argument(name: "codesigning_identity", value: codesigningIdentity),
|
3570
3752
|
RubyCommand.Argument(name: "skip_package_ipa", value: skipPackageIpa),
|
3753
|
+
RubyCommand.Argument(name: "skip_package_pkg", value: skipPackagePkg),
|
3571
3754
|
RubyCommand.Argument(name: "include_symbols", value: includeSymbols),
|
3572
3755
|
RubyCommand.Argument(name: "include_bitcode", value: includeBitcode),
|
3573
3756
|
RubyCommand.Argument(name: "export_method", value: exportMethod),
|
@@ -3576,6 +3759,8 @@ func gym(workspace: Any? = gymfile.workspace,
|
|
3576
3759
|
RubyCommand.Argument(name: "skip_build_archive", value: skipBuildArchive),
|
3577
3760
|
RubyCommand.Argument(name: "skip_archive", value: skipArchive),
|
3578
3761
|
RubyCommand.Argument(name: "skip_codesigning", value: skipCodesigning),
|
3762
|
+
RubyCommand.Argument(name: "catalyst_platform", value: catalystPlatform),
|
3763
|
+
RubyCommand.Argument(name: "installer_cert_name", value: installerCertName),
|
3579
3764
|
RubyCommand.Argument(name: "build_path", value: buildPath),
|
3580
3765
|
RubyCommand.Argument(name: "archive_path", value: archivePath),
|
3581
3766
|
RubyCommand.Argument(name: "derived_data_path", value: derivedDataPath),
|
@@ -3597,7 +3782,8 @@ func gym(workspace: Any? = gymfile.workspace,
|
|
3597
3782
|
RubyCommand.Argument(name: "xcpretty_report_json", value: xcprettyReportJson),
|
3598
3783
|
RubyCommand.Argument(name: "analyze_build_time", value: analyzeBuildTime),
|
3599
3784
|
RubyCommand.Argument(name: "xcpretty_utf", value: xcprettyUtf),
|
3600
|
-
RubyCommand.Argument(name: "skip_profile_detection", value: skipProfileDetection)
|
3785
|
+
RubyCommand.Argument(name: "skip_profile_detection", value: skipProfileDetection),
|
3786
|
+
RubyCommand.Argument(name: "cloned_source_packages_path", value: clonedSourcePackagesPath)])
|
3601
3787
|
_ = runner.executeCommand(command)
|
3602
3788
|
}
|
3603
3789
|
|
@@ -4232,7 +4418,8 @@ func makeChangelogFromJenkins(fallbackChangelog: String = "",
|
|
4232
4418
|
Alias for the `sync_code_signing` action
|
4233
4419
|
|
4234
4420
|
- parameters:
|
4235
|
-
- type: Define the profile type, can be appstore, adhoc, development, enterprise
|
4421
|
+
- type: Define the profile type, can be appstore, adhoc, development, enterprise, developer_id
|
4422
|
+
- additionalCertTypes: Create additional cert types needed for macOS installers (valid values: mac_installer_distribution, developer_id_installer)
|
4236
4423
|
- readonly: Only fetch existing certificates and profiles, don't generate new ones
|
4237
4424
|
- generateAppleCerts: Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)
|
4238
4425
|
- skipProvisioningProfiles: Skip syncing provisioning profiles
|
@@ -4258,7 +4445,7 @@ func makeChangelogFromJenkins(fallbackChangelog: String = "",
|
|
4258
4445
|
- forceForNewDevices: Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile type 'appstore'
|
4259
4446
|
- skipConfirmation: Disables confirmation prompts during nuke, answering them with yes
|
4260
4447
|
- skipDocs: Skip generation of a README.md for the created git repository
|
4261
|
-
- platform: Set the provisioning profile's platform to work with (i.e. ios, tvos)
|
4448
|
+
- platform: Set the provisioning profile's platform to work with (i.e. ios, tvos, macos)
|
4262
4449
|
- templateName: 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")
|
4263
4450
|
- outputPath: Path in which to export certificates, key and profile
|
4264
4451
|
- verbose: Print out extra information and all commands
|
@@ -4266,6 +4453,7 @@ func makeChangelogFromJenkins(fallbackChangelog: String = "",
|
|
4266
4453
|
More information: https://docs.fastlane.tools/actions/match/
|
4267
4454
|
*/
|
4268
4455
|
func match(type: Any = matchfile.type,
|
4456
|
+
additionalCertTypes: [String]? = matchfile.additionalCertTypes,
|
4269
4457
|
readonly: Bool = matchfile.readonly,
|
4270
4458
|
generateAppleCerts: Bool = matchfile.generateAppleCerts,
|
4271
4459
|
skipProvisioningProfiles: Bool = matchfile.skipProvisioningProfiles,
|
@@ -4296,6 +4484,7 @@ func match(type: Any = matchfile.type,
|
|
4296
4484
|
outputPath: Any? = matchfile.outputPath,
|
4297
4485
|
verbose: Bool = matchfile.verbose) {
|
4298
4486
|
let command = RubyCommand(commandID: "", methodName: "match", className: nil, args: [RubyCommand.Argument(name: "type", value: type),
|
4487
|
+
RubyCommand.Argument(name: "additional_cert_types", value: additionalCertTypes),
|
4299
4488
|
RubyCommand.Argument(name: "readonly", value: readonly),
|
4300
4489
|
RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
|
4301
4490
|
RubyCommand.Argument(name: "skip_provisioning_profiles", value: skipProvisioningProfiles),
|
@@ -5417,6 +5606,7 @@ func rubyVersion() {
|
|
5417
5606
|
- destination: Use only if you're a pro, use the other options instead
|
5418
5607
|
- customReportFileName: **DEPRECATED!** Use `--output_files` instead - Sets custom full report file name when generating a single report
|
5419
5608
|
- xcodebuildCommand: Allows for override of the default `xcodebuild` command
|
5609
|
+
- clonedSourcePackagesPath: Sets a custom path for Swift Package Manager dependencies
|
5420
5610
|
- failBuild: Should this step stop the build if the tests fail? Set this to false if you're using trainer
|
5421
5611
|
|
5422
5612
|
More information: https://docs.fastlane.tools/actions/scan/
|
@@ -5477,6 +5667,7 @@ func runTests(workspace: String? = nil,
|
|
5477
5667
|
destination: Any? = nil,
|
5478
5668
|
customReportFileName: String? = nil,
|
5479
5669
|
xcodebuildCommand: String = "env NSUnbufferedIO=YES xcodebuild",
|
5670
|
+
clonedSourcePackagesPath: String? = nil,
|
5480
5671
|
failBuild: Bool = true) {
|
5481
5672
|
let command = RubyCommand(commandID: "", methodName: "run_tests", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
5482
5673
|
RubyCommand.Argument(name: "project", value: project),
|
@@ -5534,6 +5725,7 @@ func runTests(workspace: String? = nil,
|
|
5534
5725
|
RubyCommand.Argument(name: "destination", value: destination),
|
5535
5726
|
RubyCommand.Argument(name: "custom_report_file_name", value: customReportFileName),
|
5536
5727
|
RubyCommand.Argument(name: "xcodebuild_command", value: xcodebuildCommand),
|
5728
|
+
RubyCommand.Argument(name: "cloned_source_packages_path", value: clonedSourcePackagesPath),
|
5537
5729
|
RubyCommand.Argument(name: "fail_build", value: failBuild)])
|
5538
5730
|
_ = runner.executeCommand(command)
|
5539
5731
|
}
|
@@ -5672,6 +5864,7 @@ func say(text: Any,
|
|
5672
5864
|
- destination: Use only if you're a pro, use the other options instead
|
5673
5865
|
- customReportFileName: **DEPRECATED!** Use `--output_files` instead - Sets custom full report file name when generating a single report
|
5674
5866
|
- xcodebuildCommand: Allows for override of the default `xcodebuild` command
|
5867
|
+
- clonedSourcePackagesPath: Sets a custom path for Swift Package Manager dependencies
|
5675
5868
|
- failBuild: Should this step stop the build if the tests fail? Set this to false if you're using trainer
|
5676
5869
|
|
5677
5870
|
More information: https://docs.fastlane.tools/actions/scan/
|
@@ -5732,6 +5925,7 @@ func scan(workspace: Any? = scanfile.workspace,
|
|
5732
5925
|
destination: Any? = scanfile.destination,
|
5733
5926
|
customReportFileName: Any? = scanfile.customReportFileName,
|
5734
5927
|
xcodebuildCommand: Any = scanfile.xcodebuildCommand,
|
5928
|
+
clonedSourcePackagesPath: Any? = scanfile.clonedSourcePackagesPath,
|
5735
5929
|
failBuild: Bool = scanfile.failBuild) {
|
5736
5930
|
let command = RubyCommand(commandID: "", methodName: "scan", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
5737
5931
|
RubyCommand.Argument(name: "project", value: project),
|
@@ -5789,6 +5983,7 @@ func scan(workspace: Any? = scanfile.workspace,
|
|
5789
5983
|
RubyCommand.Argument(name: "destination", value: destination),
|
5790
5984
|
RubyCommand.Argument(name: "custom_report_file_name", value: customReportFileName),
|
5791
5985
|
RubyCommand.Argument(name: "xcodebuild_command", value: xcodebuildCommand),
|
5986
|
+
RubyCommand.Argument(name: "cloned_source_packages_path", value: clonedSourcePackagesPath),
|
5792
5987
|
RubyCommand.Argument(name: "fail_build", value: failBuild)])
|
5793
5988
|
_ = runner.executeCommand(command)
|
5794
5989
|
}
|
@@ -5975,7 +6170,7 @@ Access things like 'html_url', 'tag_name', 'name', 'body'
|
|
5975
6170
|
description: String? = nil,
|
5976
6171
|
isDraft: Bool = false,
|
5977
6172
|
isPrerelease: Bool = false,
|
5978
|
-
uploadAssets: [String]? = nil) -> [String :
|
6173
|
+
uploadAssets: [String]? = nil) -> [String : Any] {
|
5979
6174
|
let command = RubyCommand(commandID: "", methodName: "set_github_release", className: nil, args: [RubyCommand.Argument(name: "repository_name", value: repositoryName),
|
5980
6175
|
RubyCommand.Argument(name: "server_url", value: serverUrl),
|
5981
6176
|
RubyCommand.Argument(name: "api_token", value: apiToken),
|
@@ -6462,6 +6657,8 @@ func slather(buildDirectory: String? = nil,
|
|
6462
6657
|
- testTargetName: The name of the target you want to test (if you desire to override the Target Application from Xcode)
|
6463
6658
|
- namespaceLogFiles: Separate the log files per device and per language
|
6464
6659
|
- concurrentSimulators: Take snapshots on multiple simulators concurrently. Note: This option is only applicable when running against Xcode 9
|
6660
|
+
- disableSlideToType: Disable the simulator from showing the 'Slide to type' prompt
|
6661
|
+
- clonedSourcePackagesPath: Sets a custom path for Swift Package Manager dependencies
|
6465
6662
|
*/
|
6466
6663
|
func snapshot(workspace: Any? = snapshotfile.workspace,
|
6467
6664
|
project: Any? = snapshotfile.project,
|
@@ -6496,7 +6693,9 @@ func snapshot(workspace: Any? = snapshotfile.workspace,
|
|
6496
6693
|
resultBundle: Bool = snapshotfile.resultBundle,
|
6497
6694
|
testTargetName: Any? = snapshotfile.testTargetName,
|
6498
6695
|
namespaceLogFiles: Any? = snapshotfile.namespaceLogFiles,
|
6499
|
-
concurrentSimulators: Bool = snapshotfile.concurrentSimulators
|
6696
|
+
concurrentSimulators: Bool = snapshotfile.concurrentSimulators,
|
6697
|
+
disableSlideToType: Bool = snapshotfile.disableSlideToType,
|
6698
|
+
clonedSourcePackagesPath: Any? = snapshotfile.clonedSourcePackagesPath) {
|
6500
6699
|
let command = RubyCommand(commandID: "", methodName: "snapshot", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
6501
6700
|
RubyCommand.Argument(name: "project", value: project),
|
6502
6701
|
RubyCommand.Argument(name: "xcargs", value: xcargs),
|
@@ -6530,7 +6729,9 @@ func snapshot(workspace: Any? = snapshotfile.workspace,
|
|
6530
6729
|
RubyCommand.Argument(name: "result_bundle", value: resultBundle),
|
6531
6730
|
RubyCommand.Argument(name: "test_target_name", value: testTargetName),
|
6532
6731
|
RubyCommand.Argument(name: "namespace_log_files", value: namespaceLogFiles),
|
6533
|
-
RubyCommand.Argument(name: "concurrent_simulators", value: concurrentSimulators)
|
6732
|
+
RubyCommand.Argument(name: "concurrent_simulators", value: concurrentSimulators),
|
6733
|
+
RubyCommand.Argument(name: "disable_slide_to_type", value: disableSlideToType),
|
6734
|
+
RubyCommand.Argument(name: "cloned_source_packages_path", value: clonedSourcePackagesPath)])
|
6534
6735
|
_ = runner.executeCommand(command)
|
6535
6736
|
}
|
6536
6737
|
|
@@ -6756,7 +6957,7 @@ func supply(packageName: String,
|
|
6756
6957
|
releaseStatus: String = "completed",
|
6757
6958
|
track: String = "production",
|
6758
6959
|
rollout: String? = nil,
|
6759
|
-
metadataPath: String =
|
6960
|
+
metadataPath: String? = nil,
|
6760
6961
|
key: String? = nil,
|
6761
6962
|
issuer: String? = nil,
|
6762
6963
|
jsonKey: String? = nil,
|
@@ -6869,7 +7070,8 @@ func swiftlint(mode: Any = "lint",
|
|
6869
7070
|
Easily sync your certificates and profiles across your team (via _match_)
|
6870
7071
|
|
6871
7072
|
- parameters:
|
6872
|
-
- type: Define the profile type, can be appstore, adhoc, development, enterprise
|
7073
|
+
- type: Define the profile type, can be appstore, adhoc, development, enterprise, developer_id
|
7074
|
+
- additionalCertTypes: Create additional cert types needed for macOS installers (valid values: mac_installer_distribution, developer_id_installer)
|
6873
7075
|
- readonly: Only fetch existing certificates and profiles, don't generate new ones
|
6874
7076
|
- generateAppleCerts: Create a certificate type for Xcode 11 and later (Apple Development or Apple Distribution)
|
6875
7077
|
- skipProvisioningProfiles: Skip syncing provisioning profiles
|
@@ -6895,7 +7097,7 @@ func swiftlint(mode: Any = "lint",
|
|
6895
7097
|
- forceForNewDevices: Renew the provisioning profiles if the device count on the developer portal has changed. Ignored for profile type 'appstore'
|
6896
7098
|
- skipConfirmation: Disables confirmation prompts during nuke, answering them with yes
|
6897
7099
|
- skipDocs: Skip generation of a README.md for the created git repository
|
6898
|
-
- platform: Set the provisioning profile's platform to work with (i.e. ios, tvos)
|
7100
|
+
- platform: Set the provisioning profile's platform to work with (i.e. ios, tvos, macos)
|
6899
7101
|
- templateName: 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")
|
6900
7102
|
- outputPath: Path in which to export certificates, key and profile
|
6901
7103
|
- verbose: Print out extra information and all commands
|
@@ -6903,6 +7105,7 @@ func swiftlint(mode: Any = "lint",
|
|
6903
7105
|
More information: https://docs.fastlane.tools/actions/match/
|
6904
7106
|
*/
|
6905
7107
|
func syncCodeSigning(type: String = "development",
|
7108
|
+
additionalCertTypes: [String]? = nil,
|
6906
7109
|
readonly: Bool = false,
|
6907
7110
|
generateAppleCerts: Bool = true,
|
6908
7111
|
skipProvisioningProfiles: Bool = false,
|
@@ -6928,11 +7131,12 @@ func syncCodeSigning(type: String = "development",
|
|
6928
7131
|
forceForNewDevices: Bool = false,
|
6929
7132
|
skipConfirmation: Bool = false,
|
6930
7133
|
skipDocs: Bool = false,
|
6931
|
-
platform:
|
7134
|
+
platform: String = "ios",
|
6932
7135
|
templateName: String? = nil,
|
6933
7136
|
outputPath: String? = nil,
|
6934
7137
|
verbose: Bool = false) {
|
6935
7138
|
let command = RubyCommand(commandID: "", methodName: "sync_code_signing", className: nil, args: [RubyCommand.Argument(name: "type", value: type),
|
7139
|
+
RubyCommand.Argument(name: "additional_cert_types", value: additionalCertTypes),
|
6936
7140
|
RubyCommand.Argument(name: "readonly", value: readonly),
|
6937
7141
|
RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
|
6938
7142
|
RubyCommand.Argument(name: "skip_provisioning_profiles", value: skipProvisioningProfiles),
|
@@ -7349,7 +7553,7 @@ func updateKeychainAccessGroups(entitlementsFile: String,
|
|
7349
7553
|
- plistPath: Path to plist file
|
7350
7554
|
- block: A block to process plist with custom logic
|
7351
7555
|
|
7352
|
-
This action allows you to modify any `plist` file.
|
7556
|
+
This action allows you to modify any value inside any `plist` file.
|
7353
7557
|
*/
|
7354
7558
|
func updatePlist(plistPath: String? = nil,
|
7355
7559
|
block: Any) {
|
@@ -7565,8 +7769,8 @@ func uploadSymbolsToSentry(apiHost: String = "https://app.getsentry.com/api/0",
|
|
7565
7769
|
- overwriteScreenshots: Clear all previously uploaded screenshots before uploading the new ones
|
7566
7770
|
- submitForReview: Submit the new version for Review after uploading everything
|
7567
7771
|
- rejectIfPossible: Rejects the previously submitted build if it's in a state where it's possible
|
7568
|
-
- automaticRelease: Should the app be automatically released once it's approved?
|
7569
|
-
- autoReleaseDate: Date in milliseconds for automatically releasing on pending approval
|
7772
|
+
- automaticRelease: Should the app be automatically released once it's approved? (Can not be used together with `auto_release_date`)
|
7773
|
+
- autoReleaseDate: Date in milliseconds for automatically releasing on pending approval (Can not be used together with `automatic_release`)
|
7570
7774
|
- phasedRelease: Enable the phased release feature of iTC
|
7571
7775
|
- resetRatings: Reset the summary rating when you release a new version of the application
|
7572
7776
|
- priceTier: The price tier of this application
|
@@ -7784,7 +7988,7 @@ func uploadToPlayStore(packageName: String,
|
|
7784
7988
|
releaseStatus: String = "completed",
|
7785
7989
|
track: String = "production",
|
7786
7990
|
rollout: String? = nil,
|
7787
|
-
metadataPath: String =
|
7991
|
+
metadataPath: String? = nil,
|
7788
7992
|
key: String? = nil,
|
7789
7993
|
issuer: String? = nil,
|
7790
7994
|
jsonKey: String? = nil,
|
@@ -8283,7 +8487,7 @@ func xcov(workspace: String? = nil,
|
|
8283
8487
|
coverallsServiceJobId: String? = nil,
|
8284
8488
|
coverallsRepoToken: String? = nil,
|
8285
8489
|
xcconfig: String? = nil,
|
8286
|
-
ideFoundationPath: String = "/Applications/Xcode-11.
|
8490
|
+
ideFoundationPath: String = "/Applications/Xcode-11.3.app/Contents/Developer/../Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation",
|
8287
8491
|
legacySupport: Bool = false) {
|
8288
8492
|
let command = RubyCommand(commandID: "", methodName: "xcov", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
8289
8493
|
RubyCommand.Argument(name: "project", value: project),
|
@@ -8428,4 +8632,4 @@ let snapshotfile: Snapshotfile = Snapshotfile()
|
|
8428
8632
|
|
8429
8633
|
// Please don't remove the lines below
|
8430
8634
|
// They are used to detect outdated files
|
8431
|
-
// FastlaneRunnerAPIVersion [0.9.
|
8635
|
+
// FastlaneRunnerAPIVersion [0.9.69]
|