anchor.diff:    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 {
  +        destinationAppFrameworkDirectory.createSync(recursive: true);
           await _produceStubAppFrameworkIfNeeded(mode, iPhoneBuildOutput, simulatorBuildOutput, destinationAppFrameworkDirectory);
         } finally {
           status.stop();
         }
       } else {
  -      await _produceAotAppFrameworkIfNeeded(mode, iPhoneBuildOutput, destinationAppFrameworkDirectory);
  +      await _produceAotAppFrameworkIfNeeded(mode, modeDirectory);
       }
   
       final File sourceInfoPlist = _project.ios.hostAppRoot.childDirectory('Flutter').childFile('AppFrameworkInfo.plist');
  
positive.code:     try {
        await aotBuilder.build(
          platform: TargetPlatform.ios,
          outputPath: iPhoneBuildOutput.path,
          buildMode: mode,
          // Relative paths show noise in the compiler https://github.com/dart-lang/sdk/issues/37978.
          mainDartFile: globals.fs.path.absolute(targetFile),
  
negative.code: 
    Future<void> _produceAotAppFrameworkIfNeeded(
      BuildMode mode,
      Directory destinationDirectory,
    ) async {
      if (mode == BuildMode.debug) {
        return;
  