class Fastlane::Actions::XcarchiveAction

Public Class Methods

author() click to toggle source
# File fastlane/lib/fastlane/actions/xcodebuild.rb, line 424
def self.author
  "dtrenz"
end
available_options() click to toggle source
# File fastlane/lib/fastlane/actions/xcodebuild.rb, line 432
def self.available_options
  [
    ['archive_path', 'The path to archive the to. Must contain `.xcarchive`'],
    ['workspace', 'The workspace to use'],
    ['scheme', 'The scheme to build'],
    ['build_settings', 'Hash of additional build information'],
    ['xcargs', 'Pass additional xcodebuild options'],
    ['output_style', 'Set the output format to one of: :standard (Colored UTF8 output, default), :basic (black & white ASCII output)'],
    ['buildlog_path', 'The path where the xcodebuild.log will be created, by default it is created in ~/Library/Logs/fastlane/xcbuild'],
    ['raw_buildlog', 'Set to true to see xcodebuild raw output. Default value is false'],
    ['xcpretty_output', 'specifies the output type for xcpretty. eg. \'test\', or \'simple\''],
    ['xcpretty_utf', 'Specifies xcpretty should use utf8 when reporting builds. This has no effect when raw_buildlog is specified.']
  ]
end
category() click to toggle source
# File fastlane/lib/fastlane/actions/xcodebuild.rb, line 420
def self.category
  :building
end
description() click to toggle source
# File fastlane/lib/fastlane/actions/xcodebuild.rb, line 410
def self.description
  "Archives the project using `xcodebuild`"
end
example_code() click to toggle source
# File fastlane/lib/fastlane/actions/xcodebuild.rb, line 414
def self.example_code
  [
    'xcarchive'
  ]
end
is_supported?(platform) click to toggle source
# File fastlane/lib/fastlane/actions/xcodebuild.rb, line 428
def self.is_supported?(platform)
  [:ios, :mac].include? platform
end
run(params) click to toggle source
# File fastlane/lib/fastlane/actions/xcodebuild.rb, line 404
def self.run(params)
  params_hash = params || {}
  params_hash[:archive] = true
  XcodebuildAction.run(params_hash)
end