Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build failed after upgrading Xcode 14.3

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.
like image 833
Code Hunter Avatar asked May 28 '26 20:05

Code Hunter


1 Answers

Change the

<LaunchAction

      buildConfiguration = "Release" to  buildConfiguration = "Debug"

in Runner.xcscheme. 

like image 70
Tushar Katyal Avatar answered May 31 '26 10:05

Tushar Katyal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!