iosxcodefluttermodule

Module 'path_provider' not found


I have used several times the Xcode simulator for my flutter app. One time I tried to change the simulator to iPhone 11 Pro (don't know if it did or did not cause the problem) but since then:

  1. I get the error Module 'path_provider' not found.
  2. It seems that each time when I double click on the Runner.xcworkspace file, it opens the project file instead. I'm new to Xcode so not quite sure about that but I attached a screenshot.

Things I've tried:

What else can I do?

enter image description here


Solution

  • I had the same issue. All I had to do was open the runner.xcworkspace instead of runner.xcodeproj and run the app.