skip to Main Content

Hello I am trying to run my flutter project, but I am getting the following error:

Parse Issue (Xcode): Module 'path_provider_foundation' not found
/Users/juliapak/Desktop/app_projects/testerapp/ios/Runner/GeneratedPluginRegistrant.m:11:8


Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.

What I have tried so far:

flutter clean
rm -Rf ios/Pods
rm -Rf ios/.symlinks
rm -Rf ios/Flutter/Flutter.framework
rm -Rf ios/Flutter/Flutter.podspec
flutter pub get

Then I opened Runner.xcodeproj and tried running from there. I also tried running from Runner.xcworkspace

2

Answers


  1. Chosen as BEST ANSWER

    Ok I solved it for now..

    Had to go into Runner.xcworkspace and add arm64 to the excluded architectures for simulator

    Looks like this: enter image description here


  2. For me the problem was solved by changing the XCode Run-Scheme from Release to Debug

    Change XCode Scheme

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search