defaultConfigs static method

Arguments defaultConfigs(
  1. ArgResults? globalResults
)

Returns the default iOS build configuration.

  • globalResults - Global command-line arguments for variable processing

Creates a default iOS build configuration suitable for most release builds:

  • Binary type: 'ipa'
  • Build mode: 'release'
  • Output: iOS distribution directory
  • Pub: enabled (runs pub get before building)
  • No specific export method or options plist

This configuration can be used as a starting point and customized as needed.

Implementation

static Arguments defaultConfigs(ArgResults? globalResults) => Arguments(
  Variables.fromSystem(globalResults),
  binaryType: 'ipa',
  buildMode: 'release',
  target: null,
  flavor: null,
  dartDefines: null,
  dartDefinesFile: null,
  buildName: null,
  buildNumber: null,
  pub: true,
  exportOptionsPlist: null,
  exportMethod: null,
  output: Files.iosDistributionOutputDir.path,
  customArgs: [],
);