Arguments constructor

Arguments(
  1. Variables variables, {
  2. String? buildMode = 'release',
  3. required String binaryType,
  4. String? output,
  5. String? target,
  6. String? flavor,
  7. String? dartDefines,
  8. String? dartDefinesFile,
  9. List<String>? customArgs,
  10. String? buildName,
  11. String? buildNumber,
  12. bool pub = true,
  13. String? exportOptionsPlist,
  14. String? exportMethod,
})

Creates a new iOS build arguments instance.

Parameters:

  • variables - Variable processor for argument substitution
  • buildMode - Build mode (debug, profile, release)
  • binaryType - Output type (typically 'ipa' for iOS)
  • output - Output directory path for the built IPA
  • target - Entry point file path for the application
  • flavor - Build flavor for multi-flavor builds
  • dartDefines - Compile-time constants for conditional compilation
  • dartDefinesFile - File containing compile-time constants
  • customArgs - Additional custom arguments for the build process
  • buildName - Version name for the build (CFBundleShortVersionString)
  • buildNumber - Version code for the build (CFBundleVersion)
  • pub - Whether to run pub get before building
  • exportOptionsPlist - Path to export options plist file
  • exportMethod - Distribution method (app-store, ad-hoc, enterprise, development)

Sets the build source directory to the iOS IPA output location automatically.

Implementation

Arguments(
  super.variables, {
  super.buildMode,
  required super.binaryType,
  super.output,
  super.target,
  super.flavor,
  super.dartDefines,
  super.dartDefinesFile,
  super.customArgs,
  super.buildName,
  super.buildNumber,
  super.pub,
  this.exportOptionsPlist,
  this.exportMethod,
}) : super(buildSourceDir: Files.iosOutputIPA.path);