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, details, output, sh

Class Method Details

.authorObject



366
367
368
# File 'lib/fastlane/actions/xcodebuild.rb', line 366

def self.author
  "dtrenz"
end

.available_optionsObject



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

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



362
363
364
# File 'lib/fastlane/actions/xcodebuild.rb', line 362

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

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


381
382
383
# File 'lib/fastlane/actions/xcodebuild.rb', line 381

def self.is_supported?(platform)
  platform == :ios
end

.run(params) ⇒ Object



356
357
358
359
360
# File 'lib/fastlane/actions/xcodebuild.rb', line 356

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