Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to run my flutter code in my iOS simulator But I am facing following error xcodebuild: WARNING: Using the first of multiple matching destinations in flutter. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How xcodebuild: WARNING: Using the first of multiple matching destinations Error Occurs ?
I am trying to run my flutter code in my iOS simulator But I am facing following error.
Launching lib/main.dart on iPhone 13 Pro in debug mode...
lib/main.dart:1
Xcode build done. 43.6s
Failed to build iOS app
Error output from Xcode build:
↳
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:320795B7-1385-4044-B442-87A9808936D9, OS:15.0, name:iPhone 13 Pro }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS, id:00008101-000825EC3AE1001E, name:leobidoous iPhone, error:Device is busy (Making leobidoous iPhone ready for development, Processing cache files from device, Making the device ready for development) }
** BUILD FAILED **
Xcode's output:
↳
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in parallel
How To Solve xcodebuild: WARNING: Using the first of multiple matching destinations Error ?
- How To Solve xcodebuild: WARNING: Using the first of multiple matching destinations Error?
To Solve xcodebuild: WARNING: Using the first of multiple matching destinations Error This Problem occurs to me just after updating XCode to 13. When I was updated XCode I was logout from my account and that's why I was facing this issue. In my case just logging back into XCode and my problem was solved. First of all Open XCode. Open the project's Runner.xcworkspace file. Then Log into XCode at: “Signing & Capabilities” -> “All” -> “Signing”
- xcodebuild: WARNING: Using the first of multiple matching destinations
To Solve xcodebuild: WARNING: Using the first of multiple matching destinations Error This Problem occurs to me just after updating XCode to 13. When I was updated XCode I was logout from my account and that's why I was facing this issue. In my case just logging back into XCode and my problem was solved. First of all Open XCode. Open the project's Runner.xcworkspace file. Then Log into XCode at: “Signing & Capabilities” -> “All” -> “Signing”
Solution 1: Relogin in your XCode
This Problem occurs to me just after updating XCode to 13. When I was updated XCode I was logout from my account and that’s why I was facing this issue. In my case just logging back into XCode and my problem was solved.
- First of all Open XCode.
- Open the project’s Runner.xcworkspace file.
- Then Log into XCode at: “Signing & Capabilities” -> “All” -> “Signing”
Solution 2: Try to run in physical device
Just try to run your code in physical device.
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read about this solutions
- The iOS deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0, in Flutter How can I change the minimum IOS Deploying Target
- error: could not find included file ‘Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig’ in search paths (in target ‘Runner’)
- CocoaPods could not find compatible versions for pod “Firebase/CoreOnly”
- error: ‘Flutter/Flutter.h’ file not found when flutter run on iOS
Leave a Reply