Please delete your 'pubspec.lock' file and run 'flutter clean' and that's it. You can run from now. I hope that works.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: