Class: Fastlane::Actions::XcbuildAction

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



306
307
308
# File 'lib/fastlane/actions/xcodebuild.rb', line 306

def self.author
  "dtrenz"
end

.available_optionsObject



314
315
316
317
318
319
320
321
322
323
# File 'lib/fastlane/actions/xcodebuild.rb', line 314

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



302
303
304
# File 'lib/fastlane/actions/xcodebuild.rb', line 302

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

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


310
311
312
# File 'lib/fastlane/actions/xcodebuild.rb', line 310

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

.run(params) ⇒ Object



296
297
298
299
300
# File 'lib/fastlane/actions/xcodebuild.rb', line 296

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