Class: Fastlane::Actions::XcexportAction

Inherits:
Fastlane::Action show all
Defined in:
lib/fastlane/actions/xcodebuild.rb

Class Method Summary collapse

Methods inherited from Fastlane::Action

action_name, authors, details, output, sh, step_text

Class Method Details

.authorObject



368
369
370
# File 'lib/fastlane/actions/xcodebuild.rb', line 368

def self.author
  "dtrenz"
end

.available_optionsObject



372
373
374
375
376
377
378
379
380
381
# File 'lib/fastlane/actions/xcodebuild.rb', line 372

def self.available_options
  [
    ['archive', 'Set to true to build archive'],
    ['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'],
    ['output_style', 'Set the output format to one of: :standard (Colored UTF8 output, default), :basic (black & white ASCII outout)']
  ]
end

.descriptionObject



364
365
366
# File 'lib/fastlane/actions/xcodebuild.rb', line 364

def self.description
  "Builds the project using `xcodebuild`"
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


383
384
385
# File 'lib/fastlane/actions/xcodebuild.rb', line 383

def self.is_supported?(platform)
  [:ios, :mac].include?platform
end

.run(params) ⇒ Object



358
359
360
361
362
# File 'lib/fastlane/actions/xcodebuild.rb', line 358

def self.run(params)
  params_hash = params || {}
  params_hash[:export_archive] = true
  XcodebuildAction.run(params_hash)
end