Arguments constructor
Arguments(
- Variables variables, {
- required String filePath,
- String? username,
- String? password,
- String? apiKey,
- String? apiIssuer,
- String? appleId,
- String? bundleVersion,
- String? bundleShortVersionString,
- String? ascPublicId,
- String? type,
- bool validateApp = false,
- String? uploadPackage,
- String? bundleId,
- String? productId,
- String? sku,
- 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 variablesfilePath- 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");