DenisovAV / flutter_tv

233 stars 40 forks source link

Unable to find a destination matching the provided destination specifier #10

Closed keanallen closed 1 year ago

keanallen commented 1 year ago

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

RoboMario commented 1 year ago

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

keanallen commented 1 year ago

Im still unable to run :(

RoboMario commented 1 year ago

Solved it by setting FLUTTER_LOCAL_ENGINE without the "out" directory

Rahil-Griphhy commented 12 months ago

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

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

keanallen commented 12 months ago

double check your FLUTTER_LOCAL_ENGINE desitnation

Rahil-Griphhy commented 11 months ago

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

still not working

Rahil-Griphhy commented 11 months ago

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.

This is error i faced @keanallen & @DenisovAV