I recently switched from Xcode 14.2 to 14.3 and now my Flutter app fails to run on the iOS simulator. Here's the error output from Xcode:
Launching lib/main.dart on iPad mini (6th generation) in debug mode... Running Xcode build... Xcode build done. 3.6s Failed to build iOS app Error output from Xcode build: ↳ 2023-04-29 00:21:38.923 xcodebuild[12573:160868] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled) xcodebuild: error: Unable to find a destination matching the provided destination specifier: { id:17D8789D-DC56-43C1-B1EE-964E5EE01320 }
Available destinations for the "Runner" scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
Xcode's output: ↳ Writing result bundle at path: /var/folders/23/7lnnj_09535f5kpq9g_twph40000gn/T/flutter_tools.iHnNsp/flutter_ios_build_temp_dirz0h6e4/temporary_xcresult_bundle
I've tried deleting the Xcode derived data, but the problem persists. I can successfully run the app on a new project, but the issue only occurs with my old project.
Has anyone encountered a similar issue and found a solution? I'd appreciate any help or suggestions. Thank you!