flutterdartmultiplatformflutter-run

Error running flutter application on simulators


Failed to build iOS app Error (Xcode): ../../../Developer/flutter/packages/flutter/lib/src/material/data_table.dart:1164:41: Error: Member not found: 'Matrix4.identity'.

Could not build the application for the simulator. Error launching application on iPhone 14 Pro Max.

When i type flutter run the above error occurs on the default application without any configurations. I didn't get why the error occurs.


Solution

  • just run flutter pub cache repair, this error occurs due to corrupted resources etc.