anchor.diff:        },
       );
     }
  +  await _flutterBuild(relativePathToApplication, 'IPA', 'ios',
  +    release: release,
  +    verifyCaching: verifyCaching,
  +    additionalArgs: <String>[...additionalArgs, '--no-codesign'],
  +  );
  +}
  +
  +Future<void> _flutterBuildMacOS(String relativePathToApplication, {
  +  @required bool release,
  +  bool verifyCaching = false,
  +  List<String> additionalArgs = const <String>[],
  +}) async {
  +  assert(Platform.isMacOS);
  +  await runCommand(flutter, <String>['config', '--enable-macos-desktop']);
  +  print('${green}Testing macOS build$reset for $cyan$relativePathToApplication$reset...');
  +  await _flutterBuild(relativePathToApplication, 'macOS', 'macos',
  +    release: release,
  +    verifyCaching: verifyCaching,
  +    additionalArgs: additionalArgs
  +  );
  +}
  +
  +Future<void> _flutterBuild(
  +  String relativePathToApplication,
  +  String platformLabel,
  +  String platformBuildName, {
  +  @required bool release,
  +  bool verifyCaching = false,
  +  List<String> additionalArgs = const <String>[],
  +}) async {
     await runCommand(flutter,
       <String>[
         'build',
  -      'ios',
  +      platformBuildName,
         ...additionalArgs,
  -      '--no-codesign',
         if (release)
           '--release'
         else
  
positive.code:   return '';
  }
  
  /// Checks the given file's contents to determine if they match the allowed
  /// pattern for version strings.
  ///
  
negative.code:     ],
      workingDirectory: path.join(flutterRoot, relativePathToApplication),
    );
  
    if (verifyCaching) {
      print('${green}Testing $platformLabel cache$reset for $cyan$relativePathToApplication$reset...');
      await runCommand(flutter,
        <String>[
          'build',
          platformBuildName,
          '--performance-measurement-file=perf.json',
          ...additionalArgs,
          if (release)
            '--release'
          else
  