DenisovAV/flutter_tv

Unable to find a destination matching the provided destination specifier

Closed this issue · 7 comments

Could you please help me with this error:

xcodebuild: error: Unable to find a destination matching the provided destination specifier: { generic:1, platform:iOS }

Available destinations for the "Runner" scheme:
{ platform:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Any tvOS Device }
{ platform:tvOS Simulator, id:033AA0D5-DD1A-4DCB-AD2A-09A651F8F748, OS:14.0, name:Apple TV }
{ platform:tvOS Simulator, id:29B61D62-BCF7-44C3-8916-61F3E681A86D, OS:16.1, name:Apple TV }

I just. run this command: fvm flutter build ios --debug

I have the same problem, any clues what to change ?

Im still unable to run :(

Solved it by setting FLUTTER_LOCAL_ENGINE without the "out" directory

i still facing this issue after the following @RoboMario 's solution.

anyone have idea @keanallen , @DenisovAV , @alde0615-zz & @RoboMario

double check your FLUTTER_LOCAL_ENGINE desitnation

i set FLUTTER_LOCAL_ENGINE=/Users/rahilgriphhy/Downloads this
and the destination path of engine is -> /Users/rahilgriphhy/Downloads/out

still not working

Failed to build iOS app
Error output from Xcode build:

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ generic:1, platform:iOS Simulator }

    Available destinations for the "Runner" scheme:
            { platform:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Any tvOS Device }
            { platform:tvOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-appletvsimulator:placeholder, name:Any tvOS Simulator Device }
            { platform:tvOS Simulator, id:BC3DA111-0D51-4102-97E4-5E1E69638423, OS:16.1, name:Apple TV }
            { platform:tvOS Simulator, id:4A8103D5-DE23-4CCC-8D0D-69F57C444A3B, OS:16.1, name:Apple TV 4K (3rd generation) }
            { platform:tvOS Simulator, id:B788F325-D660-4305-A94B-2589E7378381, OS:16.1, name:Apple TV 4K (3rd generation) (at 1080p) }

Encountered error while building for simulator.

  • sh scripts/switch_target.sh tvos
    '_ios' already exists or 'tvos'/'ios' does not exist
  • cd ios
  • rm Podfile.lock

This is error i faced @keanallen & @DenisovAV