Arguments constructor
Arguments(
- Variables variables, {
- String? buildMode = 'release',
- required String binaryType,
- String? output,
- String? target,
- String? flavor,
- String? dartDefines,
- String? dartDefinesFile,
- List<
String> ? customArgs, - String? buildName,
- String? buildNumber,
- bool pub = true,
- String? exportOptionsPlist,
- String? exportMethod,
Creates a new iOS build arguments instance.
Parameters:
variables- Variable processor for argument substitutionbuildMode- Build mode (debug, profile, release)binaryType- Output type (typically 'ipa' for iOS)output- Output directory path for the built IPAtarget- Entry point file path for the applicationflavor- Build flavor for multi-flavor buildsdartDefines- Compile-time constants for conditional compilationdartDefinesFile- File containing compile-time constantscustomArgs- Additional custom arguments for the build processbuildName- Version name for the build (CFBundleShortVersionString)buildNumber- Version code for the build (CFBundleVersion)pub- Whether to run pub get before buildingexportOptionsPlist- Path to export options plist fileexportMethod- 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);