Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"flutter build ios" fails on ARM macOS, ibtoold crashes compiling xcassets/storyboards #65133

Closed
a-siva opened this issue Sep 2, 2020 · 19 comments · Fixed by #68050 or #68855
Closed
Assignees
Labels
c: crash Stack traces logged to the console customer: gallery Relating to flutter/gallery repository. Please transfer non-framework issues there. e: OS-version specific Affects only some versions of the relevant operating system P2 Important issues not at the top of the work list platform-ios iOS applications specifically tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@a-siva
Copy link
Contributor

a-siva commented Sep 2, 2020

Flutter Gallery app does not build/run on the new macOS hardware for deploying to an iOS 13.6.1 device

doctor -v

asiva@sivas-mac gallery % /Users/asiva/flutter/bin/flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.22.0-10.0.pre.50, on macOS 11.0 20A5299w, locale en-US)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
[!] Android Studio (version 4.0)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)

! Doctor found issues in 1 category.
asiva@sivas-mac gallery % /Users/asiva/flutter/bin/flutter devices  
1 connected device:

iPhone (mobile) • 00008030-001C78E13EE3802E • ios • iOS 13.6.1
logs
asiva@sivas-mac gallery % /Users/asiva/flutter/bin/flutter run      
Launching lib/main.dart on iPhone in debug mode...
 
Automatically signing iOS for device deployment using specified development team in Xcode project: A3HUGF6PH6
Running Xcode build...                                                  
 └─Compiling, linking and signing...                         3.6s
Xcode build done.                                           34.7s
Failed to build iOS app
Error output from Xcode build:
↳
    2020-09-02 16:16:15.703 xcodebuild[37765:3293286]  DTDeviceKit: deviceType from 00008030-001C78E13EE3802E was
    NULL
    2020-09-02 16:16:15.855 xcodebuild[37765:3293441]  DTDeviceKit: deviceType from 00008030-001C78E13EE3802E was
    NULL
    2020-09-02 16:16:15.855 xcodebuild[37765:3293441]  DTDeviceKit: deviceType from 00008030-001C78E13EE3802E was
    NULL
    ** BUILD FAILED **


Xcode's output:
↳
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:10: warning: double-quoted include
    "FlutterAppDelegate.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterAppDelegate.h"
             ^~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterAppDelegate.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:10:10: warning: double-quoted
    include "FlutterMacros.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterMacros.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterMacros.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:10: warning: double-quoted
    include "FlutterPlugin.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterPlugin.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterPlugin.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:11:10: warning: double-quoted include
    "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterBinaryMessenger.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterBinaryMessenger.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:11:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterBinaryMessenger.h:10:10: warning:
    double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterMacros.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterMacros.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:12:10: warning: double-quoted include
    "FlutterChannels.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterChannels.h"
             ^~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterChannels.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:12:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:8:10: warning: double-quoted
    include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterBinaryMessenger.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterBinaryMessenger.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:9:10: warning: double-quoted
    include "FlutterCodecs.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterCodecs.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterCodecs.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:12:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:9:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterCodecs.h:9:10: warning: double-quoted include
    "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterMacros.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterMacros.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:13:10: warning: double-quoted include
    "FlutterCodecs.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterCodecs.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterCodecs.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:14:10: warning: double-quoted include
    "FlutterPlatformViews.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterPlatformViews.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterPlatformViews.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:14:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlatformViews.h:10:9: warning: double-quoted
    include "FlutterCodecs.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #import "FlutterCodecs.h"
            ^~~~~~~~~~~~~~~~~
            <Flutter/FlutterCodecs.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlatformViews.h:11:9: warning: double-quoted
    include "FlutterMacros.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #import "FlutterMacros.h"
            ^~~~~~~~~~~~~~~~~
            <Flutter/FlutterMacros.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:15:10: warning: double-quoted include
    "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterTexture.h"
             ^~~~~~~~~~~~~~~~~~
             <Flutter/FlutterTexture.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:15:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterTexture.h:11:10: warning: double-quoted
    include "FlutterMacros.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterMacros.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterMacros.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:9:10: warning: double-quoted include
    "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterBinaryMessenger.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterBinaryMessenger.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:10:10: warning: double-quoted include
    "FlutterCallbackCache.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterCallbackCache.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterCallbackCache.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:10:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterCallbackCache.h:10:10: warning: double-quoted
    include "FlutterMacros.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterMacros.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterMacros.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:11:10: warning: double-quoted include
    "FlutterChannels.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterChannels.h"
             ^~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterChannels.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:12:10: warning: double-quoted include
    "FlutterCodecs.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterCodecs.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterCodecs.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:13:10: warning: double-quoted include
    "FlutterDartProject.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterDartProject.h"
             ^~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterDartProject.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:13:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterDartProject.h:10:10: warning: double-quoted
    include "FlutterMacros.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterMacros.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterMacros.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:14:10: warning: double-quoted include
    "FlutterEngine.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterEngine.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterEngine.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:14:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterEngine.h:11:10: warning: double-quoted include
    "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterBinaryMessenger.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterBinaryMessenger.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterEngine.h:12:10: warning: double-quoted include
    "FlutterDartProject.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterDartProject.h"
             ^~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterDartProject.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterEngine.h:13:10: warning: double-quoted include
    "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterMacros.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterMacros.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterEngine.h:14:10: warning: double-quoted include
    "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterPlugin.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterPlugin.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterEngine.h:15:10: warning: double-quoted include
    "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterTexture.h"
             ^~~~~~~~~~~~~~~~~~
             <Flutter/FlutterTexture.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:15:10: warning: double-quoted include
    "FlutterHeadlessDartRunner.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterHeadlessDartRunner.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterHeadlessDartRunner.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:15:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterHeadlessDartRunner.h:10:10: warning:
    double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterBinaryMessenger.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterBinaryMessenger.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterHeadlessDartRunner.h:11:10: warning:
    double-quoted include "FlutterDartProject.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterDartProject.h"
             ^~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterDartProject.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterHeadlessDartRunner.h:12:10: warning:
    double-quoted include "FlutterEngine.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterEngine.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterEngine.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterHeadlessDartRunner.h:13:10: warning:
    double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterMacros.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterMacros.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:16:10: warning: double-quoted include
    "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterMacros.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterMacros.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:17:10: warning: double-quoted include
    "FlutterPlatformViews.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterPlatformViews.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterPlatformViews.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:18:10: warning: double-quoted include
    "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterPlugin.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterPlugin.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:19:10: warning: double-quoted include
    "FlutterPluginAppLifeCycleDelegate.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterPluginAppLifeCycleDelegate.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterPluginAppLifeCycleDelegate.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:19:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h:8:10: warning:
    double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterPlugin.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterPlugin.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:20:10: warning: double-quoted include
    "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #include "FlutterTexture.h"
             ^~~~~~~~~~~~~~~~~~
             <Flutter/FlutterTexture.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:21:10: warning: double-quoted include
    "FlutterViewController.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterViewController.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterViewController.h>
    While building module 'Flutter' imported from /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.h:8:
    In file included from <module-includes>:1:
    In file included from /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/Flutter.h:21:
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:11:10: warning: double-quoted
    include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterBinaryMessenger.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterBinaryMessenger.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:12:10: warning: double-quoted
    include "FlutterDartProject.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterDartProject.h"
             ^~~~~~~~~~~~~~~~~~~~~~
             <Flutter/FlutterDartProject.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:13:10: warning: double-quoted
    include "FlutterEngine.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterEngine.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterEngine.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:14:10: warning: double-quoted
    include "FlutterMacros.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterMacros.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterMacros.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:15:10: warning: double-quoted
    include "FlutterPlugin.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterPlugin.h"
             ^~~~~~~~~~~~~~~~~
             <Flutter/FlutterPlugin.h>
    /Users/asiva/gallery/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:16:10: warning: double-quoted
    include "FlutterTexture.h" in framework header, expected angle-bracketed instead
    [-Wquoted-include-in-framework-header]
    #include "FlutterTexture.h"
             ^~~~~~~~~~~~~~~~~~
             <Flutter/FlutterTexture.h>
    46 warnings generated.
    While building module 'package_info' imported from
    /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.m:8:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/build/ios/Debug-iphoneos/package_info/package_info.framework/Headers/package_info-umbrella.
    h:13:9: warning: double-quoted include "FLTPackageInfoPlugin.h" in framework header, expected angle-bracketed
    instead [-Wquoted-include-in-framework-header]
    #import "FLTPackageInfoPlugin.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~
            <package_info/FLTPackageInfoPlugin.h>
    1 warning generated.
    While building module 'path_provider' imported from
    /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.m:14:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/build/ios/Debug-iphoneos/path_provider/path_provider.framework/Headers/path_provider-umbrel
    la.h:13:9: warning: double-quoted include "FLTPathProviderPlugin.h" in framework header, expected
    angle-bracketed instead [-Wquoted-include-in-framework-header]
    #import "FLTPathProviderPlugin.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~~
            <path_provider/FLTPathProviderPlugin.h>
    1 warning generated.
    While building module 'shared_preferences' imported from
    /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.m:20:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/build/ios/Debug-iphoneos/shared_preferences/shared_preferences.framework/Headers/shared_pre
    ferences-umbrella.h:13:9: warning: double-quoted include "FLTSharedPreferencesPlugin.h" in framework header,
    expected angle-bracketed instead [-Wquoted-include-in-framework-header]
    #import "FLTSharedPreferencesPlugin.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            <shared_preferences/FLTSharedPreferencesPlugin.h>
    1 warning generated.
    While building module 'url_launcher' imported from
    /Users/asiva/gallery/ios/Runner/GeneratedPluginRegistrant.m:26:
    In file included from <module-includes>:1:
    /Users/asiva/gallery/build/ios/Debug-iphoneos/url_launcher/url_launcher.framework/Headers/url_launcher-umbrella.
    h:13:9: warning: double-quoted include "FLTURLLauncherPlugin.h" in framework header, expected angle-bracketed
    instead [-Wquoted-include-in-framework-header]
    #import "FLTURLLauncherPlugin.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~
            <url_launcher/FLTURLLauncherPlugin.h>
    1 warning generated.
    50 warnings generated.
    2020-09-02 16:16:48.843 ibtoold[37948:3294595] [MT] IBPlatformTool: *** Failed to launch tool with description
    <IBCocoaTouchPlatformToolDescription: 0x7f9b19f2acd0> System content for IBCocoaTouchFramework-ElevenAndLater
    <IBScaleFactorDeviceTypeDescription: 0x7f9b19f2e230> scaleFactor=2x, renderMode.identifier=(null): Failed to
    find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7f9b19f2acd0> System
    content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7f9b19f2e230>
    scaleFactor=2x, renderMode.identifier=(null)'.
    Device type: IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x)
    Sim runtime: (null)
    ** Please also include the output of `xcrun simctl list` and `xcode-select -p`.: Failed to find newest available
    Simulator runtime: No available runtime found from: [
        watchOS 7.0 (7.0 - 18R5368d) - com.apple.CoreSimulator.SimRuntime.watchOS-7-0 (unavailable, failed to open
        liblaunch_sim.dylib) ==> not available: Error Domain=com.apple.CoreSimulator.SimError Code=401 "The watchOS
        7.0 simulator runtime is not available." UserInfo={NSLocalizedDescription=The watchOS 7.0 simulator runtime
        is not available., NSUnderlyingError=0x7f9b19b88310 {Error Domain=NSPOSIXErrorDomain Code=53 "Software
        caused connection abort" UserInfo={NSLocalizedFailureReason=XPC error talking to SimLaunchHostService:
        <dictionary: 0x7fff8ccd5a10> { count = 1, transaction: 0, voucher = 0x0, contents =
    	"XPCErrorDescription" => <string: 0x7fff8ccd5b78> { length = 18, contents = "Connection invalid" }
    }}}, NSLocalizedRecoverySuggestion=Unable to open liblaunch_sim.dylib.  Try reinstalling Xcode or the simulator
    runtime., NSLocalizedFailureReason=failed to open liblaunch_sim.dylib},
        tvOS 14.0 (14.0 - 18J5370e) - com.apple.CoreSimulator.SimRuntime.tvOS-14-0 (unavailable, failed to open
        liblaunch_sim.dylib) ==> not available: Error Domain=com.apple.CoreSimulator.SimError Code=401 "The tvOS
        14.0 simulator runtime is not available." UserInfo={NSLocalizedDescription=The tvOS 14.0 simulator runtime
        is not available., NSUnderlyingError=0x7f9b19b88310 {Error Domain=NSPOSIXErrorDomain Code=53 "Software
        caused connection abort" UserInfo={NSLocalizedFailureReason=XPC error talking to SimLaunchHostService:
        <dictionary: 0x7fff8ccd5a10> { count = 1, transaction: 0, voucher = 0x0, contents =
    	"XPCErrorDescription" => <string: 0x7fff8ccd5b78> { length = 18, contents = "Connection invalid" }
    }}}, NSLocalizedRecoverySuggestion=Unable to open liblaunch_sim.dylib.  Try reinstalling Xcode or the simulator
    runtime., NSLocalizedFailureReason=failed to open liblaunch_sim.dylib},
        iOS 14.0 (14.0 - 18A5357e) - com.apple.CoreSimulator.SimRuntime.iOS-14-0 (unavailable, failed to open
        liblaunch_sim.dylib) ==> not available: Error Domain=com.apple.CoreSimulator.SimError Code=401 "The iOS 14.0
        simulator runtime is not available." UserInfo={NSLocalizedDescription=The iOS 14.0 simulator runtime is not
        available., NSUnderlyingError=0x7f9b19b88310 {Error Domain=NSPOSIXErrorDomain Code=53 "Software caused
        connection abort" UserInfo={NSLocalizedFailureReason=XPC error talking to SimLaunchHostService: <dictionary:
        0x7fff8ccd5a10> { count = 1, transaction: 0, voucher = 0x0, contents =
    	"XPCErrorDescription" => <string: 0x7fff8ccd5b78> { length = 18, contents = "Connection invalid" }
    }}}, NSLocalizedRecoverySuggestion=Unable to open liblaunch_sim.dylib.  Try reinstalling Xcode or the simulator
    runtime., NSLocalizedFailureReason=failed to open liblaunch_sim.dylib},
    ] when matching for <IBCocoaTouchPlatformToolDescription: 0x7f9b19f2acd0> System content for
    IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7f9b19f2e230> scaleFactor=2x,
    renderMode.identifier=(null), idiom=<IBIPhoneIdiom: 0x7f9b19a0a7f0> runtime=<IBCocoaTouchTargetRuntime:
    0x7f9b164ac3a0>
    /* com.apple.ibtool.errors */
    /Users/asiva/gallery/ios/Runner/Base.lproj/Main.storyboard: error: Failed to find or create execution context
    for description '<IBCocoaTouchPlatformToolDescription: 0x7f9b19f2acd0> System content for
    IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7f9b19f2e230> scaleFactor=2x,
    renderMode.identifier=(null)'.
    Device type: IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x)
    Sim runtime: (null)
    ** Please also include the output of `xcrun simctl list` and `xcode-select -p`.
        Underlying Errors:
            Description: Failed to find newest available Simulator runtime
            Underlying Errors:
                Description: No available runtime found from: [
        watchOS 7.0 (7.0 - 18R5368d) - com.apple.CoreSimulator.SimRuntime.watchOS-7-0 (unavailable, failed to open
        liblaunch_sim.dylib) ==> not available: Error Domain=com.apple.CoreSimulator.SimError Code=401 "The watchOS
        7.0 simulator runtime is not available." UserInfo={NSLocalizedDescription=The watchOS 7.0 simulator runtime
        is not available., NSUnderlyingError=0x7f9b19b88310 {Error Domain=NSPOSIXErrorDomain Code=53 "Software
        caused connection abort" UserInfo={NSLocalizedFailureReason=XPC error talking to SimLaunchHostService:
        <dictionary: 0x7fff8ccd5a10> { count = 1, transaction: 0, voucher = 0x0, contents =
    	"XPCErrorDescription" => <string: 0x7fff8ccd5b78> { length = 18, contents = "Connection invalid" }
    }}}, NSLocalizedRecoverySuggestion=Unable to open liblaunch_sim.dylib.  Try reinstalling Xcode or the simulator
    runtime., NSLocalizedFailureReason=failed to open liblaunch_sim.dylib},
        tvOS 14.0 (14.0 - 18J5370e) - com.apple.CoreSimulator.SimRuntime.tvOS-14-0 (unavailable, failed to open
        liblaunch_sim.dylib) ==> not available: Error Domain=com.apple.CoreSimulator.SimError Code=401 "The tvOS
        14.0 simulator runtime is not available." UserInfo={NSLocalizedDescription=The tvOS 14.0 simulator runtime
        is not available., NSUnderlyingError=0x7f9b19b88310 {Error Domain=NSPOSIXErrorDomain Code=53 "Software
        caused connection abort" UserInfo={NSLocalizedFailureReason=XPC error talking to SimLaunchHostService:
        <dictionary: 0x7fff8ccd5a10> { count = 1, transaction: 0, voucher = 0x0, contents =
    	"XPCErrorDescription" => <string: 0x7fff8ccd5b78> { length = 18, contents = "Connection invalid" }
    }}}, NSLocalizedRecoverySuggestion=Unable to open liblaunch_sim.dylib.  Try reinstalling Xcode or the simulator
    runtime., NSLocalizedFailureReason=failed to open liblaunch_sim.dylib},
        iOS 14.0 (14.0 - 18A5357e) - com.apple.CoreSimulator.SimRuntime.iOS-14-0 (unavailable, failed to open
        liblaunch_sim.dylib) ==> not available: Error Domain=com.apple.CoreSimulator.SimError Code=401 "The iOS 14.0
        simulator runtime is not available." UserInfo={NSLocalizedDescription=The iOS 14.0 simulator runtime is not
        available., NSUnderlyingError=0x7f9b19b88310 {Error Domain=NSPOSIXErrorDomain Code=53 "Software caused
        connection abort" UserInfo={NSLocalizedFailureReason=XPC error talking to SimLaunchHostService: <dictionary:
        0x7fff8ccd5a10> { count = 1, transaction: 0, voucher = 0x0, contents =
    	"XPCErrorDescription" => <string: 0x7fff8ccd5b78> { length = 18, contents = "Connection invalid" }
    }}}, NSLocalizedRecoverySuggestion=Unable to open liblaunch_sim.dylib.  Try reinstalling Xcode or the simulator
    runtime., NSLocalizedFailureReason=failed to open liblaunch_sim.dylib},
    ] when matching for <IBCocoaTouchPlatformToolDescription: 0x7f9b19f2acd0> System content for
    IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7f9b19f2e230> scaleFactor=2x,
    renderMode.identifier=(null), idiom=<IBIPhoneIdiom: 0x7f9b19a0a7f0> runtime=<IBCocoaTouchTargetRuntime:
    0x7f9b164ac3a0>
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported
    deployment target versions is 9.0 to 14.0.99. (in target 'url_launcher' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported
    deployment target versions is 9.0 to 14.0.99. (in target 'shared_preferences' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported
    deployment target versions is 9.0 to 14.0.99. (in target 'path_provider' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported
    deployment target versions is 9.0 to 14.0.99. (in target 'package_info' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported
    deployment target versions is 9.0 to 14.0.99. (in target 'Flutter' from project 'Pods')

Could not build the precompiled application for the device.

Error launching application on iPhone.

@a-siva
Copy link
Contributor Author

a-siva commented Sep 2, 2020

/cc @pcsosinski @franklinyow

@xster
Copy link
Member

xster commented Sep 3, 2020

Sounds like you have the new hardware (which has xcode 12 bundled), you tried to run flutter run with a physical iOS 13.6.1 device plugged in and it's failing with Description: Failed to find newest available Simulator runtime for some reason? If you open ios/Runner.xcworkspace in Xcode, select your physical iOS 13 device in the drop down after the flutter run command and run it in Xcode what happens?

@TahaTesser TahaTesser added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 3, 2020
@a-siva
Copy link
Contributor Author

a-siva commented Sep 3, 2020

Yes running from Xcode works, but on my other mac I can run it just using flutter run

If you look at the log

_Launching lib/main.dart on iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: A3HUGF6PH6_
or
_Launching lib/main.dart on iPhone in release mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: A3HUGF6PH6_

it clearly states launching on the device and yet it is not clear why it is looking for a Simulator

 _/* com.apple.actool.errors */_
    _/Users/asiva/gallery/ios/Runner/Assets.xcassets: error: Failed to find newest available Simulator runtime
        Underlying Errors:
            Description: No available runtime found from: [
        watchOS 7.0 (7.0 - 18R5368d) - com.apple.CoreSimulator.SimRuntime.watchOS-7-0 (unavailable, failed to open
        liblaunch_sim.dylib) ==> not available: Error Domain=com.apple.CoreSimulator.SimError Code=401 "The watchOS
        7.0 simulator runtime is not available." UserInfo={NSLocalizedDescription=The watchOS 7.0 simulator runtime
        is not available., NSUnderlyingError=0x7f8b993816f0 {Error Domain=NSPOSIXErrorDomain Code=53 "Software
        caused connection abort" UserInfo={NSLocalizedFailureReason=XPC error talking to SimLaunchHostService:
        <dictionary: 0x7fff8ccd5a10> { count = 1, transaction: 0, voucher = 0x0, contents =
    	"XPCErrorDescription" => <string: 0x7fff8ccd5b78> { length = 18, contents = "Connection invalid" }
    }}}, NSLocalizedRecoverySuggestion=Unable to open liblaunch_sim.dylib.  Try reinstalling Xcode or the simulator
    runtime., NSLocalizedFailureReason=failed to open liblaunch_sim.dylib},
        tvOS 14.0 (14.0 - 18J5370e) - com.apple.CoreSimulator.SimRuntime.tvOS-14-0 (unavailable, failed to open
        liblaunch_sim.dylib) ==> not available: Error Domain=com.apple.CoreSimulator.SimError Code=401 "The tvOS
        14.0 simulator runtime is not available." UserInfo={NSLocalizedDescription=The tvOS 14.0 simulator runtime
        is not available., NSUnderlyingError=0x7f8b993815b0 {Error Domain=NSPOSIXErrorDomain Code=53 "Software
        caused connection abort" UserInfo={NSLocalizedFailureReason=XPC error talking to SimLaunchHostService:
        <dictionary: 0x7fff8ccd5a10> { count = 1, transaction: 0, voucher = 0x0, contents =
    	"XPCErrorDescription" => <string: 0x7fff8ccd5b78> { length = 18, contents = "Connection invalid" }
    }}}, NSLocalizedRecoverySuggestion=Unable to open liblaunch_sim.dylib.  Try reinstalling Xcode or the simulator
    runtime., NSLocalizedFailureReason=failed to open liblaunch_sim.dylib},
        iOS 14.0 (14.0 - 18A5357e) - com.apple.CoreSimulator.SimRuntime.iOS-14-0 (unavailable, failed to open
        liblaunch_sim.dylib) ==> not available: Error Domain=com.apple.CoreSimulator.SimError Code=401 "The iOS 14.0
        simulator runtime is not available." UserInfo={NSLocalizedDescription=The iOS 14.0 simulator runtime is not
        available., NSUnderlyingError=0x7f8b99381750 {Error Domain=NSPOSIXErrorDomain Code=53 "Software caused
        connection abort" UserInfo={NSLocalizedFailureReason=XPC error talking to SimLaunchHostService: <dictionary:
        0x7fff8ccd5a10> { count = 1, transaction: 0, voucher = 0x0, contents =
    	"XPCErrorDescription" => <string: 0x7fff8ccd5b78> { length = 18, contents = "Connection invalid" }
    }}}, NSLocalizedRecoverySuggestion=Unable to open liblaunch_sim.dylib.  Try reinstalling Xcode or the simulator
    runtime., NSLocalizedFailureReason=failed to open liblaunch_sim.dylib},
    ] when matching for <IBCocoaTouchPlatformToolDescription: 0x7f8b97448940> System content for
    IBCocoaTouchFramework-fourteenAndLater <IBScaleFactorDeviceTypeDescription: 0x7f8b965da6b0> scaleFactor=2x,
    renderMode.identifier=(null), idiom=<IBIPhoneIdiom: 0x7f8b991a00b0> runtime=<IBCocoaTouchTargetRuntime:
    0x7f8b9711ecb0>
    /* com.apple.actool.document.notices */
    /Users/asiva/gallery/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][]: notice:
    76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
    /* com.apple.actool.compilation-results */
    /Users/asiva/Library/Developer/Xcode/DerivedData/Runner-btnpxeishjcrvnadyfkhhieasegu/Build/Intermediates.noindex
    /Runner.build/Release-iphoneos/Runner.build/assetcatalog_generated_info.plist
    /Users/asiva/gallery/build/ios/Release-iphoneos/Runner.app/AppIcon60x60@2x.png
    /Users/asiva/gallery/build/ios/Release-iphoneos/Runner.app/AppIcon76x76@2x~ipad.png_

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 3, 2020
@TahaTesser TahaTesser added e: OS-version specific Affects only some versions of the relevant operating system platform-ios iOS applications specifically c: crash Stack traces logged to the console customer: gallery Relating to flutter/gallery repository. Please transfer non-framework issues there. tool Affects the "flutter" command-line tool. See also t: labels. passed first triage labels Sep 4, 2020
@pcsosinski pcsosinski added this to the 1.22 - August 2020 milestone Sep 14, 2020
@pcsosinski
Copy link

adding this to the 1.22 milestone as we'll need it in that release when it is done.

@xster
Copy link
Member

xster commented Sep 21, 2020

@a-siva can you try flutter run against a physical iOS device from the ARM host? @jonahwilliams I suspect the issue here is just that we're probably making assumptions that simulator implies x86 in the tool.

@jonahwilliams
Copy link
Member

That's correct, we currently assume emulator = x86 and specifically map the ABIs to that. I know we need to make some plumbing changes, but without a machine to test or anything in CI its unlikely we can make the correct changes

@xster
Copy link
Member

xster commented Sep 21, 2020

@a-siva any chance we can ship around the device a bit since we're all in the same town? Might be easier to get us moving on these issues.

@a-siva
Copy link
Contributor Author

a-siva commented Sep 21, 2020

@a-siva can you try flutter run against a physical iOS device from the ARM host? @jonahwilliams I suspect the issue here is just that we're probably making assumptions that simulator implies x86 in the tool.

I will try that today and report back.

@a-siva any chance we can ship around the device a bit since we're all in the same town? Might be easier to get us moving on these issues.

That is definitely a possibility, there was some discussion around this and @zanderso seemed to indicate that he is looking at getting a machine setup in the lab that folks could access remotely.

@jmagman jmagman added the P2 Important issues not at the top of the work list label Sep 22, 2020
@godofredoc
Copy link
Contributor

I finally was able to get the machine. What is the expected configuration for the test bed using that machine? e.g. mac/ios mac/android or just mac.

@godofredoc
Copy link
Contributor

Test bed configuration is complete.

@jmagman
Copy link
Member

jmagman commented Oct 1, 2020

I bet Xcode command line tools don't like being run in rosetta mode?
Screen Shot 2020-10-01 at 1 46 33 PM

Failure Reason: IBAgent-iOS exited before we could handshake

@jmagman
Copy link
Member

jmagman commented Oct 1, 2020

Hmm, no, same error when I run xcodebuild directly. I removed the AppIcon.appiconset from the project (and the build setting referencing it), then xcodebuild and it worked. And then I reset everything back with no additional changes it still worked...
https://stackoverflow.com/a/33278534

And there she is (turned sideways in the lab!)
Screen Shot 2020-10-01 at 2 58 10 PM

@zanderso
Copy link
Member

zanderso commented Oct 1, 2020

So the need to clean and re-build is probably not a tool issue?

@jmagman
Copy link
Member

jmagman commented Oct 1, 2020

When the crash is reproducing, it fails from flutter, Xcode, and xcodebuild.
Just cleaning and rebuilding wasn't enough to prevent the crashes, I had to remove the App Icon from the project and then re-add it. So no, it's not a tool issue.

The next steps are to figure out how to work around a IBCocoaTouchImageCatalogTool and IBAgent-iOS crash in the tool I guess?

@jmagman
Copy link
Member

jmagman commented Oct 1, 2020

A flutter clean makes it reproduce again.

@jmagman jmagman changed the title Flutter Gallery app does not build/run on the new macOS hardware for deploying to an iOS 13.6.1 device "flutter build ios" fails on ARM macOS, ibtoold crashes compiling xcassets/storyboards Oct 13, 2020
@jmagman
Copy link
Member

jmagman commented Oct 13, 2020

It seems to work when I prepend /usr/bin/arch -arm64 to commands we need to run in non-Rosetta mode. So at a minimum, all the xcrun commands.

@jmagman
Copy link
Member

jmagman commented Oct 15, 2020

Reopening based on @alexmarkley testing at #68050 (comment)
Filed #68167 to upgrade our lab DTK, then I'll test again.

@jmagman
Copy link
Member

jmagman commented Oct 27, 2020

Request for Apple Silicon support cherry-pick (in order)
#65978
#67970
#68050
#68855

@github-actions
Copy link

github-actions bot commented Aug 9, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: crash Stack traces logged to the console customer: gallery Relating to flutter/gallery repository. Please transfer non-framework issues there. e: OS-version specific Affects only some versions of the relevant operating system P2 Important issues not at the top of the work list platform-ios iOS applications specifically tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
8 participants