patrol
patrol copied to clipboard
Add documentation for --iso <version> patrol_cli
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
I have found the ios flag in the --help of the cli but I don't think it is present in the documentation and thus not indexed