anchor.diff:              '--org',
               'io.flutter.devicelab',
               '--template=plugin',
  -            '--platforms=ios,android',
  +            '--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';
  
positive.code:       section('Build Objective-C application with Swift and Objective-C plugins as libraries');
  
        final String objcAppPath = path.join(tempDir.path, objcAppName);
  
        final String swiftPluginPath = path.join(tempDir.path, swiftPluginName);
        final File objcPubspec = File(path.join(objcAppPath, 'pubspec.yaml'));
        String pubspecContent = objcPubspec.readAsStringSync();
        pubspecContent = pubspecContent.replaceFirst(
          '\ndependencies:\n',
          '\ndependencies:\n  $objcPluginName:\n    path: $objcPluginPath\n  $swiftPluginName:\n    path: $swiftPluginPath\n  device_info:\n',
        );
        objcPubspec.writeAsStringSync(pubspecContent, flush: true);
  
  
negative.code:       if (objcPodfileContent.contains('use_frameworks!')) {
          return TaskResult.failure('Expected default Objective-C Podfile to not contain use_frameworks');
        }
        _validateIosPodfile(objcAppPath);
  
        section('Build Objective-C application with Swift and Objective-C plugins as frameworks');
  
  