'Error (Xcode): 460 duplicate symbols for architecture x86_64 MACos

hi every one I'm working on creating an app with flutter may device is Macbooc pro M1 and the simulator is not working for me because this error appears to me and I really don't know how to solve it

the error is Error (Xcode): 460 duplicate symbols for architecture x86_64

it is appears on the terminal of VS code .

please help me



Sources

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

Source: Stack Overflow

Solution Source