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

Class Method Details

.authorObject



287
288
289
# File 'lib/fastlane/actions/xcodebuild.rb', line 287

def self.author
  "dtrenz"
end

.available_optionsObject



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

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']
  ]
end

.descriptionObject



283
284
285
# File 'lib/fastlane/actions/xcodebuild.rb', line 283

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

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


291
292
293
# File 'lib/fastlane/actions/xcodebuild.rb', line 291

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

.run(params) ⇒ Object



277
278
279
280
281
# File 'lib/fastlane/actions/xcodebuild.rb', line 277

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