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.

Upvotes: -1

Views: 382

Answers (2)

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

Upvotes: 0

Ashu Pathak
Ashu Pathak

Reputation: 39

Try to run from Xcode or terminal with command flutter run

Upvotes: -1

Related Questions