argumentBuilder property

  1. @override
List<String> get argumentBuilder
override

Builds the command-line arguments list for the iOS build process.

Returns a list of command-line arguments to be passed to the Flutter build command. Combines base build arguments with iOS-specific options.

iOS-specific arguments added:

  • --export-options-plist - Path to export options plist file
  • --export-method - Distribution method (app-store, ad-hoc, etc.)

These arguments control iOS-specific build behavior including code signing, provisioning profiles, and distribution method configuration.

Implementation

@override
List<String> get argumentBuilder => super.argumentBuilder
  ..addAll([
    // Export options plist for code signing configuration
    if (exportOptionsPlist != null)
      '--export-options-plist=$exportOptionsPlist',

    // Export method for distribution type
    if (exportMethod != null) '--export-method=$exportMethod',
  ]);
set argumentBuilder (List<String> value)
inherited

Raw list of command-line arguments before variable processing.

Subclasses should populate this list with the appropriate arguments for their specific job type.

Implementation

List<String> argumentBuilder = [];