Flutter iOS Build Failure Error with Multiple Commands After the Xcode Upgrade

Flutter iOS build failure error with Multiple commands after the Xcode upgrade

This solution worked for me.

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

Not able to build and run flutter app in IOS simulator

Can you please take a look at the correct answer here:

Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code

How do I fix this Flutter iOS build error?

- Platform in ios/podfile you can use platform :ios, '10.0'
- If you are changing platform version in podfile than you have to also change version in AppFrameworkInfo.plist.
- Also change version in Deployment Target and Deployment Info of Runner.

- If not working than you have to try with this below commands using for uninstall and install again pods and Run.

flutter clean
rm -Rf ios/Pods
rm -Rf ios/.symlinks
rm -Rf ios/Flutter/Flutter.framework
rm -Rf ios/Flutter/Flutter.podspec
rm ios/Podfile
flutter run

Xcode 10 Error: Multiple commands produce

The issue might be occurring because of multiple Plist or other files within App-

Solution -> Open target -> Build phases > Copy Bundle Resources and remove info.plist from there.

Sample Image

Note: If you have developed a watch app too then you will have to remove the plist from the watch and watch-extension too.



Related Topics



Leave a reply



Submit