-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: buildBuilding flutter applications with the toolBuilding flutter applications with the toolplatform-iosiOS applications specificallyiOS applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Hello,
I am using latest flutter 2.5.1
after upgrading to latest flutter i cannot run applcation via VSCode on iOS simulator (it runs perfectly from XCode)
I have tried everything i know, went through similar topics on your github and stackoverlfow, updated pub, deleted cache, flutter clean everything...
Still i get same error:
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro.
here is flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.5.2 20G95 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.60.1)
[✓] Connected device (2 available)
• No issues found!
here is error and stack trace with --verbose flag
[+8986 ms] Could not build the application for the simulator.
[ ] Error launching application on iPhone 11 Pro.
[ +6 ms] "flutter run" took 101,667ms.
[ +4 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:669:9)
<asynchronous suspension>
#2 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
<asynchronous suspension>
#3 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
<asynchronous suspension>
#8 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#10 main (package:flutter_tools/executable.dart:92:3)
<asynchronous suspension>
jeffaknine and aboutmydreams
Metadata
Metadata
Assignees
Labels
a: buildBuilding flutter applications with the toolBuilding flutter applications with the toolplatform-iosiOS applications specificallyiOS applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.