anchor.diff:  
     Future<void> _produceAotAppFrameworkIfNeeded(
       BuildMode mode,
  -    Directory iPhoneBuildOutput,
  -    Directory destinationAppFrameworkDirectory,
  +    Directory destinationDirectory,
     ) async {
       if (mode == BuildMode.debug) {
         return;
  
positive.code:   Future<void> _produceAppFramework(BuildMode mode, Directory iPhoneBuildOutput, Directory simulatorBuildOutput, Directory modeDirectory) async {
      const String appFrameworkName = 'App.framework';
      final Directory destinationAppFrameworkDirectory = modeDirectory.childDirectory(appFrameworkName);
      destinationAppFrameworkDirectory.createSync(recursive: true);
  
      if (mode == BuildMode.debug) {
        final Status status = globals.logger.startProgress(' ├─Adding placeholder App.framework for debug...', timeout: timeoutConfiguration.fastOperation);
        try {
          await _produceStubAppFrameworkIfNeeded(mode, iPhoneBuildOutput, simulatorBuildOutput, destinationAppFrameworkDirectory);
        } finally {
          status.stop();
        }
      } else {
        await _produceAotAppFrameworkIfNeeded(mode, iPhoneBuildOutput, destinationAppFrameworkDirectory);
      }
  
      final File sourceInfoPlist = _project.ios.hostAppRoot.childDirectory('Flutter').childFile('AppFrameworkInfo.plist');
  
negative.code:     try {
        await aotBuilder.build(
          platform: TargetPlatform.ios,
          outputPath: destinationDirectory.path,
          buildMode: mode,
          // Relative paths show noise in the compiler https://github.com/dart-lang/sdk/issues/37978.
          mainDartFile: globals.fs.path.absolute(targetFile),
  