Class: Fastlane::Actions::XccleanAction

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



335
336
337
# File 'lib/fastlane/actions/xcodebuild.rb', line 335

def self.author
  "dtrenz"
end

.available_optionsObject



343
344
345
346
347
348
349
350
351
352
# File 'lib/fastlane/actions/xcodebuild.rb', line 343

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



331
332
333
# File 'lib/fastlane/actions/xcodebuild.rb', line 331

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

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


339
340
341
# File 'lib/fastlane/actions/xcodebuild.rb', line 339

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

.run(params) ⇒ Object



325
326
327
328
329
# File 'lib/fastlane/actions/xcodebuild.rb', line 325

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