Skip to content

On Xcode 13 "flutter run -d macos" prints warning that there are multiple matching destinations, "arch:x86_64" and "name:Any Mac" #86590

@jmagman

Description

@jmagman

With Xcode 13 installed, red error text warns there are multiple macOS targets:

$ flutter run -d macos
Launching lib/main.dart on macOS in debug mode...
2021-07-16 16:25:46.183 xcodebuild[6946:113333223] [MT] DVTPlugInManager: Required plug-in compatibility UUID 42E1F17B-27B3-4DE8-92A8-DC76BA4F5921 for DVTCoreGlyphs.framework (com.apple.dt.DVTCoreGlyphs) not present
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:x86_64, id:87BE7059-56E3-5470-B52D-31A0F76402B3 }
{ platform:macOS, name:Any Mac }
Building macOS application...                                           
Syncing files to device macOS...                                    33ms

Screen Shot 2021-07-16 at 4 26 29 PM

The app successfully runs.

This does not reproduce on Xcode 12.

$ flutter doctor -v
[✓] Flutter (Channel unknown, 2.4.0-5.0.pre.81, on macOS 11.3.1 20E241 darwin-x64, locale
    en-US)
    • Flutter version 2.4.0-5.0.pre.81 at /Users/magder/Projects/flutter
    • Upstream repository unknown
    • Framework revision 7cc853f14f (33 minutes ago), 2021-07-16 15:54:02 -0700
    • Engine revision 26b6520a0c
    • Dart version 2.14.0 (build 2.14.0-321.0.dev)

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Users/magder/Applications/Xcode-13_beta2.app/Contents/Developer
    • Xcode 13.0, Build version 13A5155e
    • CocoaPods version 1.10.1

[✓] Connected device (4 available)
    • iPhone 6s (mobile) • d83d5bc53967baa0ee18626ba87b6254b2ab5418 • ios            • iOS
      13.7 17H35
    • iPhone 11 (mobile) • 81AD29E5-17EB-465A-B62D-1E3DE07E9B75     • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)    • macos                                    • darwin-x64     •
      macOS 11.3.1 20E241 darwin-x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: desktopRunning on desktopplatform-macBuilding on or for macOS specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementteam-macosOwned by the macOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-macosTriaged by the macOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions