Arguments constructor

Arguments(
  1. Variables variables, {
  2. required String filePath,
  3. String? username,
  4. String? password,
  5. String? apiKey,
  6. String? apiIssuer,
  7. String? appleId,
  8. String? bundleVersion,
  9. String? bundleShortVersionString,
  10. String? ascPublicId,
  11. String? type,
  12. bool validateApp = false,
  13. String? uploadPackage,
  14. String? bundleId,
  15. String? productId,
  16. String? sku,
  17. String? outputFormat,
})

Creates a new Xcrun publisher arguments instance.

Initializes Xcrun-specific configuration for automated iOS app distribution through App Store Connect. Sets up authentication and validation parameters for Apple's command-line tools.

Required parameters:

  • variables - System and environment variables
  • filePath - Path to the IPA file to upload

Authentication options (choose one):

  • Username/password authentication
  • JWT authentication with API key and issuer

Example:

final args = Arguments(
  variables,
  filePath: '/path/to/MyApp.ipa',
  apiKey: 'ABC123DEF4',
  apiIssuer: '12345678-1234-1234-1234-123456789012',
  bundleId: 'com.example.myapp',
  validateApp: true,
);

Implementation

Arguments(
  Variables variables, {
  required super.filePath,
  this.username,
  this.password,
  this.apiKey,
  this.apiIssuer,
  this.appleId,
  this.bundleVersion,
  this.bundleShortVersionString,
  this.ascPublicId,
  this.type,
  this.validateApp = false,
  this.uploadPackage,
  this.bundleId,
  this.productId,
  this.sku,
  this.outputFormat,
}) : super("xcrun", variables, binaryType: "ipa");