Flutter audioplayers plugin error on xcode (Module 'audioplayers' not found)
After a lot of search i found the solution which it was a very annoying.
For me the problem was when i opened the ios folder i was on Visual Studio Code and like you will do right click on it and choose open with Xcode but that is a problem because it will open wrong file you will think it is correct because at first there will be no error .
So the correct way to do it Go to ios folder and open .xcworkspace file.
Hope this will help others :)