After upgrading Xcode 14.3 my flutter run failed to run on iOS specifically but I am able to run on Android.
I am getting following error:
Failed to build iOS app
Error output from Xcode build:
↳
2023-04-03 17:29:33.364 xcodebuild[97688:923371] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:6EB5FA1B-46DC-4E2D-BA30-9BF413BCB06F }
Available destinations for the "Runner" scheme:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006000-001429C12E23801E }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
Xcode's output:
↳
Writing result bundle at path:
/var/folders/k9/wbd7hvx90_s_1_rt6sqg61b80000gn/T/flutter_tools.3s0yqP/flutter_ios_build_temp_dirw6n3UV/temporary_xcresult_bundle
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.