anchor.diff:        'FlutterPluginRegistrant'
       );
   
  -    await _checkFrameworkArchs(registrantFrameworkPath, mode);
  +    await _checkFrameworkArchs(registrantFrameworkPath, mode == 'Debug');
       await _checkBitcode(registrantFrameworkPath, mode);
   
       checkFileExists(path.join(
  
positive.code:   }
  }
  
  Future<void> _checkFrameworkArchs(String frameworkPath, String mode) async {
    checkFileExists(frameworkPath);
  
    final String archs = await fileType(frameworkPath);
    if (!archs.contains('armv7')) {
      throw TaskResult.failure('$mode $frameworkPath armv7 architecture missing');
    }
  
    if (!archs.contains('arm64')) {
      throw TaskResult.failure('$mode $frameworkPath arm64 architecture missing');
    }
    final bool containsSimulator = archs.contains('x86_64');
    final bool isDebug = mode == 'Debug';
  
    // Debug should contain the simulator archs.
    // Release and Profile should not.
    if (containsSimulator != isDebug) {
      throw TaskResult.failure('$mode $frameworkPath x86_64 architecture ${isDebug ? 'missing' : 'present'}');
    }
  }
  
  
negative.code:       'device_info.framework',
        'device_info',
      );
      await _checkFrameworkArchs(pluginFrameworkPath, mode == 'Debug');
      await _checkBitcode(pluginFrameworkPath, mode);
  
      checkFileExists(path.join(
  