anchor.diff:            options: <String>[
               '--org',
               'io.flutter.devicelab',
  +            '--platforms=ios',
               '--ios-language=objc',
               objcAppName,
             ],
  
positive.code:         );
        });
  
        _validatePodfile(swiftAppPath);
  
        section('Remove iOS support from plugin');
  
  
negative.code:             '--org',
              'io.flutter.devicelab',
              '--template=plugin',
              '--platforms=ios,macos',
              '--ios-language=swift',
              swiftPluginName,
            ],
          );
        });
  
        section('Lint Swift iOS podspec plugin as framework');
  
        final String swiftPluginPath = path.join(tempDir.path, swiftPluginName);
        final String swiftPodspecPath = path.join(swiftPluginPath, 'ios', '$swiftPluginName.podspec');
        await inDirectory(tempDir, () async {
          await exec(
            'pod',
            <String>[
              'lib',
              'lint',
              swiftPodspecPath,
              '--allow-warnings',
              '--verbose',
            ],
            environment: <String, String>{
              'LANG': 'en_US.UTF-8',
            },
            // TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502
            canFail: true,
          );
        });
  
        section('Lint Swift iOS podspec plugin as library');
  
        await inDirectory(tempDir, () async {
          await exec(
            'pod',
            <String>[
              'lib',
              'lint',
              swiftPodspecPath,
              '--allow-warnings',
              '--use-libraries',
              '--verbose',
            ],
            environment: <String, String>{
              'LANG': 'en_US.UTF-8',
            },
            // TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502
            canFail: true,
          );
        });
  
        section('Lint Swift macOS podspec plugin as framework');
  
        final String macOSPodspecPath = path.join(swiftPluginPath, 'macos', '$swiftPluginName.podspec');
        await inDirectory(tempDir, () async {
          await exec(
            'pod',
            <String>[
              'lib',
              'lint',
              macOSPodspecPath,
              '--allow-warnings',
              '--verbose',
            ],
            environment: <String, String>{
              'LANG': 'en_US.UTF-8',
            },
            // TODO(jmagman): Flutter cannot build against ARM https://github.com/flutter/flutter/issues/69221
            canFail: true,
          );
        });
  
        section('Lint Swift macOS podspec plugin as library');
  
        await inDirectory(tempDir, () async {
          await exec(
            'pod',
            <String>[
              'lib',
              'lint',
              macOSPodspecPath,
              '--allow-warnings',
              '--use-libraries',
              '--verbose',
            ],
            environment: <String, String>{
              'LANG': 'en_US.UTF-8',
            },
            // TODO(jmagman): Flutter cannot build against ARM https://github.com/flutter/flutter/issues/69221
            canFail: true,
          );
        });
  
        section('Create Objective-C application');
  
        const String objcAppName = 'test_app_objc';
  