b0VIM 8.1}^1joshJoshs-Mac-mini.local~josh/Projects/fastlane/fastlane/scan/lib/scan/options.rbutf-8 3210#"! Utp>6?9u52 78L:ad->`TD:21 x ? y 6 w t I  h  Ps@^TO-, description: "Array of devices to run the tests on (e.g. ['iPhone 6', 'iPad Air'])", type: Array, env_name: "SCAN_DEVICES", is_string: false, optional: true, FastlaneCore::ConfigItem.new(key: :devices, end), UI.user_error!("You can't use 'device' and 'devices' options in one run") conflict_block: proc do |value| conflicting_options: [:devices], description: "The name of the simulator type you want to run tests on (e.g. 'iPhone 6')", env_name: "SCAN_DEVICE", is_string: true, optional: true, short_option: "-a", FastlaneCore::ConfigItem.new(key: :device, # device (simulator) to use for testing description: "The project's scheme. Make sure it's marked as `Shared`"), env_name: "SCAN_SCHEME", optional: true, short_option: "-s", FastlaneCore::ConfigItem.new(key: :scheme, end), UI.user_error!("Project file is not a project file, must end with .xcodeproj") unless v.include?(".xcodeproj") UI.user_error!("Project file invalid") unless File.directory?(v) UI.user_error!("Project file not found at path '#{v}'") unless File.exist?(v) v = File.expand_path(value.to_s) verify_block: proc do |value| description: "Path to the project file", env_name: "SCAN_PROJECT", optional: true, short_option: "-p", FastlaneCore::ConfigItem.new(key: :project, end), UI.user_error!("Workspace file is not a workspace, must end with .xcworkspace") unless v.include?(".xcworkspace") UI.user_error!("Workspace file invalid") unless File.directory?(v) UI.user_error!("Workspace file not found at path '#{v}'") unless File.exist?(v) v = File.expand_path(value.to_s) verify_block: proc do |value| description: "Path to the workspace file", optional: true, env_name: "SCAN_WORKSPACE", short_option: "-w", FastlaneCore::ConfigItem.new(key: :workspace, # app to test [ containing = FastlaneCore::Helper.fastlane_enabled_folder_path def self.available_options end UI.user_error!("'#{item_name}' should be of type #{acceptable_types.join(' or ')} but found: #{value.class.name}") unless type_ok type_ok = [Array, String].any? { |type| value.kind_of?(type) } def self.verify_type(item_name, acceptable_types, value) class Optionsmodule Scan# rubocop:disable Metrics/ClassLengthrequire_relative 'module'require 'credentials_manager/appfile_config'require 'fastlane_core/configuration/config_item'adko:Qf V  g 1 Q  O r:QQ> Jxsoceeeeeeeeeeeend # rubocop:enable Metrics/ClassLength end end ] optional: true) type: String, description: "Sets a custom path for Swift Package Manager dependencies", env_name: "SCAN_CLONED_SOURCE_PACKAGES_PATH", FastlaneCore::ConfigItem.new(key: :cloned_source_packages_path, default_value: "env NSUnbufferedIO=YES xcodebuild"), optional: true, type: String, description: "Allows for override of the default `xcodebuild` command", env_name: "GYM_XCODE_BUILD_COMMAND", FastlaneCore::ConfigItem.new(key: :xcodebuild_command, is_string: true), optional: true, conflicting_options: [:output_files], deprecated: "Use `--output_files` instead", description: "Sets custom full report file name when generating a single report", env_name: "SCAN_CUSTOM_REPORT_FILE_NAME", FastlaneCore::ConfigItem.new(key: :custom_report_file_name, optional: true), is_string: false, description: "Use only if you're a pro, use the other options instead", env_name: "SCAN_DESTINATION", short_option: "-d", FastlaneCore::ConfigItem.new(key: :destination, # misc default_value: false), is_string: false, description: "Only post on Slack if the tests fail", env_name: "SCAN_SLACK_ONLY_ON_FAILURE", FastlaneCore::ConfigItem.new(key: :slack_only_on_failure, default_value: false), is_string: false, description: "Don't publish to slack, even when an URL is given", env_name: "SCAN_SKIP_SLACK", FastlaneCore::ConfigItem.new(key: :skip_slack, optional: true), is_string: true, default_value: "https://fastlane.tools/assets/img/fastlane_icon.png", description: "Overrides the webhook's image property if slack_use_webhook_configured_username_and_icon is false", env_name: "SCAN_SLACK_ICON_URL", FastlaneCore::ConfigItem.new(key: :slack_icon_url, optional: true), is_string: true, default_value: "fastlane", description: "Overrides the webhook's username property if slack_use_webhook_configured_username_and_icon is false", env_name: "SCAN_SLACK_USERNAME", FastlaneCore::ConfigItem.new(key: :slack_username, optional: true), type: Boolean, default_value: false, description: "Use webhook's default username and icon settings? (true/false)",ad6v( c " N  [ [  ?  EV!mt91z76*{  end), verify_type('only_testing', [Array, String], value) verify_block: proc do |value| is_string: false, optional: true, description: "Array of strings matching Test Bundle/Test Suite/Test Cases to run", env_name: "SCAN_ONLY_TESTING", FastlaneCore::ConfigItem.new(key: :only_testing, # tests to run default_value_dynamic: true), default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier), code_gen_sensitive: true, description: "The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)", optional: true, env_name: 'SCAN_APP_IDENTIFIER', FastlaneCore::ConfigItem.new(key: :app_identifier, type: Boolean), default_value: false, description: "Enabling this option will automatically uninstall the application before running it", env_name: 'SCAN_REINSTALL_APP', FastlaneCore::ConfigItem.new(key: :reinstall_app, type: Boolean), optional: true, default_value: ENV['FASTLANE_EXPLICIT_OPEN_SIMULATOR'], description: "Enabling this option will launch the first simulator prior to calling any xcodebuild command", env_name: 'SCAN_PRELAUNCH_SIMULATOR', FastlaneCore::ConfigItem.new(key: :prelaunch_simulator, type: Boolean), default_value: true, description: "Enabling this option will disable the simulator from showing the 'Slide to type' prompt", env_name: 'SCAN_DISABLE_SLIDE_TO_TYPE', FastlaneCore::ConfigItem.new(key: :disable_slide_to_type, type: Boolean), default_value: false, description: "Enabling this option will automatically erase the simulator before running the application", env_name: 'SCAN_RESET_SIMULATOR', FastlaneCore::ConfigItem.new(key: :reset_simulator, type: Boolean), default_value: false, description: "Enabling this option will automatically killall Simulator processes before the run", env_name: 'SCAN_FORCE_QUIT_SIMULATOR', FastlaneCore::ConfigItem.new(key: :force_quit_simulator, # simulator management optional: true), type: Boolean, default_value: false, description: "Should skip auto detecting of devices if none were specified", FastlaneCore::ConfigItem.new(key: :skip_detect_devices, end), UI.user_error!("You can't use 'device' and 'devices' options in one run") conflict_block: proc do |value| conflicting_options: [:device],ad))9 [ C Z  V ! @   a{BMj"k6V|B])( type: Boolean, is_string: false, description: "Should code coverage be generated? (Xcode 7 and up)", env_name: "SCAN_CODE_COVERAGE", FastlaneCore::ConfigItem.new(key: :code_coverage, default_value: false), is_string: false, description: "Should the project be cleaned before building it?", env_name: "SCAN_CLEAN", short_option: "-c", FastlaneCore::ConfigItem.new(key: :clean, is_string: false), optional: true, description: "The toolchain that should be used for building the application (e.g. `com.apple.dt.toolchain.Swift_2_3, org.swift.30p620160816a`)", conflicting_options: [:xctestrun], env_name: "SCAN_TOOLCHAIN", FastlaneCore::ConfigItem.new(key: :toolchain, optional: true), is_string: true, conflicting_options: [:build_for_testing], description: "Run tests using the provided `.xctestrun` file", env_name: "SCAN_XCTESTRUN", short_option: "-X", FastlaneCore::ConfigItem.new(key: :xctestrun, # other test options end), verify_type('skip_test_configurations', [Array, String], value) verify_block: proc do |value| is_string: false, optional: true, description: "Array of strings matching test plan configurations to skip", env_name: "SCAN_SKIP_TEST_CONFIGURATIONS", FastlaneCore::ConfigItem.new(key: :skip_test_configurations, end), verify_type('only_test_configurations', [Array, String], value) verify_block: proc do |value| is_string: false, optional: true, description: "Array of strings matching test plan configurations to run", env_name: "SCAN_ONLY_TEST_CONFIGURATIONS", FastlaneCore::ConfigItem.new(key: :only_test_configurations, optional: true), is_string: true, description: "The testplan associated with the scheme that should be used for testing", env_name: "SCAN_TESTPLAN", FastlaneCore::ConfigItem.new(key: :testplan, # test plans to run end), verify_type('skip_testing', [Array, String], value) verify_block: proc do |value| is_string: false, optional: true, description: "Array of strings matching Test Bundle/Test Suite/Test Cases to skip", env_name: "SCAN_SKIP_TESTING", FastlaneCore::ConfigItem.new(key: :skip_testing,ad 5,= s H u A w } D  Z  H`!y6T\#S default_value: "html,junit"), description: "Comma separated list of the output types (e.g. html, junit, json-compilation-database)", env_name: "SCAN_OUTPUT_TYPES", short_option: "-f", FastlaneCore::ConfigItem.new(key: :output_types, end), UI.user_error!("Invalid output_style #{value}") unless ['standard', 'basic', 'rspec', 'raw'].include?(value) verify_block: proc do |value| optional: true, description: "Define how the output should look like. Valid values are: standard, basic, rspec, or raw (disables xcpretty during xcodebuild)", env_name: "SCAN_OUTPUT_STYLE", short_option: "-b", FastlaneCore::ConfigItem.new(key: :output_style, default_value_dynamic: true), default_value: File.join(containing, "test_output"), code_gen_default_value: "./test_output", code_gen_sensitive: true, description: "The directory in which all reports will be stored", env_name: "SCAN_OUTPUT_DIRECTORY", short_option: "-o", FastlaneCore::ConfigItem.new(key: :output_directory, optional: true), type: Boolean, description: "Disable xcpretty formatting of build, similar to `output_style='raw'` but this will also skip the test results table", env_name: "SCAN_DISABLE_XCPRETTY", FastlaneCore::ConfigItem.new(key: :disable_xcpretty, default_value: false), is_string: false, description: "Should the HTML report be opened when tests are completed?", env_name: "SCAN_OPEN_REPORT", short_option: "-g", FastlaneCore::ConfigItem.new(key: :open_report, # output end), UI.user_error!("You can't use 'thread_sanitizer' and 'address_sanitizer' options in one run") conflict_block: proc do |value| conflicting_options: [:address_sanitizer], optional: true, type: Boolean, is_string: false, description: "Should the thread sanitizer be turned on?", FastlaneCore::ConfigItem.new(key: :thread_sanitizer, end), UI.user_error!("You can't use 'address_sanitizer' and 'thread_sanitizer' options in one run") conflict_block: proc do |value| conflicting_options: [:thread_sanitizer], optional: true, type: Boolean, is_string: false, description: "Should the address sanitizer be turned on?", FastlaneCore::ConfigItem.new(key: :address_sanitizer, optional: true),ad2Y Z ! ~  H b ' b o9g1t;{EuSd description: "Should an Xcode result bundle be generated in the output directory", is_string: false, env_name: "SCAN_RESULT_BUNDLE", short_option: "-z", FastlaneCore::ConfigItem.new(key: :result_bundle, default_value: false), is_string: false, optional: true, description: "Should zip the derived data build products and place in output path?", env_name: "SCAN_SHOULD_ZIP_BUILD_PRODUCTS", short_option: "-Z", FastlaneCore::ConfigItem.new(key: :should_zip_build_products, optional: true), description: "The directory where build products and other derived data will go", env_name: "SCAN_DERIVED_DATA_PATH", short_option: "-j", FastlaneCore::ConfigItem.new(key: :derived_data_path, optional: true), type: String, description: "Pass in xcpretty additional command line arguments (e.g. '--test --no-color' or '--tap --no-utf')", env_name: "SCAN_XCPRETTY_ARGS", FastlaneCore::ConfigItem.new(key: :xcpretty_args, optional: true), description: "A custom xcpretty formatter to use", env_name: "SCAN_FORMATTER", short_option: "-n", FastlaneCore::ConfigItem.new(key: :formatter, type: Boolean), optional: true, description: "Suppress the output of xcodebuild to stdout. Output is still saved in buildlog_path", env_name: "SCAN_SUPPRESS_XCODE_OUTPUT", FastlaneCore::ConfigItem.new(key: :suppress_xcode_output, optional: true), default_value: false, type: Boolean, description: "If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory", env_name: "SCAN_INCLUDE_SIMULATOR_LOGS", FastlaneCore::ConfigItem.new(key: :include_simulator_logs, default_value_dynamic: true), default_value: "#{FastlaneCore::Helper.buildlog_path}/scan", description: "The directory where to store the raw log", env_name: "SCAN_BUILDLOG_PATH", short_option: "-l", FastlaneCore::ConfigItem.new(key: :buildlog_path, default_value: nil), optional: true, conflicting_options: [:custom_report_file_name], description: "Comma separated list of the output files, corresponding to the types provided by :output_types (order should match). If specifying an output type of json-compilation-database with :use_clang_report_name enabled, that option will take precedence", env_name: "SCAN_OUTPUT_FILES", FastlaneCore::ConfigItem.new(key: :output_files,adVR8\# 3 U  ~ ; o : a + aZ!4]l3m3IRQ env_name: "SCAN_SLACK_USE_WEBHOOK_CONFIGURED_USERNAME_AND_ICON", FastlaneCore::ConfigItem.new(key: :slack_use_webhook_configured_username_and_icon, optional: true), description: "The message included with each message posted to slack", env_name: "SCAN_SLACK_MESSAGE", short_option: "-m", FastlaneCore::ConfigItem.new(key: :slack_message, optional: true), description: "#channel or @username", env_name: "SCAN_SLACK_CHANNEL", short_option: "-e", FastlaneCore::ConfigItem.new(key: :slack_channel, end), end UI.user_error!("Invalid URL, must start with https://") if !value.to_s.empty? && !value.start_with?("https://") verify_block: proc do |value| optional: true, description: "Create an Incoming WebHook for your Slack group to post results there", sensitive: true, env_name: "SLACK_URL", short_option: "-i", FastlaneCore::ConfigItem.new(key: :slack_url, # slack is_string: true), description: "Target version of the app being build or tested. Used to filter out simulator version", optional: true, env_name: "SCAN_DEPLOYMENT_TARGET_VERSION", FastlaneCore::ConfigItem.new(key: :deployment_target_version, is_string: true), description: "App name to use in slack message and logfile name", optional: true, env_name: "SCAN_APP_NAME", FastlaneCore::ConfigItem.new(key: :app_name, # build settings end), UI.user_error!("File not found at path '#{File.expand_path(value)}'") unless File.exist?(value) verify_block: proc do |value| optional: true, description: "Use an extra XCCONFIG file to build your app", env_name: "SCAN_XCCONFIG", short_option: "-y", FastlaneCore::ConfigItem.new(key: :xcconfig, type: :shell_string), optional: true, description: "Pass additional arguments to xcodebuild. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS=\"-ObjC -lstdc++\"", env_name: "SCAN_XCARGS", short_option: "-x", FastlaneCore::ConfigItem.new(key: :xcargs, optional: true), default_value_dynamic: true, description: "The configuration to use when building the app. Defaults to 'Release'", env_name: "SCAN_CONFIGURATION", short_option: "-q",ad7/7MIH2 u @ N  p X$m LORH i/. FastlaneCore::ConfigItem.new(key: :configuration, optional: true), description: "The SDK that should be used for building the application", env_name: "SCAN_SDK", short_option: "-k", FastlaneCore::ConfigItem.new(key: :sdk, optional: true), type: Boolean, is_string: false, conflicting_options: [:test_without_building], description: "Build for testing only, does not run tests", env_name: "SCAN_BUILD_FOR_TESTING", short_option: "-B", FastlaneCore::ConfigItem.new(key: :build_for_testing, optional: true), conflicting_options: [:build_for_testing], type: Boolean, is_string: false, description: "Test without building, requires a derived data path", env_name: "SCAN_TEST_WITHOUT_BUILDING", short_option: "-T", FastlaneCore::ConfigItem.new(key: :test_without_building, default_value: false), type: Boolean, is_string: false, env_name: "SCAN_SKIP_BUILD", short_option: "-r", description: "Should debug build be skipped before test build?", FastlaneCore::ConfigItem.new(key: :skip_build, # build optional: true), description: "Do not run test bundles in parallel on the specified destinations. Testing will occur on each destination serially. Equivalent to -disable-concurrent-testing", env_name: "SCAN_DISABLE_CONCURRENT_TESTING", default_value: false, type: Boolean, FastlaneCore::ConfigItem.new(key: :disable_concurrent_testing, optional: true), description: "Constrain the number of simulator devices on which to test concurrently. Equivalent to -maximum-concurrent-test-simulator-destinations", env_name: "SCAN_MAX_CONCURRENT_SIMULATORS", type: Integer, FastlaneCore::ConfigItem.new(key: :max_concurrent_simulators, optional: true), description: "Specify the exact number of test runners that will be spawned during parallel testing. Equivalent to -parallel-testing-worker-count", env_name: "SCAN_CONCURRENT_WORKERS", type: Integer, FastlaneCore::ConfigItem.new(key: :concurrent_workers, # concurrency default_value: false), is_string: false, description: "Generate the json compilation database with clang naming convention (compile_commands.json)", FastlaneCore::ConfigItem.new(key: :use_clang_report_name, optional: true), default_value: false,