anchor.diff:      'ios',
     ));
   }
  +
  +void _validateMacOSPodfile(String appPath) {
  +  section('Validate macOS Podfile');
  +
  +  final File podfileLockFile = File(path.join(appPath, 'macos', 'Podfile.lock'));
  +  final String podfileLockOutput = podfileLockFile.readAsStringSync();
  +  if (!podfileLockOutput.contains(':path: Flutter/ephemeral/.symlinks/flutter/darwin-x64-release')
  +      || !podfileLockOutput.contains(':path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos')
  +      || !podfileLockOutput.contains(':path: Flutter/ephemeral/.symlinks/plugins/test_plugin_swift/macos')) {
  +    throw TaskResult.failure('Podfile.lock does not contain expected pods');
  +  }
  +
  +  final String pluginSymlinks = path.join(
  +    appPath,
  +    'macos',
  +    'Flutter',
  +    'ephemeral',
  +    '.symlinks',
  +    'plugins',
  +  );
  +
  +  checkDirectoryExists(path.join(
  +    pluginSymlinks,
  +    'url_launcher_macos',
  +    'macos',
  +  ));
  +
  +  checkDirectoryExists(path.join(
  +    pluginSymlinks,
  +    'test_plugin_swift',
  +    'macos',
  +  ));
  +}
  
positive.code:   });
  }
  
  void _validatePodfile(String appPath) {
    section('Validate Podfile');
  
    final File podfileLockFile = File(path.join(appPath, 'ios', 'Podfile.lock'));
    final String podfileLockOutput = podfileLockFile.readAsStringSync();
    if (!podfileLockOutput.contains(':path: ".symlinks/plugins/device_info/ios"')
      || !podfileLockOutput.contains(':path: Flutter')
      || !podfileLockOutput.contains(':path: ".symlinks/plugins/test_plugin_objc/ios"')
      || !podfileLockOutput.contains(':path: ".symlinks/plugins/test_plugin_swift/ios"')) {
      throw TaskResult.failure('Podfile.lock does not contain expected pods');
    }
  
  
negative.code:           options: <String>[
              '--org',
              'io.flutter.devicelab',
              '--platforms=ios,macos',
              '--ios-language=swift',
              swiftAppName,
            ],
          );
        });
  
        section('Build Swift iOS application with Swift and Objective-C plugins as frameworks');
  
        final String swiftAppPath = path.join(tempDir.path, swiftAppName);
  
  