Error running flutter application on simulators

325 Views Asked by At

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.

2

There are 2 best solutions below

0
On BEST ANSWER

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

0
On

Try to run from Xcode or terminal with command flutter run