-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Steps to Reproduce
flutter create test_run- Replace
ios/Runner/AppDelegate.swiftwith asserting code:
import UIKit
import Flutter
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
assert(false, "Crashing for no reason");
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}flutter run -d <>
See the app crash on the device but flutter run never exits and is stuck on "Installing and launching".
Logs
$ flutter run -d d83d5bc53967baa0ee18626ba87b6254b2ab5418
Launching lib/main.dart on Flutter iOS Device in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: S8QB4VV633
Running pod install... 1.8s
Running Xcode build...
├─Assembling Flutter resources... 2.7s
└─Compiling, linking and signing... 6.8s
Xcode build done. 12.8s
Installing and launching... ⣯
$ flutter doctor -v
[✓] Flutter (Channel master, v1.12.1-pre.59, on Mac OS X 10.14.6 18G87, locale en-US)
• Flutter version 1.12.1-pre.59 at /Users/m/Projects/flutter
• Framework revision 6cb6857f92 (2 hours ago), 2019-11-14 16:50:17 -0500
• Engine revision 77c3512ec8
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/m/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
• Xcode at /Users/m/Applications/Xcode-11_2.app/Contents/Developer
• Xcode 11.2, Build version 11B41
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 40.2.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] IntelliJ IDEA Community Edition (version 2019.2.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 41.1.3
• Dart plugin version 192.7402
[✓] VS Code (version 1.39.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.6.0
[✓] Connected device (2 available)
• Flutter iOS Device • d83d5bc53967baa0ee18626ba87b6254b2ab5418 • ios • iOS 13.1.3
• iPhone 11 Pro Max • 389148FB-E436-4F8B-B37A-8564AF1627C0 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)
• No issues found!
kainosk, vagrantrobbie, tomwyr, jrmiddle, 656E6573 and 14 more
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team