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 SimulatorCould not build the application for the simulator.Error launching application on iPhone 11 Pro Max.
Solve
- Install latest cocoapods
sudo gem install cocoapods
- Remove pod files
rm -rf ios/Podfile.lockrm -rf ios/Pods