class Fastlane::Actions::SplunkmintAction
def self.dsym_path(params)
def self.dsym_path(params) file_path = params[:dsym] file_path ||= Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH] || ENV[SharedValues::DSYM_OUTPUT_PATH.to_s] file_path ||= Actions.lane_context[SharedValues::DSYM_ZIP_PATH] || ENV[SharedValues::DSYM_ZIP_PATH.to_s] if file_path expanded_file_path = File.expand_path(file_path) raise "Couldn't find file at path '#{expanded_file_path}'".red unless File.exist?(expanded_file_path) return expanded_file_path else raise "Couldn't find any dSYM file".red end end