Flutter ios build error diagnose

Error: https://github.com/flutter/flutter/issues/50568

[App.framework] Linked and embedded framework 'App.framework' was built for iOS/iOS Simulator
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.


  • Install latest cocoapods
sudo gem install cocoapods
  • Remove pod files
rm -rf ios/Podfile.lock
rm -rf ios/Pods
rm -rf ios/.symlinks
  • Run pod install
cd ios
pod install
  • Run project again


Just use Delete References, don't move to Trash
  • Deal with import libraries error although you check everything is correct. Just to extra tip
Default Disk Type on Mac is “In Case-sensitive”
Like Unity does not work on “Case-sensitive” disk type => Some libraries config with the path in-Case-sensitive but run on “Case-sensitive” -> It can be imported with wrong case => Just move the source to another “Case-sensitive” disk type.

Leave a Reply

Your email address will not be published.Required fields are marked *