anchor.diff:      testUsingOsxContext('does not set TRACK_WIDGET_CREATION when trackWidgetCreation is false', () async {
         when(mockArtifacts.getArtifactPath(Artifact.flutterFramework,
             platform: TargetPlatform.ios, mode: anyNamed('mode'))).thenReturn('engine');
  -      when(mockArtifacts.engineOutPath).thenReturn(globals.fs.path.join('out', 'ios_profile_arm'));
  +      when(mockArtifacts.engineOutPath).thenReturn(fs.path.join('out', 'ios_profile_arm'));
         const BuildInfo buildInfo = BuildInfo(BuildMode.debug, null);
         final FlutterProject project = FlutterProject.fromPath('path/to/project');
         await updateGeneratedXcodeProperties(
  
positive.code:         buildInfo: buildInfo,
        );
  
        final File config = globals.fs.file('path/to/project/ios/Flutter/Generated.xcconfig');
        expect(config.existsSync(), isTrue);
  
        final String contents = config.readAsStringSync();
        expect(contents.contains('TRACK_WIDGET_CREATION=true'), isFalse);
  
        final File buildPhaseScript = globals.fs.file('path/to/project/ios/Flutter/flutter_export_environment.sh');
        expect(buildPhaseScript.existsSync(), isTrue);
  
        final String buildPhaseScriptContents = buildPhaseScript.readAsStringSync();
  
negative.code:         buildInfo: buildInfo,
        );
  
        final File config = fs.file('path/to/project/ios/Flutter/Generated.xcconfig');
        expect(config.existsSync(), isTrue);
  
        final String contents = config.readAsStringSync();
        expect(contents.contains('ARCHS=armv7'), isTrue);
  
        final File buildPhaseScript = fs.file('path/to/project/ios/Flutter/flutter_export_environment.sh');
        expect(buildPhaseScript.existsSync(), isTrue);
  
        final String buildPhaseScriptContents = buildPhaseScript.readAsStringSync();
  