Skip to content

Add documentation for --iso <version> patrol_cli #2762

@Ortes

Description

@Ortes

Use case

I was stuck on an iOS version error:

	xcodebuild: error: Unable to find a device matching the provided destination specifier:
			{ platform:iOS Simulator, OS:latest, name:iPhone 16 }
	
		The requested device could not be found because no available devices matched the request.

I found that if no --ios version defaults to latest that was failing. I had to clone the git and search in the code how to change this.

Proposal

Add documentation for the --ios

And maybe more generally make sure all cli options are documented.

    final iosOpts = IOSAppOptions(
      flutter: flutterOpts,
      scheme: flutterOpts.buildMode.createScheme(flavor),
      configuration: flutterOpts.buildMode.createConfiguration(flavor),
      simulator: boolArg('simulator'),
      osVersion: stringArg('ios') ?? 'latest',
      appServerPort: super.appServerPort,
      testServerPort: super.testServerPort,
      clearPermissions: boolArg('clear-permissions'),
    );

If it actually is I am very sorry about that, I didn't find it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions