Flutter iOS build failure error with Multiple commands after the Xcode upgrade
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).
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.
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
Locking Orientation Does Not Work on iPad iOS 8 Swift Xcode 6.2
Ios7 App Backward Compatible with iOS5 Regarding Unique Identifier
Nsinteralinconsistencyexception - Uikeyboardlayoutalignmentview
Will Fork() in iOS App Likely Be Rejected by Apple's Vetting Process
How to Create Back Button in Navigation Bar
Ios9: Alternative to Uidevice.Currentdevice().Setvalue(...) to Force Orientation
Nsurlsession Delegates Not Called
How to Lay Out 2 Buttons Vertically on Uialertview
Swiftui: Animation Inside Navigationview
Xcode Logging: "Metal API Validation Enabled"
How to Call Https Url in Uiwebview
Type 'String.Index' Does Not Conform Protocol 'Integerliteralconvertible'
Get Height of iOS Keyboard Without Displaying Keyboard
Firebase Pod Install - Pod 'Firebase/Database' - Required a Higher Minimum Deployment Target
Get Each Line of Text in a Uilabel