gym/lib/gym/options.rb in fastlane-2.171.0 vs gym/lib/gym/options.rb in fastlane-2.172.0
- old
+ new
@@ -103,15 +103,15 @@
type: Boolean,
optional: true),
FastlaneCore::ConfigItem.new(key: :export_method,
short_option: "-j",
env_name: "GYM_EXPORT_METHOD",
- description: "Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id",
+ description: "Method used to export the archive. Valid values are: app-store, validation, ad-hoc, package, enterprise, development, developer-id and mac-application",
type: String,
optional: true,
verify_block: proc do |value|
- av = %w(app-store ad-hoc package enterprise development developer-id)
+ av = %w(app-store validation ad-hoc package enterprise development developer-id mac-application)
UI.user_error!("Unsupported export_method '#{value}', must be: #{av}") unless av.include?(value)
end),
FastlaneCore::ConfigItem.new(key: :export_options,
env_name: "GYM_EXPORT_OPTIONS",
description: "Path to an export options plist or a hash with export options. Use 'xcodebuild -help' to print the full set of available options",
@@ -278,9 +278,19 @@
FastlaneCore::ConfigItem.new(key: :cloned_source_packages_path,
env_name: "GYM_CLONED_SOURCE_PACKAGES_PATH",
description: "Sets a custom path for Swift Package Manager dependencies",
type: String,
optional: true),
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
+ env_name: "GYM_SKIP_PACKAGE_DEPENDENCIES_RESOLUTION",
+ description: "Skips resolution of Swift Package Manager dependencies",
+ type: Boolean,
+ default_value: false),
+ FastlaneCore::ConfigItem.new(key: :disable_package_automatic_updates,
+ env_name: "GYM_DISABLE_PACKAGE_AUTOMATIC_UPDATES",
+ description: "Prevents packages from automatically being resolved to versions other than those recorded in the `Package.resolved` file",
+ type: Boolean,
+ default_value: false),
FastlaneCore::ConfigItem.new(key: :use_system_scm,
env_name: "GYM_USE_SYSTEM_SCM",
description: "Lets xcodebuild use system's scm configuration",
optional: true,
type: Boolean,