iosSignParser function
ArgParser
iosSignParser()
Implementation
ArgParser iosSignParser() {
return ArgParser()
..addOption(
'bundle-id',
help: 'iOS Bundle Identifier (e.g. com.example.app)',
mandatory: true,
)
..addOption(
'apple-team-id',
help: 'Apple Developer Team ID',
mandatory: true,
)
..addOption('scheme', help: 'Xcode scheme name', mandatory: true)
..addOption(
'workspace',
help: 'Path to .xcworkspace (relative to working directory)',
mandatory: true,
)
..addOption(
'xcodeproj',
help: 'Path to .xcodeproj (relative to working directory)',
mandatory: true,
)
..addOption(
'working-directory',
help: 'Working directory for the build',
defaultsTo: '.',
)
..addFlag(
'upload-to-testflight',
help: 'Upload the IPA to TestFlight after export',
defaultsTo: false,
negatable: false,
)
..addFlag('help', abbr: 'h', negatable: false, help: 'Show help');
}