'Parse Issue (Xcode): Module 'fluttertoast' not found

i have flutter code which is used to build ios and android app, when code run in xcode using simulator, it runs fine, but when run in android studio or in visual studio code using

flutter run --flavor stg

get the following error :

Parse Issue (Xcode): Module 'fluttertoast' not found GeneratedPluginRegistrant.m:131:8 Could not build the application for the simulator. Error launching application on iPhone 13.

Please help :(



Solution 1:[1]

It's lookes likes you are opening incorrect file. you should open open runner.xcworkspace ,it worked! also run pod install in IOS directory.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shailandra Rajput