Open mazab99 opened 2 months ago
@mazab99
Can you provide complete exception log in properly formatted text along with flutter doctor -v
?
mahmoudazab@192 jalisa_user % flutter create .
Oops; flutter has exited unexpectedly: "ProcessException: Process exited abnormally with exit code -10:
Command: xcrun xcodebuild -list". A crash report has been written to /Volumes/D/Programming/My Work/Flutter Apps/HighQ Apps/1 - Clean Arch/jalisa_user/flutter_01.log This crash may already be reported. Check GitHub for similar crashes. https://github.com/flutter/flutter/issues?q=is%3Aissue+ProcessException%3A+Process+exited+abnormally+with+exit+code+-10%3A%0A%0A++Command%3A+xcrun+xcodebuild+-list
To report your crash to the Flutter team, first read the guide to filing a bug. https://flutter.dev/docs/resources/bug-reports
jalisa_user/flutter_01.log
Provide this log file. The url you shared isn't the actual crash and I can't access it. Please provide the requested details properly.
flutter create .
ProcessException: ProcessException: Process exited abnormally with exit code -10:
Command: xcrun xcodebuild -list
#0 RunResult.throwException (package:flutter_tools/src/base/process.dart:125:5)
#1 _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart:321:19)
<asynchronous suspension>
#2 XcodeProjectInterpreter.getInfo (package:flutter_tools/src/ios/xcodeproj.dart:342:30)
<asynchronous suspension>
#3 IosProject.projectInfo (package:flutter_tools/src/xcode_project.dart:452:29)
<asynchronous suspension>
#4 IosProject.productBundleIdentifier (package:flutter_tools/src/xcode_project.dart:253:36)
<asynchronous suspension>
#5 FlutterProject.organizationNames (package:flutter_tools/src/project.dart:143:42)
<asynchronous suspension>
#6 CreateBase.getOrganization (package:flutter_tools/src/commands/create_base.dart:258:49)
<asynchronous suspension>
#7 CreateCommand.runCommand (package:flutter_tools/src/commands/create.dart:261:33)
<asynchronous suspension>
#8 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1394:27)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#10 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#11 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:372:9)
<asynchronous suspension>
#12 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#13 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:308:5)
<asynchronous suspension>
#14 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#15 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#16 main (package:flutter_tools/executable.dart:93:3)
<asynchronous suspension>
[33m[!][39m Flutter (Channel stable, 3.22.2, on macOS 14.4 23E214 darwin-x64, locale en-EG)
[32m•[39m Flutter version 3.22.2 on channel stable at /Users/mahmoudazab/Developer/flutter
[33m![39m Warning: `dart` on your path resolves to /usr/local/Cellar/dart/3.3.4/libexec/bin/dart, which is not inside
your current Flutter SDK checkout at /Users/mahmoudazab/Developer/flutter. Consider adding
/Users/mahmoudazab/Developer/flutter/bin to the front of your path.
[32m•[39m Upstream repository https://github.com/flutter/flutter.git
[32m•[39m Framework revision 761747bfc5 (7 days ago), 2024-06-05 22:15:13 +0200
[32m•[39m Engine revision edd8546116
[32m•[39m Dart version 3.4.3
[32m•[39m DevTools version 2.34.3
[32m•[39m If those were intentional, you can disregard the above warnings; however it is recommended to use "git"
directly to perform update checks and upgrades.
[32m[✓][39m Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[32m•[39m Android SDK at /Users/mahmoudazab/Library/Android/sdk
[32m•[39m Platform android-34, build-tools 34.0.0
[32m•[39m Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
[32m•[39m Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
[32m•[39m All Android licenses accepted.
[32m[✓][39m Xcode - develop for iOS and macOS (Xcode 15.3)
[32m•[39m Xcode at /Applications/Xcode.app/Contents/Developer
[32m•[39m Build 15E204a
[32m•[39m CocoaPods version 1.15.2
[31m[✗][39m Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google
Chrome.app/Contents/MacOS/Google Chrome)
[33m![39m Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[32m[✓][39m Android Studio (version 2023.3)
[32m•[39m Android Studio at /Applications/Android Studio.app/Contents
[32m•[39m Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
[32m•[39m Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[32m•[39m Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
[32m[✓][39m VS Code (version 1.90.0)
[32m•[39m VS Code at /Applications/Visual Studio Code.app/Contents
[32m•[39m Flutter extension version 3.90.0
[32m[✓][39m VS Code (version 1.88.1)
[32m•[39m VS Code at /Volumes/D/Mahmoud/Programs/IOS/Mac/Visual Studio Code.app/Contents
[32m•[39m Flutter extension version 3.90.0
[32m[✓][39m Connected device (2 available)
[32m•[39m sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 14 (API 34) (emulator)
[32m•[39m macOS (desktop) • macos • darwin-x64 • macOS 14.4 23E214 darwin-x64
[32m[✓][39m Network resources
[32m•[39m All expected network resources are available.
[33m![39m Doctor found issues in 2 categories.
Keeping the issue open based on the tool crash report.
flutter create .
Oops; flutter has exited unexpectedly: "ProcessException: Process exited abnormally with exit code -10:
Command: xcrun xcodebuild -list".