This solution worked for me.
- Open ios/Runner.xcworkspace Select the Runner project in the project
navigator sidebar. - In the main view, select the Runner target, then select the Build Phases tab.
- Expand the Embed Frameworks phase and select Flutter.framework from the
embedded frameworks list. - Click – to remove Flutter.framework from the list (be sure to keep
App.framework).