Reputation: 743
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
Upvotes: 2
Views: 564
Reputation: 4800
Nothing worked for me except these exact steps:
and the iPhone simulator finally ran with my app.
I think the secret was NOT doing this:
I think it's because 'flutter build ios' builds release mode instead of debug mode.
Upvotes: 0
Reputation: 1
For me the problem was solved by changing the Xcode Run Scheme from Release to Debug.
Upvotes: 0
Reputation: 412
I delete the ios files and recreated again and solved my issue
deleting ios files;
rm -rf ios
For recreating;
flutter create .
Upvotes: 0
Reputation: 743
Ok I solved it for now..
Had to go into Runner.xcworkspace and add arm64 to the excluded architectures for simulator
Upvotes: 1