addOptionExportMethod method

void addOptionExportMethod()

Adds an export method option for IPA distribution.

Specify how the IPA will be distributed.

Allowed values:

  • ad-hoc
  • app-store
  • development
  • enterprise

Example:

argParser.addOptionExportMethod();

Implementation

void addOptionExportMethod() {
  addOption(
    'export-method',
    help: 'Specify how the IPA will be distributed.',
    allowed: ['ad-hoc', 'app-store', 'development', 'enterprise'],
  );
}